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 clutter.
joe a.
Re-energized having recently heroically wrestled an elusive issue (to
me) into surrender . . . we now turn to another issue.
Probably I need to retrain BAYES "From scratch". I have a mess (years?)
of stored sample emails that and be relearned.
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 /var/mail/spamd/Cabinet.Missed-SPAM" spamfilter
results in errors, starting with:
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.
plugin: failed to parse plugin (from @INC): Can't locate
Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm:
lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm: Permission denied at
(eval 45) line 1.
One might presume this to be a permissions issue (where would I get THAT
idea?) but permissions to what? As I cannot seem to find the items
mentioned even as root.
Running with the -D option does produce more, after that list of
permission denied items
Feb 16 15:55:30.884 [10384] dbg: config: warning: no description set for
STOX_REPLY_TYPE_WITHOUT_QUOTES
Feb 16 15:55:30.884 [10384] dbg: config: warning: no description set for
MSOE_MID_WRONG_CASE
Feb 16 15:55:30.884 [10384] dbg: config: warning: no description set for
HELO_FRIEND
Feb 16 15:55:30.884 [10384] dbg: config: warning: no description set for
STOX_AND_PRICE
Feb 16 15:55:30.884 [10384] dbg: config: warning: no description set for
L_SPAM_TOOL_13
Feb 16 15:55:30.885 [10384] dbg: config: warning: no description set for
FSL_FAKE_HOTMAIL_RVCD
Means something to someone I guess.