Mike Peachey wrote:
>
>If only it were that easy, the problem I have is that I have list admins 
>complaining to me (and my boss' boss) that their archive is polluted 
>with messages from top-level lists and they want their archive to just 
>contain messages sent directly to their list.



Make a custom handler (see
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp>)
that checks mlist.umbrella_list, and if true add an X-No-Archive:
header to the message. E.g.

def process(mlist, msg, msgdata):
    if mlist.umbrella_list:
        msg['X-No-Archive'] = 'Yes'

The handler has to be in the pipeline prior to 'ToArchive'.


The header

X-Archive: No

also works.

-- 
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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to