diff options
| author | bwarsaw | 2002-03-14 04:47:14 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-14 04:47:14 +0000 |
| commit | 286bf91fe58833a275293ae2ab29571754db5401 (patch) | |
| tree | 8ce59dc3380767c0ce8a1bb4a3f16338b8da36e8 | |
| parent | e08e55ed7e0f366bffcce86eddcb60def4b6723a (diff) | |
| download | mailman-286bf91fe58833a275293ae2ab29571754db5401.tar.gz mailman-286bf91fe58833a275293ae2ab29571754db5401.tar.zst mailman-286bf91fe58833a275293ae2ab29571754db5401.zip | |
VERP_CONFIRM_FORMAT, VERP_CONFIRM_REGEXP, VERP_CONFIRMATIONS: New
variables which control an alternative way to do confirmations.
Instead of relying on an error prone recitation of a Subject: line, we
can (optionally) use a VERP-ish From: field with the confirmation
cookie in the reply address. This has the added advantage of being
able to include an actual human intelligible Subject: header in the
confirmation message. ;)
Currently, on the new invitation confirmation feature uses this,
although the confirmation conversations should be converted.
| -rw-r--r-- | Mailman/Defaults.py.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index ba8f54ee2..bbc571595 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -547,6 +547,22 @@ VERP_PERSONALIZED_DELIVERIES = 0 # 1 to VERP every delivery, or to some number > 1 for only occasional VERPs. VERP_DELIVERY_INTERVAL = 0 +# For nicer confirmation emails, use a VERP-like format which encodes the +# confirmation cookie in the reply address. This lets us put a more user +# friendly Subject: on the message, but requires cooperation from the MTA. +# Format is like VERP_FORMAT above, but with the following substitutions: +# +# %(confirm)s -- the list-confirm mailbox will be set here +# %(cookie)s -- the confirmation cookie will be set here +VERP_CONFIRM_FORMAT = '%(addr)s+%(cookie)s' + +# This is analogous to VERP_REGEXP, but for splitting apart the +# VERP_CONFIRM_FORMAT. +VERP_CONFIRM_REGEXP = r'^(?P<addr>[^+]+?)\+(?P<cookie>[^@]+)@.*$' + +# Set this to true to enable VERP-like (more use friendly) confirmations +VERP_CONFIRMATIONS = 0 + ##### |
