Use common routine for building tagstring for dns-fail cache
[exim.git] / test / confs / 4500
... / ...
CommitLineData
1# Exim test configuration 4500
2
3SERVER=
4
5.include DIR/aux-var/std_conf_prefix
6
7primary_hostname = myhost.test.ex
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12acl_smtp_dkim = check_dkim
13
14queue_only
15queue_run_in_order
16
17
18begin acl
19
20check_dkim:
21.ifdef OPTION
22 warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
23 condition = ${if eq {$dkim_verify_status}{pass}}
24 logwrite = NOTE: forcing dkim verify fail (was pass)
25 set dkim_verify_status = fail
26 set dkim_verify_reason = hash too weak
27.endif
28 accept
29 logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
30
31# End