summaryrefslogtreecommitdiffabout
path: root/sieve
authorSergey Poznyakoff <gray@gnu.org.ua>2005-10-31 13:11:48 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-10-31 13:11:48 (GMT)
commit743c4945c96248bb4044c52b9f92ab9d5b1e9767 (patch) (side-by-side diff)
tree1a1de788ea05776c7abdf064908b67585de18065 /sieve
parent42a59a2fb37dd5f7b01e2d1d08405163d17c10ab (diff)
downloadmailutils-743c4945c96248bb4044c52b9f92ab9d5b1e9767.tar.gz
mailutils-743c4945c96248bb4044c52b9f92ab9d5b1e9767.tar.bz2
Updated to match the changes to reject action
Diffstat (limited to 'sieve') (more/less context) (ignore whitespace changes)
-rw-r--r--sieve/testsuite/Reject260
1 files changed, 133 insertions, 127 deletions
diff --git a/sieve/testsuite/Reject b/sieve/testsuite/Reject
index eab5e44..12f3187 100644
--- a/sieve/testsuite/Reject
+++ b/sieve/testsuite/Reject
@@ -35,53 +35,55 @@ ENVELOPE TO: <coyote@desert.example.org>
4:
-re
5: [0-9:=-]+
- 6:
+ 6: Content-Type: text/plain;charset=UTF-8
+ 7: Content-Transfer-Encoding: 8bit
+ 8:
-re
- 7: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from coyote@desert.example.org.
- 8: Message was refused by recipient's mail filtering program.
- 9: Reason given was as follows:
- 10:
- 11: I don't want to read these messages.
+ 9: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from coyote@desert.example.org.
+ 10: Message was refused by recipient's mail filtering program.
+ 11: Reason given was as follows:
12:
- 13: Regards.
- 14:
--re
- 15: [0-9:=-]+
- 16: Content-Type: message/delivery-status
- 17:
--re
- 18: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
--re
- 19: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 20: Final-Recipient: RFC822; foobar@nonexistent.net
- 21: Action: deleted
- 22: Disposition: automatic-action/MDN-sent-automatically;deleted
--re
- 23: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 24:
--re
- 25: [0-9:=-]+
- 26: Content-Type: message/rfc822
- 27:
- 28: From: coyote@desert.example.org
- 29: To: roadrunner@acme.example.com
- 30: Subject: I have a present for you
- 31: X-Caffeine: C8H10N4O2
- 32:
- 33: Look, I'm sorry about the whole anvil thing, and I really
- 34: didn't mean to try and drop it on you from the top of the
- 35: cliff. I want to try to make it up to you. I've got some
- 36: great birdseed over here at my place--top of the line
- 37: stuff--and if you come by, I'll have it all wrapped up
- 38: for you. I'm really sorry for all the problems I've caused
- 39: for you over the years, but I know we can work this out.
- 40:
- 41: --
- 42: Wile E. Coyote "Super Genius" coyote@desert.example.org
- 43:
--re
- 44: [0-9:=-]+
- 45:
+ 13: I don't want to read these messages.
+ 14:
+ 15: Regards.
+ 16:
+-re
+ 17: [0-9:=-]+
+ 18: Content-Type: message/delivery-status
+ 19:
+-re
+ 20: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
+-re
+ 21: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 22: Final-Recipient: RFC822; foobar@nonexistent.net
+ 23: Action: deleted
+ 24: Disposition: automatic-action/MDN-sent-automatically;deleted
+-re
+ 25: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 26:
+-re
+ 27: [0-9:=-]+
+ 28: Content-Type: message/rfc822
+ 29:
+ 30: From: coyote@desert.example.org
+ 31: To: roadrunner@acme.example.com
+ 32: Subject: I have a present for you
+ 33: X-Caffeine: C8H10N4O2
+ 34:
+ 35: Look, I'm sorry about the whole anvil thing, and I really
+ 36: didn't mean to try and drop it on you from the top of the
+ 37: cliff. I want to try to make it up to you. I've got some
+ 38: great birdseed over here at my place--top of the line
+ 39: stuff--and if you come by, I'll have it all wrapped up
+ 40: for you. I'm really sorry for all the problems I've caused
+ 41: for you over the years, but I know we can work this out.
+ 42:
+ 43: --
+ 44: Wile E. Coyote "Super Genius" coyote@desert.example.org
+ 45:
+-re
+ 46: [0-9:=-]+
+ 47:
END OF MESSAGE
ENVELOPE FROM: MAILER-DAEMON@nonexistent.net
ENVELOPE TO: <b1ff@de.res.example.com>
@@ -94,51 +96,53 @@ ENVELOPE TO: <b1ff@de.res.example.com>
4:
-re
5: [0-9:=-]+
- 6:
+ 6: Content-Type: text/plain;charset=UTF-8
+ 7: Content-Transfer-Encoding: 8bit
+ 8:
-re
- 7: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from b1ff@de.res.example.com.
- 8: Message was refused by recipient's mail filtering program.
- 9: Reason given was as follows:
- 10:
- 11: I don't want to read these messages.
+ 9: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from b1ff@de.res.example.com.
+ 10: Message was refused by recipient's mail filtering program.
+ 11: Reason given was as follows:
12:
- 13: Regards.
- 14:
--re
- 15: [0-9:=-]+
- 16: Content-Type: message/delivery-status
- 17:
--re
- 18: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
--re
- 19: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 20: Final-Recipient: RFC822; foobar@nonexistent.net
- 21: Action: deleted
- 22: Disposition: automatic-action/MDN-sent-automatically;deleted
--re
- 23: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 24:
--re
- 25: [0-9:=-]+
- 26: Content-Type: message/rfc822
- 27:
- 28: From: youcouldberich!@reply-by-postal-mail.invalid
- 29: To: rube@landru.example.edu
- 30: Subject: $$$ YOU, TOO, CAN BE A MILLIONAIRE! $$$
- 31: Date: TBD
- 32: X-Number: 0015
- 33:
- 34: YOU MAY HAVE ALREADY WON TEN MILLION DOLLARS, BUT I DOUBT
- 35: IT! SO JUST POST THIS TO SIX HUNDRED NEWSGROUPS! IT WILL
- 36: GUARANTEE THAT YOU GET AT LEAST FIVE RESPONSES WITH MONEY!
- 37: MONEY! MONEY! COLD HARD CASH! YOU WILL RECEIVE OVER
- 38: $20,000 IN LESS THAN TWO MONTHS! AND IT'S LEGAL!!!!!!!!!
- 39: !!!!!!!!!!!!!!!!!!111111111!!!!!!!11111111111!!1 JUST
- 40: SEND $5 IN SMALL, UNMARKED BILLS TO THE ADDRESSES BELOW!
- 41:
--re
- 42: [0-9:=-]+
+ 13: I don't want to read these messages.
+ 14:
+ 15: Regards.
+ 16:
+-re
+ 17: [0-9:=-]+
+ 18: Content-Type: message/delivery-status
+ 19:
+-re
+ 20: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
+-re
+ 21: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 22: Final-Recipient: RFC822; foobar@nonexistent.net
+ 23: Action: deleted
+ 24: Disposition: automatic-action/MDN-sent-automatically;deleted
+-re
+ 25: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 26:
+-re
+ 27: [0-9:=-]+
+ 28: Content-Type: message/rfc822
+ 29:
+ 30: From: youcouldberich!@reply-by-postal-mail.invalid
+ 31: To: rube@landru.example.edu
+ 32: Subject: $$$ YOU, TOO, CAN BE A MILLIONAIRE! $$$
+ 33: Date: TBD
+ 34: X-Number: 0015
+ 35:
+ 36: YOU MAY HAVE ALREADY WON TEN MILLION DOLLARS, BUT I DOUBT
+ 37: IT! SO JUST POST THIS TO SIX HUNDRED NEWSGROUPS! IT WILL
+ 38: GUARANTEE THAT YOU GET AT LEAST FIVE RESPONSES WITH MONEY!
+ 39: MONEY! MONEY! COLD HARD CASH! YOU WILL RECEIVE OVER
+ 40: $20,000 IN LESS THAN TWO MONTHS! AND IT'S LEGAL!!!!!!!!!
+ 41: !!!!!!!!!!!!!!!!!!111111111!!!!!!!11111111111!!1 JUST
+ 42: SEND $5 IN SMALL, UNMARKED BILLS TO THE ADDRESSES BELOW!
43:
+-re
+ 44: [0-9:=-]+
+ 45:
END OF MESSAGE
ENVELOPE FROM: MAILER-DAEMON@nonexistent.net
ENVELOPE TO: <bar@dontmailme.org>
@@ -151,48 +155,50 @@ ENVELOPE TO: <bar@dontmailme.org>
4:
-re
5: [0-9:=-]+
- 6:
+ 6: Content-Type: text/plain;charset=UTF-8
+ 7: Content-Transfer-Encoding: 8bit
+ 8:
-re
- 7: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from bar@dontmailme.org.
- 8: Message was refused by recipient's mail filtering program.
- 9: Reason given was as follows:
- 10:
- 11: I don't want to read these messages.
+ 9: The original message was received at [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* from bar@dontmailme.org.
+ 10: Message was refused by recipient's mail filtering program.
+ 11: Reason given was as follows:
12:
- 13: Regards.
- 14:
--re
- 15: [0-9:=-]+
- 16: Content-Type: message/delivery-status
- 17:
--re
- 18: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
--re
- 19: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 20: Final-Recipient: RFC822; foobar@nonexistent.net
- 21: Action: deleted
- 22: Disposition: automatic-action/MDN-sent-automatically;deleted
--re
- 23: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
- 24:
--re
- 25: [0-9:=-]+
- 26: Content-Type: message/rfc822
- 27:
- 28: Received: (from bar@dontmailme.org)
- 29: by dontmailme.org id fERKR9N16790
- 30: for foobar@nonexistent.net; Fri, 28 Dec 2001 22:18:08 +0200
- 31: Date: Fri, 28 Dec 2001 23:28:08 +0200
- 32: From: Bar <bar@dontmailme.org>
- 33: To: Foo Bar <foobar@nonexistent.net>
- 34: Message-Id: <200112232808.fERKR9N16790@dontmailme.org>
- 35: Subject: Coffee
- 36:
- 37: How about some coffee?
- 38:
--re
- 39: [0-9:=-]+
- 40:
+ 13: I don't want to read these messages.
+ 14:
+ 15: Regards.
+ 16:
+-re
+ 17: [0-9:=-]+
+ 18: Content-Type: message/delivery-status
+ 19:
+-re
+ 20: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]*
+-re
+ 21: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 22: Final-Recipient: RFC822; foobar@nonexistent.net
+ 23: Action: deleted
+ 24: Disposition: automatic-action/MDN-sent-automatically;deleted
+-re
+ 25: Last-Attempt-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]*
+ 26:
+-re
+ 27: [0-9:=-]+
+ 28: Content-Type: message/rfc822
+ 29:
+ 30: Received: (from bar@dontmailme.org)
+ 31: by dontmailme.org id fERKR9N16790
+ 32: for foobar@nonexistent.net; Fri, 28 Dec 2001 22:18:08 +0200
+ 33: Date: Fri, 28 Dec 2001 23:28:08 +0200
+ 34: From: Bar <bar@dontmailme.org>
+ 35: To: Foo Bar <foobar@nonexistent.net>
+ 36: Message-Id: <200112232808.fERKR9N16790@dontmailme.org>
+ 37: Subject: Coffee
+ 38:
+ 39: How about some coffee?
+ 40:
+-re
+ 41: [0-9:=-]+
+ 42:
END OF MESSAGE
FILE END
TEST END

Return to:

Send suggestions and report system problems to the System administrator.