[Mailman-Users] Confirmation-less subscription: avoiding "resultsof your email commands" mail

Mark Sapiro mark at msapiro.net
Thu Jul 3 21:53:08 CEST 2008


Thomas Kappler wrote:
>
>We have set ALLOW_OPEN_SUBSCRIBE and confirmation: none, and now the
>problem is the "The results of your email commands" mail. I've found the
>advice here:
>http://www.mail-archive.com/mailman-users@python.org/msg44391.html
>but the result of the modification is just that the "results..." mail
>changes to saying "No commands were found in this message.".
>
>We run mailman 2.1.9.
>
>Any updated advice on how to avoid the mail altogether?


The advice in the referenced post to modify the code in
Mailman/Commands/cmd_subscribe.py by changing the code at the very end
of the module from

    else:
        # Everything is a-ok
        res.results.append(_('Subscription request succeeded.'))

to

    else:
        # Everything is a-ok
        res.respond = 0

works and does what you want.

If you got a "No commands were found in this message.", you most likely
sent a blank message to the list-request address. You can subscribe by
sending a blank message to list-subscribe or to list-join, but if you
mail to list-request, the message must include a subscribe command in
the subject or body.

-- 
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