Re: Negative rule score not working as expected

2017-05-10 Thread Anthony Hoppe
Can I whitelist based on a combination of the Received header and domain in the Return-Path? Here are headers from one of the messages: https://pastebin.com/ijy9Z51y I'm thinking something like... whitelist_from_rcvd @sjcourts.gmail.net-login.com phishtest.knowbe4.com - Original Message -

Re: Negative rule score not working as expected

2017-05-10 Thread Alex
Hi, > headerAH_KNOWBE4 Received=~ /phishtest\.knowbe4\.com/ > score AH_KNOWBE4 score -10.0 > describe AH_KNOWBE4 Prevents KnowBe4 campaign emails from falling into > users Junk folders Since you're already subtracting 10 points, have you thought about just whitelisting it? If it has

Re: Negative rule score not working as expected

2017-05-10 Thread Benny Pedersen
David B Funk skrev den 2017-05-11 02:02: Why didn't "spamassassin --lint" bark about this syntax error? maybe not issued that test? should lint show very obbervios fails ? :)

Re: Negative rule score not working as expected

2017-05-10 Thread Anthony Hoppe
Probably because I didn't do that... Since the rule was super basic, I just kinda threw it together and ran with it. Was a very, very n00b mistake on my part :D ~ Anthony - Original Message - From: "David B Funk" To: "SpamAssassin" Sent: Wednesday, May 10, 2017 5:02:11 PM Subject: R

Re: Negative rule score not working as expected

2017-05-10 Thread David B Funk
On Thu, 11 May 2017, Benny Pedersen wrote: Anthony Hoppe skrev den 2017-05-11 00:55: I'm trying to implement a very simple rule that looks at the "Received" header(s) and if a string is found apply a negative score. The rule is as follows: headerAH_KNOWBE4 Received=~ /phishtest\.knowbe4\.

Re: Negative rule score not working as expected

2017-05-10 Thread Benny Pedersen
Anthony Hoppe skrev den 2017-05-11 01:36: ...and now it works as expected. Thank you all for listening. :-D next would be rule maintainer ?, more coffee helps

Re: Negative rule score not working as expected

2017-05-10 Thread Benny Pedersen
Anthony Hoppe skrev den 2017-05-11 00:55: I'm trying to implement a very simple rule that looks at the "Received" header(s) and if a string is found apply a negative score. The rule is as follows: headerAH_KNOWBE4 Received=~ /phishtest\.knowbe4\.com/ score AH_KNOWBE4 score -10.0 abov

Re: Negative rule score not working as expected

2017-05-10 Thread Anthony Hoppe
...and now it works as expected. Thank you all for listening. :-D - Original Message - From: "Anthony Hoppe" To: "SpamAssassin" Sent: Wednesday, May 10, 2017 3:58:57 PM Subject: Re: Negative rule score not working as expected Oh my chuck, I am such an idiot. My score line is wrong.

Re: Negative rule score not working as expected

2017-05-10 Thread Anthony Hoppe
Oh my chuck, I am such an idiot. My score line is wrong. This would be more appropriate: score AH_KNOWBE4 -10.0 I guess it just took me posting here to notice. Whoops! - Original Message - From: "Anthony Hoppe" To: "SpamAssassin" Sent: Wednesday, May 10, 2017 3:55:16 PM Subject: Ne

Negative rule score not working as expected

2017-05-10 Thread Anthony Hoppe
I'm trying to implement a very simple rule that looks at the "Received" header(s) and if a string is found apply a negative score. The rule is as follows: headerAH_KNOWBE4 Received=~ /phishtest\.knowbe4\.com/ score AH_KNOWBE4 score -10.0 describe AH_KNOWBE4 Prevents KnowBe4 campaign

Re: block Bayes autolearn for specific messages

2017-05-10 Thread John Hardin
On Wed, 10 May 2017, David B Funk wrote: On Wed, 10 May 2017, John Hardin wrote: On Wed, 10 May 2017, David B Funk wrote: > Is there any way to use Bayes autolearn in general but prevent it from > learning specific messages? > > I have a specific source of messages (Office-365) which I

Re: block Bayes autolearn for specific messages

2017-05-10 Thread David B Funk
On Wed, 10 May 2017, John Hardin wrote: On Wed, 10 May 2017, David B Funk wrote: Is there any way to use Bayes autolearn in general but prevent it from learning specific messages? I have a specific source of messages (Office-365) which I would like to prevent from being autolearn (with out

Re: block Bayes autolearn for specific messages

2017-05-10 Thread RW
On Wed, 10 May 2017 11:33:44 -0500 (CDT) David B Funk wrote: > Is there any way to use Bayes autolearn in general but prevent it > from learning specific messages? > > I have a specific source of messages (Office-365) which I would like > to prevent from being autolearn (with out scoring them as

Re: block Bayes autolearn for specific messages

2017-05-10 Thread John Hardin
On Wed, 10 May 2017, David B Funk wrote: Is there any way to use Bayes autolearn in general but prevent it from learning specific messages? I have a specific source of messages (Office-365) which I would like to prevent from being autolearn (with out scoring them as spam). I still want thos

block Bayes autolearn for specific messages

2017-05-10 Thread David B Funk
Is there any way to use Bayes autolearn in general but prevent it from learning specific messages? I have a specific source of messages (Office-365) which I would like to prevent from being autolearn (with out scoring them as spam). I still want those messages to be SA scored using the normal