diff options
author | Mad Alex <alex.exim@madalex.me.uk> | 2019-01-30 13:57:36 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-01-30 13:59:52 +0000 |
commit | ae63862ba6f6ee0c17ec865cc6cf0eebb3ca2389 (patch) | |
tree | a0762735471d7ab4534ae211cc483e4029a000e6 /test/confs | |
parent | 3f9700ab53b9f4fa4a2667957afb249f5639da9d (diff) |
Fix dkim_verify_signers option. Bug 2366exim-4.92-jghexim-4.92-RC6exim-4.92
Testsuite coverage by jgh.
Broken-by: d342446f29
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/4508 | 33 | ||||
-rw-r--r-- | test/confs/4520 | 2 |
2 files changed, 34 insertions, 1 deletions
diff --git a/test/confs/4508 b/test/confs/4508 new file mode 100644 index 000000000..dae4a8aba --- /dev/null +++ b/test/confs/4508 @@ -0,0 +1,33 @@ +# Exim test configuration 4508 + +SERVER= + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_dkim = check_dkim +acl_smtp_data = check_data + +log_selector = +dkim_verbose +dkim_verify_signers = DYNAMIC_OPTION + +queue_only +queue_run_in_order + +# ----- ACL --------- + +begin acl + +check_dkim: + accept + logwrite = DKIM: acl called - signer: $dkim_cur_signer bits: $dkim_key_length + +check_data: + accept logwrite = overall \$dkim_verify_status: $dkim_verify_status + logwrite = ${authresults {$primary_hostname}} + +# End diff --git a/test/confs/4520 b/test/confs/4520 index 89769230f..1a8e34f9e 100644 --- a/test/confs/4520 +++ b/test/confs/4520 @@ -14,7 +14,7 @@ acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status -dkim_verify_signers = $dkim_signers : FAKE +dkim_verify_signers = $dkim_signers DDIR=DIR/aux-fixed/dkim |