aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bounces/simple_38.txt70
-rw-r--r--tests/test_bounces.py1
2 files changed, 71 insertions, 0 deletions
diff --git a/tests/bounces/simple_38.txt b/tests/bounces/simple_38.txt
new file mode 100644
index 00000000..224a55e2
--- /dev/null
+++ b/tests/bounces/simple_38.txt
@@ -0,0 +1,70 @@
+Return-Path: <MAILER-DAEMON>
+Delivered-To: user@domain.com
+Received: from localhost (localhost [127.0.0.1])
+ by mail.domain.com (Postfix) with ESMTP id 7043958636E
+ for <user@domain.com>; Tue, 21 Dec 2010 14:05:59 -0600 (CST)
+X-Virus-Scanned: Debian amavisd-new at domain.com
+Received: from mail.domain.com ([127.0.0.1])
+ by localhost (mail.domain.com [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id GV6LC3VuoLKG for <user@domain.com>;
+ Tue, 21 Dec 2010 14:05:58 -0600 (CST)
+Received: by mail.domain.com (Postfix, from userid 5000)
+ id BD8D358639E; Tue, 21 Dec 2010 14:05:58 -0600 (CST)
+Message-ID: <dovecot-1292961958-380553-0@mail>
+Date: Tue, 21 Dec 2010 14:05:58 -0600
+From: Mail Delivery Subsystem <admin@domain.com>
+To: <user@domain.com>
+MIME-Version: 1.0
+Content-Type: multipart/report; report-type=disposition-notification;
+ boundary="15778/mail"
+Subject: Automatically rejected mail
+Auto-Submitted: auto-replied (rejected)
+Precedence: bulk
+
+This is a MIME-encapsulated message
+
+--15778/mail
+Content-Type: text/plain; charset=utf-8
+Content-Disposition: inline
+Content-Transfer-Encoding: 8bit
+
+Your message to <prueba@domain.com> was automatically rejected:
+Quota exceeded
+--15778/mail
+Content-Type: message/disposition-notification
+
+Reporting-UA: mail; Dovecot Mail Delivery Agent
+Final-Recipient: rfc822; prueba@domain.com
+Original-Message-ID: <2ee7df1322121930966bcc2318379726@localhost>
+Disposition: automatic-action/MDN-sent-automatically; deleted
+
+--15778/mail
+Content-Type: message/rfc822
+
+Return-Path: <user@domain.com>
+Delivered-To: prueba@domain.com
+Received: from localhost (localhost [127.0.0.1])
+ by mail.domain.com (Postfix) with ESMTP id 2DC8B586389;
+ Tue, 21 Dec 2010 14:05:58 -0600 (CST)
+X-Virus-Scanned: Debian amavisd-new at domain.com
+Received: from mail.domain.com ([127.0.0.1])
+ by localhost (mail.domain.com [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id XCn4+RhZPLzi; Tue, 21 Dec 2010 14:05:57 -0600 (CST)
+Received: from mail.domain.com (localhost [127.0.0.1])
+ (Authenticated sender: user@domain.com)
+ by mail.domain.com (Postfix) with ESMTPA id 25E7E58636E;
+ Tue, 21 Dec 2010 14:05:57 -0600 (CST)
+Received: from static5.domain.com ([5.5.5.5])
+ by mail.domain.com
+ with HTTP (HTTP/1.1 POST); Tue, 21 Dec 2010 14:05:57 -0600
+MIME-Version: 1.0
+Date: Tue, 21 Dec 2010 14:05:57 -0600
+From: <user@domain.com>
+To: <prueba@domain.com>
+Subject: Testing
+Message-ID: <2ee7df1322121930966bcc2318379726@localhost>
+X-Sender: user@domain.com
+
+
+
+--15778/mail--
diff --git a/tests/test_bounces.py b/tests/test_bounces.py
index e3b07da0..d370ab31 100644
--- a/tests/test_bounces.py
+++ b/tests/test_bounces.py
@@ -78,6 +78,7 @@ class BounceTest(unittest.TestCase):
('SimpleMatch', 'simple_34.txt', ['roland@xxx.com']),
('SimpleMatch', 'simple_36.txt', ['garyt@xxx.com']),
('SimpleMatch', 'simple_37.txt', ['user@uci.edu']),
+ ('SimpleMatch', 'simple_38.txt', ['prueba@domain.com']),
('SimpleMatch', 'bounce_02.txt', ['acinsp1@midsouth.rr.com']),
('SimpleMatch', 'bounce_03.txt', ['james@jeborall.demon.co.uk']),
# SimpleWarning