diff options
| -rw-r--r-- | Mailman/Bouncers/Postfix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Bouncers/Postfix.py b/Mailman/Bouncers/Postfix.py index d4a6aae61..fb1a1233f 100644 --- a/Mailman/Bouncers/Postfix.py +++ b/Mailman/Bouncers/Postfix.py @@ -42,7 +42,7 @@ def flatten(msg, leaves): # are these heuristics correct or guaranteed? -pcre = re.compile(r'\t\t\tthe\s*(bns)?\s*(postfix|keftamail)', re.IGNORECASE) +pcre = re.compile(r'[ \t]*the\s*(bns)?\s*(postfix|keftamail)', re.IGNORECASE) rcre = re.compile(r'failure reason:$', re.IGNORECASE) acre = re.compile(r'<(?P<addr>[^>]*)>:') |
