Користувальницькькі налаштування

Налаштування сайту


sendmail

Запрет пересылки (RELAY)

/etc/mail/access

Аутентификация SMTP

"/etc/mail/sendmail.mc"
dnl FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
dnl
dnl  The following allows relaying if the user authenticates,
dnl  and disallows plaintext authentication (PLAIN/LOGIN) on
dnl  non-TLS links.
dnl
define(`confAUTH_OPTIONS', `A p y')dnl
dnl
dnl  Accept PLAIN and LOGIN authentications.
dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
dnl
dnl  Define paths to directory hosting certs of trusted certificate
dnl  authorities (like VeriSign) and path to local certificate.
dnl
define(`confCACERT_PATH',`/etc/ssl/certs/')dnl
define(`confCACERT',`/etc/ssl/certs/wombat.org.ua.crt')dnl
define(`localCERT', `/etc/ssl/certs/wombat.org.ua.pem')dnl
define(`confCLIENT_CERT',`localCERT')dnl
define(`confCLIENT_KEY',`localCERT')dnl
define(`confSERVER_CERT',`localCERT')dnl
define(`confSERVER_KEY',`localCERT')dnl
missing envelope from address
define(`LOCAL_SHELL_FLAGS', `eu9P')dnl
make -C /etc/mail
/etc/init.d/sendmail reload

VERP

Ссылки

sendmail.txt · В останнє змінено: 2013/11/08 13:23 by wombat