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

DongInn Kim dikim at cs.indiana.edu
Sun Jan 6 22:04:17 CET 2013


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 <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 mailing list