X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/484cc1a938bec2546c2475deecdd11d34866a257..f8382c5973eea89ec6013f9899941f2aeb4fb429:/test/scripts/4500-DKIM/4520?ds=sidebyside diff --git a/test/scripts/4500-DKIM/4520 b/test/scripts/4500-DKIM/4520 index 1bc4c6030..7c4831029 100644 --- a/test/scripts/4500-DKIM/4520 +++ b/test/scripts/4500-DKIM/4520 @@ -51,20 +51,35 @@ X-mine: two content **** # -# default header set -exim -DHEADERS_MAXSIZE=y -odf c@test.ex +## default header set +# cannot test that as it includes Date: so results in a varying signature +#exim -DHEADERS_MAXSIZE=y -odf c@test.ex +#From: nobody@example.com +# +#content +#**** +## +# check that on signing we warn in debug mode about verify problems +exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex From: nobody@example.com content **** # -# check that on signing we warn in debug mode about verify problems -exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex +# check that an empty dkim_privatekey overrides dkim_strict +exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf e@test.ex From: nobody@example.com content **** # +# single header signed, body line starting with dot +exim -DOPT=From -odf f@test.ex +From: nobody@example.com + +..content +**** +# millisleep 500 killdaemon no_msglog_check