Only enable milter for incoming emails
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user