diff options
-rw-r--r-- | conf.d/040_transports.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d/040_transports.conf b/conf.d/040_transports.conf index 8d57ecc..94d9b88 100644 --- a/conf.d/040_transports.conf +++ b/conf.d/040_transports.conf | |||
@@ -21,6 +21,11 @@ remote_smtp: | |||
21 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} | 21 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} |
22 | 22 | ||
23 | 23 | ||
24 | # Sign outgoing mail with DKIM. | ||
25 | # Only mail sent by authenticated users is signed, leaving forwarded mail untouched. | ||
26 | # The "Sender" header is excluded from the signature process, allowing mailing list | ||
27 | # servers to forward messages without invalidating the signature. | ||
28 | # ref: https://www.spinics.net/lists/linux-media/msg138870.html | ||
24 | signed_smtp: | 29 | signed_smtp: |
25 | driver = smtp | 30 | driver = smtp |
26 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} | 31 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} |
@@ -29,6 +34,7 @@ signed_smtp: | |||
29 | dkim_private_key = DKIMDIR/$dkim_selector._domainkey.$dkim_domain.pem | 34 | dkim_private_key = DKIMDIR/$dkim_selector._domainkey.$dkim_domain.pem |
30 | dkim_canon = relaxed | 35 | dkim_canon = relaxed |
31 | dkim_strict = yes | 36 | dkim_strict = yes |
37 | dkim_sign_headers = ${filter{_DKIM_SIGN_HEADERS}{!eq{$item}{Sender}}} | ||
32 | 38 | ||
33 | 39 | ||
34 | # This transport is used for local delivery to user mailboxes in traditional | 40 | # This transport is used for local delivery to user mailboxes in traditional |