git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support REQUIRETLS
[exim.git]
/
test
/
scripts
/
4500-DKIM
/
4520
diff --git
a/test/scripts/4500-DKIM/4520
b/test/scripts/4500-DKIM/4520
index 406db39a5c00b3324baa87e045ffbb850bb479a6..8f962a001cebd1be91fcc7a235f72d841ccdc45b 100644
(file)
--- a/
test/scripts/4500-DKIM/4520
+++ b/
test/scripts/4500-DKIM/4520
@@
-11,8
+11,8
@@
From: second@example.com
content
****
#
content
****
#
-# single header, oversigned
-exim -DOPT=From:From -odf b@test.ex
+# single header, oversigned
, with timestamps
+exim -DOPT=From:From -
DTIMES=10 -
odf b@test.ex
From: nobody@example.com
content
From: nobody@example.com
content
@@
-51,13
+51,14
@@
X-mine: two
content
****
#
content
****
#
-# default header set
-exim -DHEADERS_MAXSIZE=y -odf c@test.ex
-From: nobody@example.com
-
-content
-****
+## 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
# 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
@@
-66,12
+67,19
@@
content
****
#
# check that an empty dkim_privatekey overrides dkim_strict
****
#
# check that an empty dkim_privatekey overrides dkim_strict
-exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf
a
@test.ex
+exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf
e
@test.ex
From: nobody@example.com
content
****
#
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
millisleep 500
killdaemon
no_msglog_check