From 1b0b3a2b1e055200545143b697baae7b73b86aba Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sat, 2 Jun 2018 10:22:15 +0200 Subject: [PATCH] Only check login mismatch for authenticated users, fixes #309 --- core/postfix/conf/master.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/postfix/conf/master.cf b/core/postfix/conf/master.cf index d64645a1..cbcc5e56 100644 --- a/core/postfix/conf/master.cf +++ b/core/postfix/conf/master.cf @@ -7,7 +7,7 @@ smtp inet n - n - - smtpd # Internal SMTP service 10025 inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes - -o smtpd_recipient_restrictions=reject_unlisted_sender,reject_sender_login_mismatch,permit + -o smtpd_recipient_restrictions=reject_unlisted_sender,reject_authenticated_sender_login_mismatch,permit -o cleanup_service_name=outclean outclean unix n - n - 0 cleanup -o header_checks=pcre:/etc/postfix/outclean_header_filter.cf