[Mailman-Users] Regular expression for Spam Filter wanted

Malcolm Austen malcolm.austen at weald.org.uk
Sat Mar 31 12:47:58 CEST 2012

On Sat, 31 Mar 2012 09:17:21 +0100, Sascha Rissel <sascha at rissel.it> wrote:

> Hello all,
> I am running mailman on Debian/Plesk with a Spam-Filter which prefixes
> headers of spam mails with "***SPAM***".
> I  tried to filter these mails in mailman using spam filter rule
> "^Subject:\*\*\*SPAM\*\*\*",
> but that doesn't work.
> Could you please help me?

There will (usually) be a space after the colon in the subject line.

I always put \s* or even .* after the colon in the regexp.

= Malcolm =

Using Opera's revolutionary email client: http://www.opera.com/mail/

More information about the Mailman-Users mailing list