summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorpacien2019-08-21 19:02:11 +0200
committerpacien2019-08-21 19:10:31 +0200
commitb5d88fede5974a99261a5183263b018d6b46e2d4 (patch)
tree6506049b54cdd52cf157b49ba4b9c1a05d998d3d /conf.d
parent99c86fbcad0013c577ae020d2e65910ffbb44744 (diff)
downloadexim-b5d88fede5974a99261a5183263b018d6b46e2d4.tar.gz
acl: refactor dkim dns query acl
Diffstat (limited to 'conf.d')
-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