summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-09 15:30:41 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-09 15:30:41 +0200
commit45599ef1a9743497e0deef38eef834ca30462338 (patch)
treedd06a5a73accc4e14b8eb415a3196bb6aa7590aa /postfix
parent4f65194e7746f3fa5233abb60da593f655a1cf9f (diff)
tidy: set receive_override_options=no_address_mappings independently of dkimproxy
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 4d3a031..67e0797 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -344,9 +344,9 @@ amavisfeed unix - - n - $amavis_maxproc lmtp
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
'
+ _postconf -e receive_override_options=no_address_mappings
if [ -n "$dkimproxy" ]; then
_postconf -e 'content_filter = amavisfeed:[127.0.0.1]:10028'
- _postconf -e receive_override_options=no_address_mappings
_postconf -Me submission/inet='
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
@@ -377,7 +377,6 @@ dkimsign unix - - n - $dkimproxy_maxproc_out smtp
'
else
_postconf -e 'content_filter = amavisfeed:[127.0.0.1]:10024'
- _postconf -e 'receive_override_options = no_address_mappings'
_postconf -Me submission/inet='
submission inet n - n - - smtpd
-o syslog_name=postfix/submission