diff options
author | Mark Sapiro <msapiro@value.net> | 2013-03-20 18:32:32 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2013-03-20 18:32:32 -0700 |
commit | 2e1198e3bb113ca718e144c3e37a5b8d40b555da (patch) | |
tree | 7f66a997664d0d052a83ad720b5f5f4a44277243 /tests | |
parent | b056d1850e44ab2cb6827e2b1a4f0d451459e9eb (diff) | |
download | mailman2-2e1198e3bb113ca718e144c3e37a5b8d40b555da.tar.gz mailman2-2e1198e3bb113ca718e144c3e37a5b8d40b555da.tar.xz mailman2-2e1198e3bb113ca718e144c3e37a5b8d40b555da.zip |
Added recognition for another Yahoo bounce format. LP: #1157961
Diffstat (limited to '')
-rw-r--r-- | tests/bounces/yahoo_11.txt | 16 | ||||
-rwxr-xr-x | tests/test_bounces.py | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/bounces/yahoo_11.txt b/tests/bounces/yahoo_11.txt new file mode 100644 index 00000000..6e9692a6 --- /dev/null +++ b/tests/bounces/yahoo_11.txt @@ -0,0 +1,16 @@ +From: MAILER-DAEMON@yahoo.com +To: user@bellsouth.net +Date: Wed, 20 Feb 2013 15:50:26 -0000 +Subject: Failure Notice + +Sorry, we were unable to deliver your message to the following address. + +<bad_user@aol.com>: +Remote host said: 550 5.1.1 <bad_user@aol.com>: Recipient address rejected: aol.com [RCPT_TO] + +--- Below this line is a copy of the message. + +The following should not be found as we should have stopped looking. + +<bogus@dont.find.me.invalid>: + diff --git a/tests/test_bounces.py b/tests/test_bounces.py index 6bf51570..bb20578c 100755 --- a/tests/test_bounces.py +++ b/tests/test_bounces.py @@ -168,6 +168,7 @@ class BounceTest(unittest.TestCase): ('Yahoo', 'yahoo_10.txt', ['jajcchoo@yahoo.com', 'lyons94706@yahoo.com', 'turtle4jne@yahoo.com']), + ('Yahoo', 'yahoo_11.txt', ['bad_user@aol.com']), # sina.com appears to use their own weird SINAEMAIL MTA ('Sina', 'sina_01.txt', ['boboman76@sina.com', 'alan_t18@sina.com']), ('AOL', 'aol_01.txt', ['screenname@aol.com']), |