From 2e1198e3bb113ca718e144c3e37a5b8d40b555da Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 20 Mar 2013 18:32:32 -0700 Subject: Added recognition for another Yahoo bounce format. LP: #1157961 --- tests/bounces/yahoo_11.txt | 16 ++++++++++++++++ tests/test_bounces.py | 1 + 2 files changed, 17 insertions(+) create mode 100644 tests/bounces/yahoo_11.txt (limited to 'tests') 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. + +: +Remote host said: 550 5.1.1 : 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. + +: + 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']), -- cgit v1.2.3