[Mailman-Users] filtering by subject or other headers?

Todd Freedom_Lover at pobox.com
Sat Oct 4 21:02:35 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erez Zadok wrote:
> I'd like to setup a filter rule that says: if the subject line
> matches a certain string, discard this email and never tell me about
> it.  However, I don't this kind of rule to affect the way other
> moderation or filter rules work.  That is, if I configure mailman to
> hold all messages from unknown senders, then those not matching the
> spam filter rule I just described, should be left in the hold queue.

Sounds like you're describing the bounce_matching_headers option, from
Privacy Options -> Spam Filters, except that you want the default
action to be discard instead of hold.  I don't believe this is
possible at the moment, but it seems like it would be a simple thing
to add.  You could either add another option to the Spam Filters page,
perhaps discard_matching_headers, or just an option that toggled
whether posts matching bounce_matching_headers were held or discarded.

That would be handy to have a on a list by list basis, but there is a
site-wide configuration option, KNOWN_SPAMMERS, that you can set in
mm_cfg.py which looks to do exactly what you want.  You might want to
give that a try.  One of the comments in the SpamDetect.py file where
this spam filtering is done says "This needs to be made more
configurable and robust."  So it's on the list of things that will
happen when someone makes time to code it in.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Revolution, n.:
    In politics, an abrupt change in the form of misgovernment.
        -- Ambrose Bierce

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/fxlLuv+09NZUB1oRAuNtAKDi7F8fxMDBEDWzWFUhm3TZpwqKJwCg02U2
SuhJ+a0fcm2nAJOFxKiROUk=
=EssE
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list