diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-06-25 22:54:08 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-06-25 23:00:18 +0200 |
commit | d291c7670e4c370cdc4f631ea58f82c7f4f87823 (patch) | |
tree | a31abed23e38d6071b40b311420a31491edce01b /test | |
parent | 53d77ba6ef973fcbb4b0c17a60bc9229e45aa1ae (diff) |
Add quota/quota_filecount transport option modifier "no_check" Bug 1115
This option modifier allows to ignore the quota limits, but update
the maildirsize file.
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/5010 | 35 | ||||
-rw-r--r-- | test/confs/5011 | 35 | ||||
-rw-r--r-- | test/confs/5012 | 35 | ||||
-rw-r--r-- | test/log/5010 | 12 | ||||
-rw-r--r-- | test/log/5011 | 18 | ||||
-rw-r--r-- | test/log/5012 | 6 | ||||
-rw-r--r-- | test/mail/5010.maildirsize | 2 | ||||
-rw-r--r-- | test/mail/5010.new/1.myhost.test.ex | 17 | ||||
-rw-r--r-- | test/mail/5011.maildirsize | 2 | ||||
-rw-r--r-- | test/mail/5012.maildirsize | 3 | ||||
-rw-r--r-- | test/mail/5012.new/1.myhost.test.ex | 17 | ||||
-rw-r--r-- | test/mail/5012.new/2.myhost.test.ex | 28 | ||||
-rw-r--r-- | test/scripts/5000-maildir/5010 | 35 | ||||
l--------- | test/scripts/5000-maildir/5011 | 1 | ||||
l--------- | test/scripts/5000-maildir/5012 | 1 |
15 files changed, 247 insertions, 0 deletions
diff --git a/test/confs/5010 b/test/confs/5010 new file mode 100644 index 000000000..927f4a442 --- /dev/null +++ b/test/confs/5010 @@ -0,0 +1,35 @@ +# Exim test configuration 5010 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +qualify_domain = test.ex + + +# ----- Routers ----- + +begin routers + +all: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + directory = DIR/test-mail + maildir_format + quota = 30/no_check + quota_filecount = 1 + user = CALLER + maildir_use_size_file + +# End diff --git a/test/confs/5011 b/test/confs/5011 new file mode 100644 index 000000000..f1a19a85d --- /dev/null +++ b/test/confs/5011 @@ -0,0 +1,35 @@ +# Exim test configuration 5011 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +qualify_domain = test.ex + + +# ----- Routers ----- + +begin routers + +all: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + directory = DIR/test-mail + maildir_format + quota = 30 + quota_filecount = 1/no_check + user = CALLER + maildir_use_size_file + +# End diff --git a/test/confs/5012 b/test/confs/5012 new file mode 100644 index 000000000..f4715bfab --- /dev/null +++ b/test/confs/5012 @@ -0,0 +1,35 @@ +# Exim test configuration 5011 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +qualify_domain = test.ex + + +# ----- Routers ----- + +begin routers + +all: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + directory = DIR/test-mail + maildir_format + quota = 30/no_check + quota_filecount = 1/no_check + user = CALLER + maildir_use_size_file + +# End diff --git a/test/log/5010 b/test/log/5010 new file mode 100644 index 000000000..deaedc617 --- /dev/null +++ b/test/log/5010 @@ -0,0 +1,12 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx <userx@test.ex> R=all T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed filecount quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmaY-0005vi-00 ** userx@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= <> R=10HmaY-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 == CALLER@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed filecount quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmaZ-0005vi-00 ** CALLER@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaZ-0005vi-00 CALLER@test.ex: error ignored +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/log/5011 b/test/log/5011 new file mode 100644 index 000000000..e0c7efe99 --- /dev/null +++ b/test/log/5011 @@ -0,0 +1,18 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmaX-0005vi-00 ** userx@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaY-0005vi-00 <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 == CALLER@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmaY-0005vi-00 ** CALLER@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaY-0005vi-00 CALLER@test.ex: error ignored +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 == userx@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmaZ-0005vi-00 ** userx@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmbA-0005vi-00 <= <> R=10HmaZ-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbA-0005vi-00 == CALLER@test.ex R=all T=local_delivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex) +1999-03-02 09:44:33 10HmbA-0005vi-00 ** CALLER@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmbA-0005vi-00 CALLER@test.ex: error ignored +1999-03-02 09:44:33 10HmbA-0005vi-00 Completed +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed diff --git a/test/log/5012 b/test/log/5012 new file mode 100644 index 000000000..e2d436abc --- /dev/null +++ b/test/log/5012 @@ -0,0 +1,6 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx <userx@test.ex> R=all T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => userx <userx@test.ex> R=all T=local_delivery +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/mail/5010.maildirsize b/test/mail/5010.maildirsize new file mode 100644 index 000000000..f6a87c4bb --- /dev/null +++ b/test/mail/5010.maildirsize @@ -0,0 +1,2 @@ +30S,1C +ddd d diff --git a/test/mail/5010.new/1.myhost.test.ex b/test/mail/5010.new/1.myhost.test.ex new file mode 100644 index 000000000..4b8954864 --- /dev/null +++ b/test/mail/5010.new/1.myhost.test.ex @@ -0,0 +1,17 @@ +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@test.ex>) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaX-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +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. diff --git a/test/mail/5011.maildirsize b/test/mail/5011.maildirsize new file mode 100644 index 000000000..f6a87c4bb --- /dev/null +++ b/test/mail/5011.maildirsize @@ -0,0 +1,2 @@ +30S,1C +ddd d diff --git a/test/mail/5012.maildirsize b/test/mail/5012.maildirsize new file mode 100644 index 000000000..69ef86707 --- /dev/null +++ b/test/mail/5012.maildirsize @@ -0,0 +1,3 @@ +30S,1C +ddd d +ddd d diff --git a/test/mail/5012.new/1.myhost.test.ex b/test/mail/5012.new/1.myhost.test.ex new file mode 100644 index 000000000..4b8954864 --- /dev/null +++ b/test/mail/5012.new/1.myhost.test.ex @@ -0,0 +1,17 @@ +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@test.ex>) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaX-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +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. diff --git a/test/mail/5012.new/2.myhost.test.ex b/test/mail/5012.new/2.myhost.test.ex new file mode 100644 index 000000000..ffc6a3bf8 --- /dev/null +++ b/test/mail/5012.new/2.myhost.test.ex @@ -0,0 +1,28 @@ +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@test.ex>) + id 10HmaY-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaY-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +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. diff --git a/test/scripts/5000-maildir/5010 b/test/scripts/5000-maildir/5010 new file mode 100644 index 000000000..9d30c01c3 --- /dev/null +++ b/test/scripts/5000-maildir/5010 @@ -0,0 +1,35 @@ +# quota and maildir with no_check_support (5010, 5011, 5012) +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. +**** +no_msglog_check diff --git a/test/scripts/5000-maildir/5011 b/test/scripts/5000-maildir/5011 new file mode 120000 index 000000000..c95870fcb --- /dev/null +++ b/test/scripts/5000-maildir/5011 @@ -0,0 +1 @@ +5010
\ No newline at end of file diff --git a/test/scripts/5000-maildir/5012 b/test/scripts/5000-maildir/5012 new file mode 120000 index 000000000..c95870fcb --- /dev/null +++ b/test/scripts/5000-maildir/5012 @@ -0,0 +1 @@ +5010
\ No newline at end of file |