[Mailman-Users] majordomo type unique subscribe address for alllists on a site?
Mark Sapiro
msapiro at value.net
Thu Sep 27 16:46:11 CEST 2007
Benoit Panizzon wrote:
>
>Of course the instructions on how to subscribe still reffer to majordomo:
>
>=> send a list to majordomo at listserver and put 'subscribe listname' in the
>mail body.
>
>I did hope to be able to get mailman to also understand such requests but I'm
>still failing.
Try piping the mail to majordomo at example.com to procmail with, e.g.
|/path/to/procmail -m /path/to/procmailrc
with a procmailrc containing
0: B
* ^ *subscribe *\/[^ ]+
! $MATCH-subscribe at example.com
0:
Here you could set EXITCODE = 69 to bounce the mail for 'service
unavailable' or you could deliver the mail to a human. This would only
be mail without 'subscribe ...' in the body.
--
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