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" <dbf...@engineering.uiowa.edu> To: "SpamAssassin" <users@spamassassin.apache.org> Sent: Wednesday, May 10, 2017 5:02:11 PM Subject: Re: Negative rule score not working as expected 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: >> >> header AH_KNOWBE4 Received=~ /phishtest\.knowbe4\.com/ >> score AH_KNOWBE4 score -10.0 > > above line, remove 2nd score > >> describe AH_KNOWBE4 Prevents KnowBe4 campaign emails from falling >> into users Junk folders >> >> The rule triggers as expected, but a score of 1 is applied as opposed >> to the desired -10. What am I doing wrong? >> >> Thanks! Why didn't "spamassassin --lint" bark about this syntax error? -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{