X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=test%2Fscripts%2F4500-DKIM%2F4520;h=406db39a5c00b3324baa87e045ffbb850bb479a6;hb=617d39327e65b7fccc41a12b4a5e2940d6327c9f;hp=3e58799729613ce5db6d1dadd03f619cb068d152;hpb=9e70917d0aa5e51f584b2af69ce80df458ac5c79;p=exim.git diff --git a/test/scripts/4500-DKIM/4520 b/test/scripts/4500-DKIM/4520 index 3e5879972..406db39a5 100644 --- a/test/scripts/4500-DKIM/4520 +++ b/test/scripts/4500-DKIM/4520 @@ -15,6 +15,39 @@ content exim -DOPT=From:From -odf b@test.ex From: nobody@example.com +content +**** +# +# no header, multi-sign +exim -DOPT=From:=X-Mine -odf b10@test.ex +From: nobody@example.com + +content +**** +# +# double header, multi-sign +exim -DOPT=From:=X-Mine -odf b12@test.ex +From: nobody@example.com +X-mine: one +X-mine: two + +content +**** +# +# +# no header, always-oversign +exim -DOPT=+X-Mine -odf b20@test.ex +From: nobody@example.com + +content +**** +# +# double header, always-oversign +exim -DOPT=+X-Mine -odf b22@test.ex +From: nobody@example.com +X-mine: one +X-mine: two + content **** # @@ -29,6 +62,13 @@ content exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex From: nobody@example.com +content +**** +# +# check that an empty dkim_privatekey overrides dkim_strict +exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf a@test.ex +From: nobody@example.com + content **** #