[Mailman-Users] Treat post from non-member mail addresses like joinrequest?
mark at msapiro.net
Thu Sep 24 21:49:37 CEST 2009
>this is roughly what I want to achieve, with a list that allows posts
>from members only:
>- when a member mails to <list>@<domain>, the message should be posted
>- when a non-member mails to <list>@<domain>, this should be treated
>like a subscription request, i.e. as if he had mailed to
You could do this with a custom handler that would be in the pipeline
ahead of Moderate. It could do the same membership test as Moderate,
and then if it is a non-member post, queue it in the commands queue
with tojoin=1 in the metadata.
You could also let the pipeline continue and hold the non-member post,
but automatically approving that post when the poster becomes a member
is trickier. You could make a script that checks all posts held for
'post by non-member' and if the poster is now a member, approves the
post, and run that script periodically with cron.
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