[Mailman-Users] invite hack

Mark Sapiro msapiro at value.net
Tue Apr 19 22:55:08 CEST 2005


Sean wrote:
>
>I'm trying to customize the invitations that get sent out by adding the
>subject_prefix to the subject line so it looks like:
>
>Subject: LIST_subject_prefix confirm CONFIRM_STING.
>
>I made this change to MailList.py:
>
>	sub_prefix = self.subject_prefix
>	subj = sub_prefix + ' confirm ' + cookie
>
>The problem that I've encountered now is that when you reply to the
>invitation and maintain the subject Mailman doesn't process it:
>
<snip>
>
>It automatically skips any 'RE:'s in the subject so I didn't think the
>adding the subject_prefix would matter.  Where is the code that ingores
>the 'RE:'s in the subject?


This is the problem. It doesn't actually skip 're:'s. If the first token
after Subject: isn't 'confirm' it will look at the second token and
that's as far as it goes.

The code is in CommandRunner.py

See the thread at
http://mail.python.org/pipermail/mailman-users/2005-March/043524.html


--
Mark Sapiro <msapiro at value.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