[Mailman-Developers] VERP subscription confirmations

Gordon Rowell gordonr at gormand.com.au
Thu Feb 5 21:44:05 EST 2004


If I enable VERP_CONFIRMATIONS and "Invite" someone from the
admin page, I get a VERP invite and a "nice" Subject line:

   From: info-confirm-3f4ccbbd8f891afd9fdb167e397a527e57db546c at lists.xxx
   To: gordonr at gormand.com.au
   Subject: You have been invited to join the Info mailing list

Which is good. However, if I send mail to info-subscribe, I get a non-VERP
invite and an "ugly" Subject line (so sayeth the users):

  From: info-request at lists.xxx
  To: gordonr at gormand.com.au
  Subject: confirm 33921aa138c41a218e6f76b3b3d866fcb411e1f7

It appears that the VERP confirmations are only partially implemented,
but maybe I've missed something.

I was thinking of doing something like this in MailList.py
(be gentle - Python newbie):

    def GetRequestEmail(self, cookie=''):
	if (mm_cfg.VERP_CONFIRMATIONS == 'No') or (cookie == ''):
	    return self.getListAddress('request')
	else:
            return self.GetConfirmEmail(cookie)

and then replacing GetRequestEmail() calls with GetRequestEmail(cookie). 
In some places the call to GetRequestEmail() needs to be moved after
the cookie generation.

Before I go down that path, is there a simpler path, or am I going to
break something else by VERPing all of the GetRequestEmail() calls?

Thanks,

Gordon
--
 Gordon Rowell Gordon.Rowell at gormand.com.au  http://www.gormand.com.au
 Gormand Pty Ltd  PO Box 239 St Pauls NSW 2031 Australia



More information about the Mailman-Developers mailing list