Alan Rubin wrote: > >We have a customer who would like to use a form on a website to >subscribe people to a mailing list. In theory, the form would email the >details the list-join address of the list.
Unduly complicated. See the FAQ at <http://wiki.list.org/x/hIA9>. But, since you ask, read on... >I have tried following the >instructions from the members' manual: > >subscribe [<PASSWORD>] [digest-nodigest] [address=<ADDRESS>] >Subscribe to this mailing list. Your password must be given to >unsubscribe or change your options, but >if you omit the password, one will be generated for you. You may be >periodically reminded of your >password. >The next argument may be either: 'nodigest' or 'digest' (no quotes!). If >you wish to subscribe an address >other than the address you sent this request from, you may specify >'address=<ADDRESS>' (no brackets >around the email address, and no quotes!) > >I am testing this process with a test list using the following email: > >-----Original Message----- >From: Alan Rubin >Sent: Tuesday, 17 February 2009 1:46 PM >To: '[email protected]' >Subject: > >subscribe nodigest [email protected] You can't send a generic subscribe command to to the -join or -subscribe address. The subject/body of mail to those addresses are ignored and they just request subscription of the From: address with generated password and default digest/nodigest. If you want to send a subscribe command as above in the subject or body of the mail, you have to send it to the -request address. But that isn't the reason for the following. >but my attempts keep getting shunted (tried twice, first without a >digest option): > > >Feb 17 13:46:20 2009 (1046) Traceback (most recent call last): > File "/export/home/mailman/Mailman/Queue/Runner.py", line 114, in >_oneloop > self._onefile(msg, msgdata) > File "/export/home/mailman/Mailman/Queue/Runner.py", line 185, in >_onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/export/home/mailman/Mailman/Queue/CommandRunner.py", line 241, >in _dispose > res.do_command('join') > File "/export/home/mailman/Mailman/Queue/CommandRunner.py", line 139, >in do_command > return handler.process(self, args) > File "/export/home/mailman/Mailman/Commands/cmd_subscribe.py", line >74, in process > if digest is None and password.lower() in ('digest', 'nodigest'): >AttributeError: 'NoneType' object has no attribute 'lower' > >Feb 17 13:46:20 2009 (1046) SHUNTING: >1234844179.158844+4d54d8a83f98a957ccff205953e10afbc0a9eecd > > >Any help? Am I missing a step? This is somewhat urgent, if anyone is >still awake in the West. This was a bug in the 2.1.10 release. See <http://mail.python.org/pipermail/mailman-announce/2008-April/000111.html> for a patch, but the irony here is if you had sent the mail to [email protected], it would have worked and not triggered the bug. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
