diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:54:33 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:54:33 +0000 |
commit | 59371ea735c941334861aa5b8e1e9a06facf044f (patch) | |
tree | 79168561a70a94a3994fbe362b904ff9aab86136 /test/scripts/5000-maildir | |
parent | 54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e (diff) |
Hopefully the final lot of test files.
Diffstat (limited to 'test/scripts/5000-maildir')
-rw-r--r-- | test/scripts/5000-maildir/5000 | 58 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5001 | 9 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5002 | 41 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5003 | 71 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5004 | 4 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5005 | 21 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5006 | 5 | ||||
-rw-r--r-- | test/scripts/5000-maildir/REQUIRES | 1 |
8 files changed, 210 insertions, 0 deletions
diff --git a/test/scripts/5000-maildir/5000 b/test/scripts/5000-maildir/5000 new file mode 100644 index 000000000..5b763fcd3 --- /dev/null +++ b/test/scripts/5000-maildir/5000 @@ -0,0 +1,58 @@ +# exim quota + warn threshold with maildir +exim -odi userx +maildir:maildir_ +This is a test message +**** +write test-data 100x60 +maildir:maildir_ +++++ +**** +exim -odi userx <test-data +**** +exim -odi userx <test-data +**** +exim -odi userx +maildir:maildir_tagged_ +tag:S370 +This is a test message +**** +sleep 1 +exim -odi userx +maildir:maildir_tagged_ +tag:,S=370 +This is a test message +**** +sleep 1 +exim -odi userx +maildir:maildir_tagged_ +tag:${if eq{0}{1}{rhubarb}fail} +This is a test message +**** +sleep 1 +# deliberate syntax fail +exim -odi userx +maildir:maildir_tagged_ +tag:${if eq{0}{1}{rhubarb} +This is a test message +**** +sleep 1 +# overlongname +exim -odi userx +maildir:maildir_tagged_ +tag:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +This is a test message +**** +sleep 1 +exim -odi userx +maildir:maildir_taggedX_ +tag:,S=10694953:2,S +**** +exim -d-all+transport -odi userx +maildir:maildir_taggedX_ +tag:,S=412:2,S +**** diff --git a/test/scripts/5000-maildir/5001 b/test/scripts/5000-maildir/5001 new file mode 100644 index 000000000..febf214c2 --- /dev/null +++ b/test/scripts/5000-maildir/5001 @@ -0,0 +1,9 @@ +# create_file = belowhome +mkdir test-empty +ln -s ../test-empty test-mail/link +exim -odi maildir-userx maildir-usery maildir-userz maildir-sub1 maildir-sub2 maildir-sub3 +To: userx + +Testing. +**** +no_message_check diff --git a/test/scripts/5000-maildir/5002 b/test/scripts/5000-maildir/5002 new file mode 100644 index 000000000..8b4b85529 --- /dev/null +++ b/test/scripts/5000-maildir/5002 @@ -0,0 +1,41 @@ +# quota and maildir +exim -odi userx@test.ex +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +**** +exim -odi userx@test.ex +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +**** +exim -odi qqq +. +**** +exim -odi userx@test.ex +. +**** +no_msglog_check diff --git a/test/scripts/5000-maildir/5003 b/test/scripts/5000-maildir/5003 new file mode 100644 index 000000000..851052e38 --- /dev/null +++ b/test/scripts/5000-maildir/5003 @@ -0,0 +1,71 @@ +# quota and maildir with the maildir++ folder stuff +mkdir test-mail/dir1 test-mail/dir2 test-mail/dir3 +touch test-mail/dir1/maildirfolder test-mail/dir2/maildirfolder test-mail/dir3/maildirfolder +exim -odi dir1@test.ex +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +**** +exim -odi dir2@test.ex +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +**** +exim -odi dir3@test.ex +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +This is a message of a reasonable size. Fifty here. +**** +no_msglog_check +no_message_check diff --git a/test/scripts/5000-maildir/5004 b/test/scripts/5000-maildir/5004 new file mode 100644 index 000000000..7317f4223 --- /dev/null +++ b/test/scripts/5000-maildir/5004 @@ -0,0 +1,4 @@ +# maildir_format forced for address_file +exim -d -odi userx@test.ex +Testing +**** diff --git a/test/scripts/5000-maildir/5005 b/test/scripts/5000-maildir/5005 new file mode 100644 index 000000000..ea7ccc360 --- /dev/null +++ b/test/scripts/5000-maildir/5005 @@ -0,0 +1,21 @@ +# maildir with maildirsize for quota handling +exim -d -odi nofile@test.ex +Message for nofile +**** +# Create a maildir and put a quota/size file in it, but the quota in the +# transport will override the value. +mkdir DIR/test-mail/userx +write DIR/test-mail/userx/maildirsize +50S,2C +**** +# Now try some deliveries +exim -d -odi userx@test.ex +Short message +**** +exim -d -odi userx@test.ex +A slightly longer message +**** +exim -d -odi userx@test.ex +A slightly longer message +**** +no_msglog_check diff --git a/test/scripts/5000-maildir/5006 b/test/scripts/5000-maildir/5006 new file mode 100644 index 000000000..253ba1bba --- /dev/null +++ b/test/scripts/5000-maildir/5006 @@ -0,0 +1,5 @@ +# maildir with maildirsize when no quota set +exim -d -odi userx@test.ex +Short message +**** +no_msglog_check diff --git a/test/scripts/5000-maildir/REQUIRES b/test/scripts/5000-maildir/REQUIRES new file mode 100644 index 000000000..2b5a3c0ce --- /dev/null +++ b/test/scripts/5000-maildir/REQUIRES @@ -0,0 +1 @@ +transport appendfile/maildir |