1 # Exim test configuration 4500
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
12 acl_smtp_dkim = check_dkim
13 acl_smtp_data = check_data
15 log_selector = +dkim_verbose
16 dkim_verify_hashes = sha256 : sha512 : sha1
18 dkim_verify_min_keysizes = MSIZE
29 warn logwrite = ${lookup dnsdb{defer_never,txt=_adsp._domainkey.$dkim_cur_signer}{$value}{unknown}}
32 warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
33 condition = ${if eq {$dkim_verify_status}{pass}}
34 logwrite = NOTE: forcing dkim verify fail (was pass)
35 set dkim_verify_status = fail
36 set dkim_verify_reason = hash too weak
39 logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
45 accept logwrite = ${authresults {$primary_hostname}}