[Mailman-Users] Help customizing VERP_CONFIRM_REGEXP

Pablo Montepagano pablo at montepagano.com.ar
Thu Jul 17 17:28:57 CEST 2014

I'm sorry for not being clear. VERP_CONFIRM_REGEXP is set to the same
value that comes with Defaults.py

When confirmations are sent, the FROM header does not follow this
pattern "Mailman <listaddr-confirm+cookie at example.org>", it just has
the addres, i.e, "listaddr-confirm+cookie at example.org". I wolud like
to add the "Mailman <" to the beginning and ">" at the end.

Why? So that those who receive the invitation/confirmation email see a
human readable name in the "From" header.

Hope I'm being clear. Thanks!

On Thu, Jul 17, 2014 at 11:21 AM, Mark Sapiro <mark at msapiro.net> wrote:
> On 07/16/2014 03:18 PM, Pablo Montepagano wrote:
>> Currently they follow the default value of VERP_CONFIRM_REGEXP. I've
>> been trying to change it so that I can get something like this:
>> From: Mailman <listaddr-confirm+cookie at example.org>
> That is what you get by default if VERP_CONFIRMATIONS = Yes
>> This is currently in my mm_cfg.py:
>> VERP_CONFIRM_REGEXP = r'(?s)^(.*<)?(?P<addr>.+)\+(?P<cookie>[^@+]+)@.*$'
> Wht are you changing this in this way? It should work, but so should the
> default. You should only need to change VERP_CONFIRM_REGEXp if you've
>> Does anyone know how to do this?
> I do not understand what the problem is. Are you not getting the From:
> you want? If not, did you restart Mailman after changing mm_cfg.py?
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/pablo%40montepagano.com.ar

More information about the Mailman-Users mailing list