content/blog/mail_server_alpine_postfix_dovecot_tutorial.md: stop double dkim signing

This commit is contained in:
revsuine 2024-11-23 04:02:06 +00:00
parent a758d1f370
commit 343a2d8f22
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -1283,6 +1283,9 @@ smtp-amavis unix - - n - 2 smtp
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
# avoid double dkim signing by setting smtpd_milters to empty
# otherwise will run all milters again after amavis
-o smtpd_milters=
```
The first block tells Postfix to send emails to Amavis, and the second block tells Postfix to run an extra smtpd daemon