Disable DKIM verification for sent messages.

This commit is contained in:
Zhang Huangbin
2025-07-13 00:15:03 +08:00
parent ece78d6977
commit 61891d23ac
+3
View File
@@ -49,6 +49,7 @@ $policy_bank{'MYNETS'} = { # mail originating from @mynetworks
os_fingerprint_method => undef, # don't query p0f for internal clients
allow_disclaimers => 1, # enables disclaimer insertion if available
enable_dkim_signing => 1,
enable_dkim_verification => 0,
};
# Postfix will re-route mail from authenticated users to this port.
@@ -57,6 +58,7 @@ $policy_bank{'ORIGINATING'} = {
originating => 1, # declare that mail was submitted by our smtp client
allow_disclaimers => 1, # enables disclaimer insertion if available
enable_dkim_signing => 1,
enable_dkim_verification => 0,
# notify administrator of locally originating malware
spam_admin_maps => ["root\@$mydomain"],
@@ -84,6 +86,7 @@ $policy_bank{'MLMMJ'} = {
originating => 1, # declare that mail was submitted by our smtp client
allow_disclaimers => 0, # we use 'mlmmj-amime-receive' program to handle disclaimer/footer
enable_dkim_signing => 1, # enable DKIM signing for outbound
enable_dkim_verification => 0,
virus_admin_maps => ["root\@$mydomain"],
spam_admin_maps => ["root\@$mydomain"],
smtpd_discard_ehlo_keywords => ['8BITMIME'],