On Sat, Aug 27, 2016 at 05:27:18PM +0300, Nikolaos Milas wrote: > Thank you Sean for all your help. > > I am focusing on amavisd-new / spamassassin for my efforts. > > I have started a thread in the amavisd-new users mailing list, since > bayesian filtering is off-topic here. > > However, before ending this thread, I would like to ask: all these rules for > which you have defined scores: > > score LOTS_OF_MONEY 0.9 > score FREEMAIL_FORGED_FROMDOMAIN 0.5 > score WEIRD_PORT 1.5 > score TO_IN_SUBJ 1.0 > > score RCVD_IN_MSPIKE_BL 1.0 > score RCVD_IN_MSPIKE_L5 2.5 > score RCVD_IN_MSPIKE_L4 2.0 > ... > > ...are custom rules you have set up? If so, what do they look like?(You may > want to reply off-list, if you deem it is more approrpriate.)
These are not custom rules. You may need to look into the amavisd documentation to see if they do anything unusual with SA, but those rules are part of the normal SA install. > The same question goes for the SPF rules. > > I am asking because I see: > > # spamassassin -D --lint > ... > Aug 27 17:13:56.860 [10384] dbg: config: warning: score set for > non-existent rule RCVD_IN_MSPIKE_H4 > Aug 27 17:13:56.860 [10384] dbg: config: warning: score set for > non-existent rule RCVD_IN_MSPIKE_WL > <SNIP> > Also note that re. SPF tests, I see: > > # spamassassin -D --lint > ... > Aug 27 17:13:58.228 [10384] warn: rules: failed to run SPF_NONE > test, skipping: > Aug 27 17:13:58.229 [10384] warn: (Can't locate object method > "check_for_spf_none" via package "Mail: > <SNIP> > > What may be a problem here? Since you're not using SA in the same way I am, I can't really say. Note that SA has a rules update mechanism that may need to be triggered to get the full rule set. --Sean