Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread Jared Hall
On 2/16/2023 9:13 PM, joe a wrote: Well, I am in unfamiliar waters. picking one error message as typical: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/iXhash2.pm: lib/Mail/SpamAssassin/Plugin/iXhash2.pm: Permission denied at (eval 1746) line 1. The

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 8:28 PM, Matija Nalis wrote: On Thu, Feb 16, 2023 at 05:34:37PM -0500, joe a wrote: Oh, of course. I installed as root initially, being foolish perhaps, but did create a specific user "later" and adjusted permissions as needed. Or, so I thought. well, installing as root

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread Matija Nalis
On Thu, Feb 16, 2023 at 05:34:37PM -0500, joe a wrote: > Oh, of course. I installed as root initially, being foolish perhaps, but > did create a specific user "later" and adjusted permissions as needed. Or, > so I thought. well, installing as root (especially with restrictive umask) manually

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
. . . it also runs with another environment, so it may miss PATHes or @INC directories. That throws me a curve.  What is an @INC directory?  SA specific? I do not find any with the locate command, but if the are an actual directory may need to escape the @ sign somehow.  \ does not seem to do

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 5:32 PM, hg user wrote: On Thu, Feb 16, 2023 at 9:57 PM joe a > wrote: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied at

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
. . . I have no idea what you refer to when you state "don't user proper packages".  "Proper" in what sense? A rhetorical question. i have no idea how you installed SA but rpm packages or debs usually have correct permissions Oh, of course. I installed as root initially, being foolish

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread hg user
On Thu, Feb 16, 2023 at 9:57 PM joe a wrote: > > plugin: failed to parse plugin (from @INC): Can't locate > Mail/SpamAssassin/Plugin/SpamCop.pm: > lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied at (eval 44) > line 1. > root can do anything. a restricted user can't: it's only allowed

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/16/2023 4:30 PM, Reindl Harald wrote: Am 16.02.23 um 21:57 schrieb joe a: I understand that sa-learn should be run as the same user as spamd, however I find it has always been run as root and when running as the spamassassin user results in errors, such as: ~su -c "sa-learn --spam

Re: BAYES_00 BODY. Negative score?

2023-02-16 Thread joe a
On 2/14/2023 6:09 PM, joe a wrote: Please let this sit for a while, I've discovered a fundamental issue with my scheme of feeding messages to BAYES.  Unfortunately I was remiss, apparently, it setting up logging for some bits, so have no idea how long this has been failing. Sorry for the

Re: Strange findings debugging bayes results

2023-02-16 Thread Matija Nalis
On Thu, Feb 16, 2023 at 01:02:25PM +0200, Henrik K wrote: > On Thu, Feb 16, 2023 at 10:18:50AM +0100, hg user wrote: > > Every score is based on headers, very generic headers. and some > > related to my setup. > > > > Not a single token from the message body > > The Bayes implementation has

Re: Strange findings debugging bayes results

2023-02-16 Thread Axb
I've updated 23_bayes_ignore_header.cf (last update was from 2016 :) https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc/sandbox/axb/23_bayes_ignore_header.cf Axb On 2/16/23 14:17, Dave Wreski wrote: Here's also another 50+ headers we've collected over the years that I believe started

Re: Strange findings debugging bayes results

2023-02-16 Thread Dave Wreski
Hi, Here's also another 50+ headers we've collected over the years that I believe started as a list from AXB 10+ years ago. https://pastebin.com/raw/f6Fwh8HJ dave On 2/16/23 6:02 AM, Henrik K wrote: On Thu, Feb 16, 2023 at 10:18:50AM +0100, hg user wrote: I was investigating a bunch of

Re: Strange findings debugging bayes results

2023-02-16 Thread Henrik K
On Thu, Feb 16, 2023 at 10:18:50AM +0100, hg user wrote: > I was investigating a bunch of bitcoin spam: different titles, > different senders (all from gmail), different text, different pdf > attachment. > > Unfortunately in those days my bayes db was polluted and they all got > a BAYES_50, 0.8.

Strange findings debugging bayes results

2023-02-16 Thread hg user
I was investigating a bunch of bitcoin spam: different titles, different senders (all from gmail), different text, different pdf attachment. Unfortunately in those days my bayes db was polluted and they all got a BAYES_50, 0.8. I tested the messages now with a recreated bayes db and got some