Brad Knowles wrote:

>on 12/18/08 6:15 PM, Marvin Humphrey said:
>
>
>> 2) Create a filter for messages sent to list-owner that only passes mail
>>    generated by Mailman itself.
>
>Mailman will never generate mail to the list-owner address.  It will 
>receive mail that is addressed to list-owner and will re-route that 
>internally as appropriate, but it will never itself send e-mail to the 
>actual list-owner address.


Actually, that's not true. A lot of Mailman generated notices are
actually sent to list-owner, received and re-sent to the actual
owner/moderator addresses.

Note you may be able to accomplish 2) with header_filter_rules. It's
tricky because the same rules are applied to both list mail and
list-owner mail, so you have to be able to distinguish between them.

If you aren't concerned about "implicit destination" list mail, you
could do something like

Rule 1 regexps:

^to:.*(\s|<)LISTNAME@
^cc:.*(\s|<)LISTNAME@

action = accept

Rule 2 regexp:

^message-id: <mailman\.\d+\.\d+\.\d+\.listn...@hostname>$

action = accept

Rule 3 regexp = . Action = discard

The idea being that rule 1 passes mail destined for the list, rule 2
accepts mail with a mailman generated message-id and rule 3 discards
the rest.

Of course, as others have pointed out, discarding mail addressed to
list-owner may not be a good idea.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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

Reply via email to