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