[Mailman-Users] How to accept mail from a single IP / DNS name onlyfor a given list

Mark Sapiro mark at msapiro.net
Wed Dec 31 19:00:41 CET 2008

Emmett Perdue wrote:
>How can I setup a list so that mail can be accepted ONLY from 1 IP  
>address? As an example I have a list named abc at 123.com and it is setup  
>as an announce list only accepting mail from 1 user with an address of bob at 123.com 
>.  How can I set this list up so that even if the mail appears to come  
>from bob at 123.com the email will post to the list ONLY if bob at 123.com's  
>email came from bobspc.123.com which has an an IP address of  

You could set up header_filter_rules (Privacy options... -> Spam
filters) for this list as follows:

rule 1


action Accept

rule 2

Action Discard

However, An easier and better way to do this is to moderate Bob along
with everyone else and have Bob post with a header

Approved: password

where password is the list's admin or moderator password.

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