diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 20:12:21 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 20:12:21 +0200 |
commit | ce016f5ce4d143a3674b8432c857e2fbae0661d6 (patch) | |
tree | 4d0b81340c65d13a877c8c476fbba3651ca5331e | |
parent | 4f19374528b83158701e4c86dce4ad8acf168983 (diff) |
drop filter services if unused
-rwxr-xr-x | postfix/postfix.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 8880b0b..34c9e70 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -403,6 +403,8 @@ dkimsign unix - - n - $dkimproxy_maxproc_out smtp -o smtpd_authorized_xforward_hosts=127.0.0.0/8 ' else + _postconf -MX dkimsign/unix + _postconf -MX 127.0.0.1:10029/inet _postconf -e 'content_filter = amavisfeed:[127.0.0.1]:10024' _postconf -PX pickup/fifo/content_filter if [ -n "$submission" ]; then @@ -411,6 +413,8 @@ dkimsign unix - - n - $dkimproxy_maxproc_out smtp fi fi else + _postconf -MX amavisfeed/unix + _postconf -MX 127.0.0.1:10025/inet _postconf -X content_filter _postconf -X receive_override_options fi |