Inconsistent SpamAssassin report

diederik at webrelated.nl diederik at webrelated.nl
Tue Feb 7 15:46:57 UTC 2017


Dear Shawn,

Indeed, running that command produces another set of results, so now I have three different SA reports on the same email. Interesting to note is the following things:

1. This command throws me the following warning:
Feb  7 15:39:27.217 [3250] warn: config: path "/root/.spamassassin" is inaccessible: Permission denied
Feb  7 15:39:27.218 [3250] warn: config: path "/root/.spamassassin/user_prefs" is inaccessible: Permission denied
Feb  7 15:39:27.218 [3250] warn: config: default user preference file /root/.spamassassin/user_prefs not accessible: Permission denied

2. In found out that whenever I run MailScanner --lint in the /root directory, I get an error saying that SpamAssassin is not installed.

3. Similar to the previous point, whenever I run the command you proposed in the /root folder, I get the following errors:
Feb  7 15:41:20.572 [3263] warn: 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 35) line 1.
Feb  7 15:41:20.572 [3263] warn: 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 36) line 1.
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/WhiteListSubject.pm: lib/Mail/SpamAssassin/Plugin/WhiteListSubject.pm: Permission denied at (eval 37) line 1.
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/MIMEHeader.pm: lib/Mail/SpamAssassin/Plugin/MIMEHeader.pm: Permission denied at (eval 38) line 1.

This continues for another 20 lines or so. I do not know whether point two and three are related to my initial problem, but I thought it was worth mentioning.


Thanks in advance,
Diederik



> Diederik,
>
> Does this also produce yet a different set of results?
>
> sudo su - postfix -c "spamassassin -t -d < path/to/spamemail"


More information about the MailScanner mailing list