summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-01-17 23:31:37 +0000
committerbwarsaw2002-01-17 23:31:37 +0000
commit74522e4e3f93552dc1ed2e476bf9c3c4686cc79c (patch)
tree146a58a1bd05816cd4d77598dae71d901b12ec25
parent5623fb659ba03feb241584e33a8d7e509b4a2717 (diff)
downloadmailman-74522e4e3f93552dc1ed2e476bf9c3c4686cc79c.tar.gz
mailman-74522e4e3f93552dc1ed2e476bf9c3c4686cc79c.tar.zst
mailman-74522e4e3f93552dc1ed2e476bf9c3c4686cc79c.zip
-rw-r--r--Mailman/Defaults.py.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 956c070d9..9c5eebbd3 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -507,10 +507,10 @@ VERP_FORMAT = '%(bounces)s+%(mailbox)s=%(host)s'
# The second describes a regular expression to unambiguously decode such an
# address, which will be placed in the To: header of the bounce message by the
# bouncing MTA. Getting this right is critical -- and tricky. Learn your
-# Python regular expressions. It must define exactly two named groups,
-# mailbox and host, with the same definition as above. It will be compiled
-# case-insensitively.
-VERP_REGEXP = r'^[^+]+?\+(?P<mailbox>[^=]+)=(?P<host>[^@]+)@.*$'
+# Python regular expressions. It must define exactly three named groups,
+# bounces, mailbox and host, with the same definition as above. It will be
+# compiled case-insensitively.
+VERP_REGEXP = r'^(?P<bounces>[^+]+?)\+(?P<mailbox>[^=]+)=(?P<host>[^@]+)@.*$'
# A perfect opportunity for doing VERP is the password reminders, which are
# already addressed individually to each recipient. This flag, if true,