diff options
author | Mark Sapiro <mark@msapiro.net> | 2008-06-14 21:30:07 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2008-06-14 21:30:07 -0700 |
commit | bb2624102c8d3c63b6b3e8b56f88fb1507ead034 (patch) | |
tree | a68130116f2f4f86876996da55d34a3f79bac2fd /Mailman/Bouncers/SimpleWarning.py | |
parent | 584aa9c3d648067a0dd756cf561352b02d10ecc3 (diff) | |
download | mailman2-bb2624102c8d3c63b6b3e8b56f88fb1507ead034.tar.gz mailman2-bb2624102c8d3c63b6b3e8b56f88fb1507ead034.tar.xz mailman2-bb2624102c8d3c63b6b3e8b56f88fb1507ead034.zip |
Added bounce recognition for googlemail delayed warning
Diffstat (limited to 'Mailman/Bouncers/SimpleWarning.py')
-rw-r--r-- | Mailman/Bouncers/SimpleWarning.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Bouncers/SimpleWarning.py b/Mailman/Bouncers/SimpleWarning.py index 45012c16..34690625 100644 --- a/Mailman/Bouncers/SimpleWarning.py +++ b/Mailman/Bouncers/SimpleWarning.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2007 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2008 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 @@ -49,6 +49,10 @@ patterns = [ (_c('Delivery attempts will continue to be made'), _c('.+'), _c('(?P<addr>.+)')), + # Googlemail + (_c('THIS IS A WARNING MESSAGE ONLY'), + _c('Message will be retried'), + _c(r'\s*(?P<addr>\S+@\S+)\s*')), # Next one goes here... ] |