blob: f2e44beff244d7b059a8d65705154144b55049c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Exim test configuration 4500
SERVER=
.include DIR/aux-var/std_conf_prefix
primary_hostname = myhost.test.ex
# ----- Main settings -----
acl_smtp_rcpt = accept
acl_smtp_dkim = check_dkim
queue_only
queue_run_in_order
begin acl
check_dkim:
.ifdef OPTION
warn condition = ${if eq {$dkim_algo}{rsa-sha1}}
condition = ${if eq {$dkim_verify_status}{pass}}
logwrite = NOTE: forcing dkim verify fail (was pass)
set dkim_verify_status = fail
set dkim_verify_reason = hash too weak
.endif
accept
logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
# End
|