2014-11-03 15:05:19 +00:00
|
|
|
dovecot unix - n n - - pipe
|
2015-10-02 13:07:59 +00:00
|
|
|
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
|
2014-11-03 15:05:19 +00:00
|
|
|
|
|
|
|
# we need to be permissive with the helo restrictions since the client can only
|
|
|
|
# authenticate after HELO has been sent
|
|
|
|
submission inet n - n - - smtpd
|
|
|
|
-o smtpd_etrn_restrictions=reject
|
2016-10-10 15:58:32 +00:00
|
|
|
-o smtpd_tls_security_level=may
|
2014-11-03 15:05:19 +00:00
|
|
|
-o smtpd_sasl_type=dovecot
|
|
|
|
-o smtpd_sasl_path=private/auth
|
|
|
|
-o smtpd_sasl_auth_enable=yes
|
|
|
|
-o smtpd_helo_restrictions=permit
|
|
|
|
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
|
|
|
|
-o smtpd_sender_restrictions=permit_sasl_authenticated,reject
|
|
|
|
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
|
2015-07-08 09:06:43 +00:00
|
|
|
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
|
2015-10-02 13:07:59 +00:00
|
|
|
|
|
|
|
spamassassin unix - n n - - pipe
|
|
|
|
user=vmail:vmail argv=/usr/bin/spamc -f -e
|
|
|
|
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
|