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
26 warn logwrite = ${lookup dnsdb{defer_never,txt=_adsp._domainkey.$dkim_cur_signer}{$value}{unknown}}
29 warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
30 condition = ${if eq {$dkim_verify_status}{pass}}
31 logwrite = NOTE: forcing dkim verify fail (was pass)
32 set dkim_verify_status = fail
33 set dkim_verify_reason = hash too weak
36 logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
42 accept logwrite = ${authresults {$primary_hostname}}