------------------------------------------------------------
revno: 1174
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Sat 2009-02-14 14:20:46 -0800
message:
  Recognize a couple more bounces.
added:
  tests/bounces/qmail_06.txt
  tests/bounces/simple_34.txt
modified:
  Mailman/Bouncers/Qmail.py
  Mailman/Bouncers/SimpleMatch.py
  tests/test_bounces.py

=== modified file 'Mailman/Bouncers/Qmail.py'
--- Mailman/Bouncers/Qmail.py   2007-11-12 05:40:15 +0000
+++ Mailman/Bouncers/Qmail.py   2009-02-14 22:20:46 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 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
@@ -32,6 +32,7 @@
 # Other (non-standard?) intros have been observed in the wild.
 introtags = [
     'Hi. This is the',
+    'Hi. The MTA program at',
     "We're sorry. There's a problem",
     'Check your send e-mail address.',
     'This is the mail delivery agent at',

=== modified file 'Mailman/Bouncers/SimpleMatch.py'
--- Mailman/Bouncers/SimpleMatch.py     2008-06-20 23:21:29 +0000
+++ Mailman/Bouncers/SimpleMatch.py     2009-02-14 22:20:46 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 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
@@ -166,6 +166,10 @@
     (_c('- no such user here'),
      _c('There is no user'),
      _c('^(?P<addr>[...@]+@[...@]+)\s')),
+    # fastdnsservers.com
+    (_c('The following recipient.*could not be reached'),
+     _c('bogus stop pattern'),
+     _c('^(?P<addr>[...@]+@[...@]+)\s*$')),
     # Next one goes here...
     ]
 

=== added file 'tests/bounces/qmail_06.txt'
--- tests/bounces/qmail_06.txt  1970-01-01 00:00:00 +0000
+++ tests/bounces/qmail_06.txt  2009-02-14 22:20:46 +0000
@@ -0,0 +1,32 @@
+X-MimeOLE: Produced By Microsoft Exchange V6.5
+Content-class: urn:content-classes:message
+MIME-Version: 1.0
+Content-Type: text/plain;
+       charset="iso-8859-1"
+Content-Transfer-Encoding: quoted-printable
+Subject: failure notice
+Date: Fri, 13 Feb 2009 09:22:22 -0800
+Message-ID: <[email protected]>
+X-MS-Has-Attach: 
+X-MS-TNEF-Correlator: 
+From: <[email protected]>
+To: <[email protected]>
+
+Hi. The MTA program at mta6-1.us4.outblaze.com was unable to deliver =
+your message to the following addresses.
+This is a permanent error.
+
+<[email protected]>:
+Error 01373: User's Disk Quota Exceeded.
+Sorry, your intended recipient has too much mail stored
+in his mailbox.
+Your message totalled  23 Kbytes.
+However a small (< 1Kb) message will be delivered should
+you wish to inform your recipient you tried to email.
+
+
+--- Below this line is a copy of the message.
+
+
+
+[message content removed - MS]

=== added file 'tests/bounces/simple_34.txt'
--- tests/bounces/simple_34.txt 1970-01-01 00:00:00 +0000
+++ tests/bounces/simple_34.txt 2009-02-14 22:20:46 +0000
@@ -0,0 +1,31 @@
+X-MimeOLE: Produced By Microsoft Exchange V6.5
+Content-class: urn:content-classes:message
+MIME-Version: 1.0
+Content-Type: text/plain;
+       charset="iso-8859-1"
+Content-Transfer-Encoding: quoted-printable
+Subject: Undeliverable: [News] Possible State-Wide Lead Ammo Ban
+Date: Fri, 13 Feb 2009 17:07:17 -0800
+Message-ID: 
<a6b3019f-262a-4c49-9acf-e05543110...@mailcluster.fastdnsservers.com>
+X-MS-Has-Attach: 
+X-MS-TNEF-Correlator: 
+From: <[email protected]>
+To: <[email protected]>
+
+Your message did not reach some or all of the intended recipients.
+
+   Sent: Fri, 13 Feb 2009 16:57:55 -0800
+   Subject: [News] Possible State-Wide Lead Ammo Ban
+
+The following recipient(s) could not be reached:
+
[email protected]
+   Error Type: SMTP
+   Remote server (216.122.20.147) issued an error.
+   hMailServer sent: RCPT TO:<[email protected]>
+   Remote server replied: 550 5.1.1 <[email protected]>... User unknown
+
+
+
+hMailServer
+

=== modified file 'tests/test_bounces.py'
--- tests/test_bounces.py       2008-06-20 23:21:29 +0000
+++ tests/test_bounces.py       2009-02-14 22:20:46 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2009 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
@@ -71,6 +71,7 @@
         ('SimpleMatch', 'simple_31.txt', ['[email protected]']),
         ('SimpleMatch', 'simple_32.txt', ['[email protected]']),
         ('SimpleMatch', 'simple_33.txt', ['[email protected]']),
+        ('SimpleMatch', 'simple_34.txt', ['[email protected]']),
         ('SimpleMatch', 'bounce_02.txt', ['[email protected]']),
         ('SimpleMatch', 'bounce_03.txt', ['[email protected]']),
         # SimpleWarning
@@ -125,6 +126,7 @@
         ('Qmail', 'qmail_03.txt', ['[email protected]']),
         ('Qmail', 'qmail_04.txt', ['[email protected]']),
         ('Qmail', 'qmail_05.txt', ['[email protected]']),
+        ('Qmail', 'qmail_06.txt', ['[email protected]']),
         # LLNL's custom Sendmail
         ('LLNL', 'llnl_01.txt', ['[email protected]']),
         # Netscape's server...



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/stable.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to