Logging: disable the verbose DKIM verification line by default; add a tag to <= lines.
[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 13
2c47372f
JH
14log_selector = +dkim_verbose
15
6a11a9e6
JH
16queue_only
17queue_run_in_order
18
a79d8834
JH
19
20begin acl
21
22check_dkim:
ce93c6d8
JH
23.ifdef BAD
24 warn logwrite = ${lookup dnsdb{defer_never,txt=_adsp._domainkey.$dkim_cur_signer}{$value}{unknown}}
25.endif
a79d8834
JH
26.ifdef OPTION
27 warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
28 condition = ${if eq {$dkim_verify_status}{pass}}
29 logwrite = NOTE: forcing dkim verify fail (was pass)
30 set dkim_verify_status = fail
31 set dkim_verify_reason = hash too weak
32.endif
2c47372f 33 warn
a79d8834 34 logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
2c47372f
JH
35.ifndef STRICT
36 accept
37.endif
a79d8834 38
6a11a9e6 39# End