summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-02-28 21:39:53 +0000
committerbwarsaw2001-02-28 21:39:53 +0000
commitbae4463d8d5ae5bf2d2cd48e7d08a76df15153ad (patch)
treecf1dfd35f66041ea06a2db08d38597764e1b70b4
parent6042641e6d9f0b366b7648664ac870f3838c1768 (diff)
downloadmailman-bae4463d8d5ae5bf2d2cd48e7d08a76df15153ad.tar.gz
mailman-bae4463d8d5ae5bf2d2cd48e7d08a76df15153ad.tar.zst
mailman-bae4463d8d5ae5bf2d2cd48e7d08a76df15153ad.zip
pcre: SuSE 6.4 seems to have modified the bounce match line that all
other Postfix installations use -- they removed the word "program" :( Now, we just search for "the postfix".
-rw-r--r--Mailman/Bouncers/Postfix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Bouncers/Postfix.py b/Mailman/Bouncers/Postfix.py
index 1a261ab7e..6050a4170 100644
--- a/Mailman/Bouncers/Postfix.py
+++ b/Mailman/Bouncers/Postfix.py
@@ -33,7 +33,7 @@ def flatten(msg, leaves):
# are these heuristics correct or guaranteed?
-pcre = re.compile(r'\t\t\tthe postfix program$', re.IGNORECASE)
+pcre = re.compile(r'\t\t\tthe postfix', re.IGNORECASE)
rcre = re.compile(r'failure reason:$', re.IGNORECASE)
acre = re.compile(r'<(?P<addr>[^>]*)>:')