On Wed, 06 Jul 2016 14:21:27 +0100, Jim Popovitch <[email protected]> wrote:

I've been inspired by something I read somewhere else.

    I have long thought that mailing lists should be
    configured to reject messages with a Subject of
    "Re: [the subject format for the list's digest messages]".
    Maybe a scan of the message content for a copy
    of the digest prologue would be a good idea as well.

and now I want to implement something like this.

Will this generic Spam filter work:

Subject: Re: \[.*\] .* Digest, Vol [0-9]+, Issue [0-9]+

As I hold such catches rather than bin them, I get by with a slew of less fancy regexps against any header. They all pretty much like - ^subject:.*digest.*

with checks for test, spam, virus, scam, help, ...

Some are worth being slightly fancy on, eg - ^subject:.*\btest.* - so latest gets through :-)

Don't forget - ^subject:.*The results of your email commands -
and the final triplet so messages with no subject get caught, see Mark's post:
     https://mail.python.org/pipermail/mailman-users/2007-March/056119.html

Malcolm.

--
Malcolm Austen <[email protected]>
GENUKI trustee <[email protected]>
Pedigree User Group <[email protected]>
Oxfordshire FHS <[email protected]> or <[email protected]>
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to