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:

> #!/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

Regards,

--
- DongInn

On Jan 6, 2013, at 12:30 AM, Mark Sapiro wrote:

> 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 <[email protected]>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to