Regular expression for Spam Filter wanted
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? Thanks, Sascha.
On Sat, 31 Mar 2012 09:17:21 +0100, Sascha Rissel <sascha@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/
participants (2)
-
Malcolm Austen
-
Sascha Rissel