SPF: promote from Experimental to mainline status
[exim.git] / test / confs / 4500
CommitLineData
6a11a9e6
JH
1# Exim test configuration 4500
2
3SERVER=
4
d4dc049f
JH
5.include DIR/aux-var/std_conf_prefix
6
6a11a9e6 7primary_hostname = myhost.test.ex
6a11a9e6
JH
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
a79d8834 12acl_smtp_dkim = check_dkim
6a11a9e6
JH
13
14queue_only
15queue_run_in_order
16
a79d8834
JH
17
18begin acl
19
20check_dkim:
ce93c6d8
JH
21.ifdef BAD
22 warn logwrite = ${lookup dnsdb{defer_never,txt=_adsp._domainkey.$dkim_cur_signer}{$value}{unknown}}
23.endif
a79d8834
JH
24.ifdef OPTION
25 warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
26 condition = ${if eq {$dkim_verify_status}{pass}}
27 logwrite = NOTE: forcing dkim verify fail (was pass)
28 set dkim_verify_status = fail
29 set dkim_verify_reason = hash too weak
30.endif
31 accept
32 logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
33
6a11a9e6 34# End