Pages: 1
RSS
Need assistance with Bayes Filter Plugin RegExp
 
I have two EMail addresses that I commonly use.  I've notice that quite a bit of spam EMail comes in with my primary address in the 'To:' line, my other EMail address in the 'CC:' line.  This would not hardly ever occur with legitimate EMail messages.

I'm using Bayes Filter Plugin v 2.0.4 by Achim Winkler and I have implemented the RegExp Filter, importing the suggested RegExp data file from http://www.slabihoud.de/spampal/id0101.htm

I'm new to this RegExp filter means of dealing with spam.  I've attempted to add a rule that will catch the occurrence of my secondary EMail address in the Cc: field.

I have tried various permutations of the rule, it never seems to get activated.  Here is the latest rule format:

=Cc:             500.0  "my_2nd_email@mydomain.com" [Should catch EMails sent to both addresses]

I inserted this rule is very close to the top of the filters.dat file.

Any help greatly appreciated in my war on spam .. probably a losing battle, but I'm determined.

G'Jim c):{-
 
I'm not how to achieve what you want in BayesFilter as I don't use that, but you can create a normal filter that checks for address1 in the To: header and address2 in the CC: without the use of regexp, why should you make it harder than is needed?

Just check for header field To: and header field CC:
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
Pages: 1