aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/bounces/yahoo_11.txt16
-rwxr-xr-xtests/test_bounces.py1
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']),