------------------------------------------------------------
revno: 1136
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Wed 2010-12-22 08:15:17 -0800
message:
Added bounce recognition for a bogus Dovecot MDN. Bug #693134.
added:
tests/bounces/simple_38.txt
modified:
Mailman/Bouncers/SimpleMatch.py
NEWS
tests/bounces/aol_01.txt*
tests/bounces/simple_37.txt*
tests/test_bounces.py
--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Bouncers/SimpleMatch.py'
--- Mailman/Bouncers/SimpleMatch.py 2009-07-31 20:14:43 +0000
+++ Mailman/Bouncers/SimpleMatch.py 2010-12-22 16:15:17 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -178,6 +178,12 @@
(_c('--------Message not delivered'),
_c('--------Error Detail'),
_c('^\s*(?P<addr>[...@]+@[...@]+)\s*$')),
+ # Dovecot LDA Over quota MDN (bogus - should be DSN).
+ (_c('^Your message'),
+ _c('^Reporting'),
+ _c(
+ 'Your message to (?P<addr>[...@]+@[...@]+) was automatically rejected'
+ )),
# Next one goes here...
]
=== modified file 'NEWS'
--- NEWS 2010-12-04 21:22:32 +0000
+++ NEWS 2010-12-22 16:15:17 +0000
@@ -83,6 +83,8 @@
Bug Fixes and other patches
+ - Added bounce recognition for a bogus Dovecot MDN. Bug #693134.
+
- Fixed a problem where an emailed command in the Subject: header with a
non-ascii l10n of an 'Re:' prefix is ignored. Bug #685261.
=== modified file 'tests/bounces/aol_01.txt' (properties changed: +x to -x)
=== modified file 'tests/bounces/simple_37.txt' (properties changed: +x to -x)
=== added file 'tests/bounces/simple_38.txt'
--- tests/bounces/simple_38.txt 1970-01-01 00:00:00 +0000
+++ tests/bounces/simple_38.txt 2010-12-22 16:15:17 +0000
@@ -0,0 +1,70 @@
+Return-Path: <MAILER-DAEMON>
+Delivered-To: [email protected]
+Received: from localhost (localhost [127.0.0.1])
+ by mail.domain.com (Postfix) with ESMTP id 7043958636E
+ for <[email protected]>; 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 <[email protected]>;
+ 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-38055...@mail>
+Date: Tue, 21 Dec 2010 14:05:58 -0600
+From: Mail Delivery Subsystem <[email protected]>
+To: <[email protected]>
+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 <[email protected]> was automatically rejected:
+Quota exceeded
+--15778/mail
+Content-Type: message/disposition-notification
+
+Reporting-UA: mail; Dovecot Mail Delivery Agent
+Final-Recipient: rfc822; [email protected]
+Original-Message-ID: <2ee7df1322121930966bcc2318379...@localhost>
+Disposition: automatic-action/MDN-sent-automatically; deleted
+
+--15778/mail
+Content-Type: message/rfc822
+
+Return-Path: <[email protected]>
+Delivered-To: [email protected]
+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: [email protected])
+ 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: <[email protected]>
+To: <[email protected]>
+Subject: Testing
+Message-ID: <2ee7df1322121930966bcc2318379...@localhost>
+X-Sender: [email protected]
+
+
+
+--15778/mail--
=== modified file 'tests/test_bounces.py'
--- tests/test_bounces.py 2010-07-11 17:16:50 +0000
+++ tests/test_bounces.py 2010-12-22 16:15:17 +0000
@@ -78,6 +78,7 @@
('SimpleMatch', 'simple_34.txt', ['[email protected]']),
('SimpleMatch', 'simple_36.txt', ['[email protected]']),
('SimpleMatch', 'simple_37.txt', ['[email protected]']),
+ ('SimpleMatch', 'simple_38.txt', ['[email protected]']),
('SimpleMatch', 'bounce_02.txt', ['[email protected]']),
('SimpleMatch', 'bounce_03.txt', ['[email protected]']),
# SimpleWarning
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org