summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/020_acl.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/conf.d/020_acl.conf b/conf.d/020_acl.conf
index 73a8fd3..fe609f3 100644
--- a/conf.d/020_acl.conf
+++ b/conf.d/020_acl.conf
@@ -163,9 +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 condition = ${if match \ 166 set_acl_m_dns = ${run{DIG_QUERY_COMMAND +short TXT ${quote:_domainkey.$sender_host_address}}}
167 {${run{DIG_QUERY_COMMAND +short TXT ${quote:_domainkey.$sender_host_address}}}}{/o=-/} \ 167 condition = ${if match {$acl_m_dns}{/o=-/} {yes}{no}}
168 {yes}{no}} 168 message = [DKIM] required signature for $sender_host_address is missing.
169 message = [DKIM] required signature is missing.
170 169
171 accept 170 accept