From e543477c2eb85442b45395b6c6f5396981b28327 Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sat, 2 Jun 2018 10:38:08 +0200 Subject: [PATCH] Revert "Only enable milter for incoming emails" This reverts commit cfd233039ee550449f3ed8ce3fbd154308f7a81d. --- core/postfix/conf/main.cf | 1 + core/postfix/conf/master.cf | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/postfix/conf/main.cf b/core/postfix/conf/main.cf index a3eb6132..2f2c6990 100644 --- a/core/postfix/conf/main.cf +++ b/core/postfix/conf/main.cf @@ -97,6 +97,7 @@ 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 diff --git a/core/postfix/conf/master.cf b/core/postfix/conf/master.cf index 85fc6cd4..cbcc5e56 100644 --- a/core/postfix/conf/master.cf +++ b/core/postfix/conf/master.cf @@ -3,7 +3,6 @@ # Exposed SMTP service smtp inet n - n - - smtpd - -o smtpd_milters=inet:{{ HOST_ANTISPAM }} # Internal SMTP service 10025 inet n - n - - smtpd