git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: fix testcase for SPF empty-mailfrom-use-helo. Bug 467
[users/heiko/exim.git]
/
test
/
scripts
/
0000-Basic
/
0428
diff --git
a/test/scripts/0000-Basic/0428
b/test/scripts/0000-Basic/0428
index d554c80d0f71a57b26b3d253d960992acb9348a3..24c1b12653d39a546539acc32c40cd26d04b2619 100644
(file)
--- a/
test/scripts/0000-Basic/0428
+++ b/
test/scripts/0000-Basic/0428
@@
-29,9
+29,10
@@
Filter: if true { stop; fileinto "inbox.never"; }
Test 7
****
# This should fileinto inbox.JUNK (99 equal 99):
Test 7
****
# This should fileinto inbox.JUNK (99 equal 99):
-exim -odi userx
+exim -odi userx
8
X-Sieve: 99
X-Sieve: 99
-Filter: require["fileinto","comparator-i;ascii-numeric"];
+
+ require["fileinto","comparator-i;ascii-numeric"];
if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
fileinto "inbox.JUNK";
stop;
if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
fileinto "inbox.JUNK";
stop;
@@
-39,9
+40,10
@@
Filter: require["fileinto","comparator-i;ascii-numeric"];
Test 8
****
# This should not fileinto inbox.JUNK (98 not equal 99):
Test 8
****
# This should not fileinto inbox.JUNK (98 not equal 99):
-exim -odi userx
+exim -odi userx
9
X-Sieve: 99
X-Sieve: 99
-Filter: require["fileinto","comparator-i;ascii-numeric"];
+
+ require["fileinto","comparator-i;ascii-numeric"];
if header :comparator "i;ascii-numeric" "X-Sieve" "98" {
fileinto "inbox.JUNK";
stop;
if header :comparator "i;ascii-numeric" "X-Sieve" "98" {
fileinto "inbox.JUNK";
stop;
@@
-49,9
+51,10
@@
Filter: require["fileinto","comparator-i;ascii-numeric"];
Test 9
****
# This should fileinto inbox.JUNK (99-suffix equal 99):
Test 9
****
# This should fileinto inbox.JUNK (99-suffix equal 99):
-exim -odi userx
+exim -odi userx
10
X-Sieve: 99-
X-Sieve: 99-
-Filter: require["fileinto","comparator-i;ascii-numeric"];
+
+ require["fileinto","comparator-i;ascii-numeric"];
if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
fileinto "inbox.JUNK";
stop;
if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
fileinto "inbox.JUNK";
stop;
@@
-59,9
+62,10
@@
Filter: require["fileinto","comparator-i;ascii-numeric"];
Test 10
****
# This should fileinto inbox.JUNK (non-numeric equal non-numeric):
Test 10
****
# This should fileinto inbox.JUNK (non-numeric equal non-numeric):
-exim -odi userx
+exim -odi userx
11
X-Sieve: -99
X-Sieve: -99
-Filter: require["fileinto","comparator-i;ascii-numeric"];
+
+ require["fileinto","comparator-i;ascii-numeric"];
if header :comparator "i;ascii-numeric" "X-Sieve" "-99" {
fileinto "inbox.JUNK";
stop;
if header :comparator "i;ascii-numeric" "X-Sieve" "-99" {
fileinto "inbox.JUNK";
stop;
@@
-69,9
+73,10
@@
Filter: require["fileinto","comparator-i;ascii-numeric"];
Test 11
****
# This should fileinto inbox.JUNK (non-numeric equal non-numeric):
Test 11
****
# This should fileinto inbox.JUNK (non-numeric equal non-numeric):
-exim -odi userx
+exim -odi userx
12
X-Sieve: -99
X-Sieve: -99
-Filter: require["fileinto","comparator-i;ascii-numeric"];
+
+ require["fileinto","comparator-i;ascii-numeric"];
if header :comparator "i;ascii-numeric" "X-Sieve" "-98" {
fileinto "inbox.JUNK";
stop;
if header :comparator "i;ascii-numeric" "X-Sieve" "-98" {
fileinto "inbox.JUNK";
stop;
@@
-79,16
+84,17
@@
Filter: require["fileinto","comparator-i;ascii-numeric"];
Test 12
****
# This is a simple test of "vacation"
Test 12
****
# This is a simple test of "vacation"
-exim -odi -f someone@test.ex userx
-To: userx@test.ex
-Filter: require ["vacation"];
+exim -odi -f someone@test.ex userx13
+To: userx13@test.ex
+
+ require ["vacation"];
vacation "I am gone. Not here.";
Test 13
****
# Test use of suffix
vacation "I am gone. Not here.";
Test 13
****
# Test use of suffix
-exim -odi -f someone@test.ex userx
-suffix userx
-suffix2
-To: userx-suffix@test.ex
-
Filter:
require ["envelope","fileinto"];
+exim -odi -f someone@test.ex userx
14-suffix userx14
-suffix2
+
+
require ["envelope","fileinto"];
if envelope :matches :localpart "to" "*-suffix" {
fileinto "userx-sawsuffix";
stop;
if envelope :matches :localpart "to" "*-suffix" {
fileinto "userx-sawsuffix";
stop;