summaryrefslogtreecommitdiff
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Defaults.py.in')
-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,