[Mailman-Users] Configure Repy-To header for confirmations

Mark Sapiro mark at msapiro.net
Tue Nov 4 05:34:02 CET 2008

Dennis Putnam wrote:
>Mark Sapiro wrote:
>> The attached MailList.patch.txt patch (with an appropriate value for
>> MAGIC_LENGTH) or something like it should do what you want for the
>> -request address.
>> The attached MailList.patch2.txt patch is a slight modification that
>> handles substituting listabc for list-abcdef for any abcdef.
>Thanks but I'm afraid I have to let my ignorance show. Do I use both and
>how do I incorporate/install these?

You use one or the other, not both. You use MailList.patch.txt if you
only want to substitute listreq for list-request. You use
MailList.patch2.txt if you want to substitute lisdadm for list-admin,
listbou for list-bounces, etc. for all nine of the suffixes.

Step one - edit the patch file to replace the 10 in


with the actual list name length that makes things too long.

Step two - make a backup of Mailman/MailList.py

Step three -

patch --dry-run /path/to/Mailman/MailList.py < /path/to/the/patch/file

(see 'man patch' for more info)

Depending on your Mailman version, you may see one or two "Hunk #n
succeeded at offset..." messages from step 3. These are OK, but any
other messages from step 3 after the "patching file ..." message may
indicate a problem, so stop and post the error(s)

Step four - If no errors at step 3

patch /path/to/Mailman/MailList.py < /path/to/the/patch/file

Step 5 - restart Mailman.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list