Only enable milter for incoming emails

master
Pierre Jaury 6 years ago
parent 069fe195e0
commit cfd233039e

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

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

Loading…
Cancel
Save