Mark, thanks for your reply. Until I get that handler right, I copied all posts to "list-join" and changed one line in cmd_subscribe so that it does not reply when the sender is already subscribed.
For the time being I am ok with releasing initial posts manually if they contain anything more than "please, I want to join this list"... In the long run, it would be a nice feature to ask non-members trying to post whether they want to subscribe to a list, maybe as an additional generic_nonmember_action. Regards Markus Mark Sapiro schrieb: > Markus wrote: >> 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 >> as usual >> >> - when a non-member mails to <list>@<domain>, this should be treated >> like a subscription request, i.e. as if he had mailed to >> <list>-join@<domain> > > 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. > ------------------------------------------------------ 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
