diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-04-09 15:08:34 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-04-09 15:25:54 +0100 |
commit | 0c2250d167e858666f6ab372fe34dbd9e682932d (patch) | |
tree | d8f18238ff20d8321846ba1d68efb2099480a376 /test/confs/4562 | |
parent | d341f2a27e689098e23c4eae2f78b59d053d5060 (diff) |
ARC: fix signing when DKIM-signing is also being done
The ordering of headers being signed was wrong when a message
being forwarded arrived with a dkim signature
Diffstat (limited to 'test/confs/4562')
-rw-r--r-- | test/confs/4562 | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/test/confs/4562 b/test/confs/4562 new file mode 100644 index 000000000..7adcd54f1 --- /dev/null +++ b/test/confs/4562 @@ -0,0 +1,75 @@ +# Exim test configuration 4562 + +SERVER= +VALUE= +INSERT= + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = check_data + +log_selector = +received_recipients +dkim_verbose +queue_only + +# ----- ACL ----- +begin acl + +check_data: + warn !verify = arc VALUE + INSERT + + warn logwrite = arc_state: <$arc_state> + condition = ${if def:arc_state_reason} + logwrite = reason: <$arc_state_reason> + +.ifdef OPTION + accept +.else + accept add_header = :at_start:${authresults {$primary_hostname}} +.endif + +# ----- Routers ----- + +begin routers + +d1: + driver = accept + local_parts = ^a + transport = tfile + +redir: + driver = redirect + data = ${substr_1:$local_part}@$domain + redirect_router = fwd + +fwd: + driver = accept + transport = tsmtp + +# ----- Transports ----- + +begin transports + +tfile: + driver = appendfile + file = DIR/test-mail/$local_part + user = CALLER + +tsmtp: + driver = smtp + hosts = 127.0.0.1 + port = PORT_D + allow_localhost + dkim_domain = $primary_hostname + dkim_selector = sel + dkim_private_key = DIR/aux-fixed/dkim/dkim.private +.ifndef OPTION + arc_sign = $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private +.endif + +# End |