Logging: disable the verbose DKIM verification line by default; add a tag to <= lines.
[exim.git] / test / confs / 4500
1 # Exim test configuration 4500
2
3 SERVER=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12 acl_smtp_dkim = check_dkim
13
14 log_selector = +dkim_verbose
15
16 queue_only
17 queue_run_in_order
18
19
20 begin acl
21
22 check_dkim:
23 .ifdef BAD
24   warn  logwrite =      ${lookup dnsdb{defer_never,txt=_adsp._domainkey.$dkim_cur_signer}{$value}{unknown}}
25 .endif
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
33   warn
34         logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
35 .ifndef STRICT
36   accept
37 .endif
38
39 # End