aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bounces/yahoo_12.txt18
-rw-r--r--tests/test_bounces.py1
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/bounces/yahoo_12.txt b/tests/bounces/yahoo_12.txt
new file mode 100644
index 00000000..8b266c04
--- /dev/null
+++ b/tests/bounces/yahoo_12.txt
@@ -0,0 +1,18 @@
+From: MAILER-DAEMON@yahoo.com
+To: list-bounces@lists.example.org
+Message-ID: <1724157855.37526491587724620658.JavaMail.yahoo@mpq204.consmr.mail.bf2.yahoo.com>
+MIME-Version: 1.0
+Content-Type: text/html; charset="utf-8"
+Content-Transfer-Encoding: 7bit
+Message-ID-Hash: NMFBS7K2KRA44XW6KCW6CW6NNKCXESHM
+X-Message-ID-Hash: NMFBS7K2KRA44XW6KCW6CW6NNKCXESHM
+X-MailFrom: MAILER-DAEMON@yahoo.com
+
+I'm afraid I wasn't able to deliver the following message.
+This is a permanent error; I've given up. Sorry it didn't work out.
+
+Subject: [List] Re: Name for MP3 Folder
+To: user@yahoo.com
+
+---Below this line is a copy of the message.
+
diff --git a/tests/test_bounces.py b/tests/test_bounces.py
index 2f814428..3ddde6b6 100644
--- a/tests/test_bounces.py
+++ b/tests/test_bounces.py
@@ -84,6 +84,7 @@ class BounceTest(unittest.TestCase):
('SimpleMatch', 'simple_41.txt', ['userx@example.com']),
('SimpleMatch', 'bounce_02.txt', ['userx@example.com']),
('SimpleMatch', 'bounce_03.txt', ['userx@example.uk']),
+ ('SimpleMatch', 'yahoo_12.txt', ['user@yahoo.com']),
# SimpleWarning
('SimpleWarning', 'simple_03.txt', Stop),
('SimpleWarning', 'simple_21.txt', Stop),