Only enable milter for incoming emails

This commit is contained in:
Pierre Jaury
2018-06-02 10:33:58 +02:00
parent 069fe195e0
commit cfd233039e
2 changed files with 1 additions and 1 deletions

View File

@@ -97,7 +97,6 @@ unverified_recipient_reject_reason = Address lookup failure
# Milter # Milter
############### ###############
smtpd_milters = inet:{{ HOST_ANTISPAM }}
milter_protocol = 6 milter_protocol = 6
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen} milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_default_action = tempfail milter_default_action = tempfail

View File

@@ -3,6 +3,7 @@
# Exposed SMTP service # Exposed SMTP service
smtp inet n - n - - smtpd smtp inet n - n - - smtpd
-o smtpd_milters=inet:{{ HOST_ANTISPAM }}
# Internal SMTP service # Internal SMTP service
10025 inet n - n - - smtpd 10025 inet n - n - - smtpd