diff options
-rw-r--r-- | conf.d/020_acl.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/020_acl.conf b/conf.d/020_acl.conf index fe609f3..3ec1532 100644 --- a/conf.d/020_acl.conf +++ b/conf.d/020_acl.conf | |||
@@ -42,7 +42,7 @@ acl_check_rcpt_host_policy: | |||
42 | 42 | ||
43 | # Deny messages from hosts known to be bad. | 43 | # Deny messages from hosts known to be bad. |
44 | deny dnslists = sbl-xbl.spamhaus.org : bl.spamcop.net | 44 | deny dnslists = sbl-xbl.spamhaus.org : bl.spamcop.net |
45 | set acl_m_msg = Rejected: $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text | 45 | set acl_m_msg = [RBL] $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text |
46 | 46 | ||
47 | # Accept if the host is an authorized sender according to the SPF policy for the domain (SPF pass). | 47 | # Accept if the host is an authorized sender according to the SPF policy for the domain (SPF pass). |
48 | accept set acl_m_spf = ${run{SPF_QUERY_COMMAND \ | 48 | accept set acl_m_spf = ${run{SPF_QUERY_COMMAND \ |
@@ -62,7 +62,7 @@ acl_check_rcpt_host_policy: | |||
62 | 62 | ||
63 | # Deny messages from hosts listed as non-MTA in the PBL, for which SPF couldn't determine a policy. | 63 | # Deny messages from hosts listed as non-MTA in the PBL, for which SPF couldn't determine a policy. |
64 | deny dnslists = pbl.spamhaus.org | 64 | deny dnslists = pbl.spamhaus.org |
65 | set acl_m_msg = Rejected: $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text | 65 | set acl_m_msg = [RBL] $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text |
66 | 66 | ||
67 | accept | 67 | accept |
68 | 68 | ||
@@ -163,8 +163,8 @@ acl_mta_dkim: | |||
163 | message = [DKIM] invalid signature ($dkim_verify_reason). | 163 | message = [DKIM] invalid signature ($dkim_verify_reason). |
164 | 164 | ||
165 | deny dkim_status = none | 165 | deny dkim_status = none |
166 | set_acl_m_dns = ${run{DIG_QUERY_COMMAND +short TXT ${quote:_domainkey.$sender_host_address}}} | 166 | set_acl_m_ddk = ${run{DIG_QUERY_COMMAND +short TXT ${quote:_domainkey.$sender_host_address}}} |
167 | condition = ${if match {$acl_m_dns}{/o=-/} {yes}{no}} | 167 | condition = ${if match {$acl_m_ddk}{/o=-/} {yes}{no}} |
168 | message = [DKIM] required signature for $sender_host_address is missing. | 168 | message = [DKIM] required signature for $sender_host_address is missing. |
169 | 169 | ||
170 | accept | 170 | accept |