[Mailman-Users] Is it possible to filter what is archived?
msapiro at value.net
Thu Aug 2 16:23:18 CEST 2007
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
that checks mlist.umbrella_list, and if true add an X-No-Archive:
header to the message. E.g.
def process(mlist, msg, msgdata):
msg['X-No-Archive'] = 'Yes'
The handler has to be in the pipeline prior to 'ToArchive'.
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users