[Mailman-Users] Filtering out Digest replies
Malcolm Austen
malcolm.austen at weald.org.uk
Wed Jul 6 09:44:39 EDT 2016
On Wed, 06 Jul 2016 14:21:27 +0100, Jim Popovitch <jimpop at gmail.com> 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 <malcolm.austen at weald.org.uk>
GENUKI trustee <genuki at weald.org.uk>
Pedigree User Group <chairman at pugweb.org.uk>
Oxfordshire FHS <chairman at ofhs.org.uk> or <webmaster at ofhs.org.uk>
More information about the Mailman-Users
mailing list