Re: [Mailman-Users] Good use of the site list?

On 1/5/2013 7:14 AM, DongInn Kim wrote:
Couldn't it be the prey of spammers then? What I meant is to allow only all the valid users who have subscribed for at least one mailing list to write an email to the site list but not all generic nonmember.
Then put @LISTNAME in the site list's accept_these_nonmembers for each LISTNAME in the installation other than the site list.
Consider
#!/bin/bash
cd /path/to/mailman
f=mktemp
bin/list_lists --bare |
awk 'BEGIN{print "accept_these_nonmembers = ["}
!/^SITE_LIST$/{print "@"$1","}
END{print "]"}' > $f
bin/config_list -i $f SITE_LIST
rm $f
where SITE_LIST is the name of the site list (probably mailman).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hi Mark,
Yes, that works! Thank you very much.
But I found that there is a tiny bug in your script. It should have the double quote (") for each entry (list) of accept_these_nonmembers like the following:
Regards,
--
- DongInn
On Jan 6, 2013, at 12:30 AM, Mark Sapiro wrote:

Hi Mark,
Yes, that works! Thank you very much.
But I found that there is a tiny bug in your script. It should have the double quote (") for each entry (list) of accept_these_nonmembers like the following:
Regards,
--
- DongInn
On Jan 6, 2013, at 12:30 AM, Mark Sapiro wrote:
participants (2)
-
DongInn Kim
-
Mark Sapiro