aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2009-02-20 14:22:04 -0800
committerMark Sapiro <mark@msapiro.net>2009-02-20 14:22:04 -0800
commitfff53e1d722d66336a204569a5f7a4daebacb72c (patch)
treefa9ea54e703e9f99ead0a643cc7555cf806b6271 /Mailman/Bouncers
parentef2cdaf9f435381e9bf09dcc0142121abdcf10c2 (diff)
downloadmailman2-fff53e1d722d66336a204569a5f7a4daebacb72c.tar.gz
mailman2-fff53e1d722d66336a204569a5f7a4daebacb72c.tar.xz
mailman2-fff53e1d722d66336a204569a5f7a4daebacb72c.zip
Recognize a couple more bounces.
Diffstat (limited to 'Mailman/Bouncers')
-rw-r--r--Mailman/Bouncers/SimpleMatch.py4
-rw-r--r--Mailman/Bouncers/SimpleWarning.py6
2 files changed, 9 insertions, 1 deletions
diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py
index 67e3a7f8..a6a952a2 100644
--- a/Mailman/Bouncers/SimpleMatch.py
+++ b/Mailman/Bouncers/SimpleMatch.py
@@ -170,6 +170,10 @@ PATTERNS = [
(_c('The following recipient.*could not be reached'),
_c('bogus stop pattern'),
_c('^(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
+ # lttf.com
+ (_c('Could not deliver message to'),
+ _c('^\s*--'),
+ _c('^Failed Recipient:\s*(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
# Next one goes here...
]
diff --git a/Mailman/Bouncers/SimpleWarning.py b/Mailman/Bouncers/SimpleWarning.py
index 34690625..ab8d6aa2 100644
--- a/Mailman/Bouncers/SimpleWarning.py
+++ b/Mailman/Bouncers/SimpleWarning.py
@@ -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
@@ -53,6 +53,10 @@ patterns = [
(_c('THIS IS A WARNING MESSAGE ONLY'),
_c('Message will be retried'),
_c(r'\s*(?P<addr>\S+@\S+)\s*')),
+ # RS ver 1.0.95vs ? - see comments for MessageSwitch
+ (_c('We will continue to try to deliver'),
+ _c('.+'),
+ _c('(?P<addr>.+)')),
# Next one goes here...
]