<div dir="ltr">Ahh yes, see Jerry's later reply.  You need to point to the /etc/MailScanner/spamassassin.<wbr>conf.  Hence the error messages also in this case.  Although, assuming MailScanner is running as the postfix user, you may need to continue looking into this deeper.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 10:46 AM, Diederik van den Burger <span dir="ltr"><<a href="mailto:diederik@webrelated.nl" target="_blank">diederik@webrelated.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Shawn,<br>
<br>
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:<br>
<br>
1. This command throws me the following warning:<br>
Feb  7 15:39:27.217 [3250] warn: config: path "/root/.spamassassin" is inaccessible: Permission denied<br>
Feb  7 15:39:27.218 [3250] warn: config: path "/root/.spamassassin/user_<wbr>prefs" is inaccessible: Permission denied<br>
Feb  7 15:39:27.218 [3250] warn: config: default user preference file /root/.spamassassin/user_prefs not accessible: Permission denied<br>
<br>
2. In found out that whenever I run MailScanner --lint in the /root directory, I get an error saying that SpamAssassin is not installed.<br>
<br>
3. Similar to the previous point, whenever I run the command you proposed in the /root folder, I get the following errors:<br>
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/<wbr>SpamCop.pm: lib/Mail/SpamAssassin/Plugin/<wbr>SpamCop.pm: Permission denied at (eval 35) line 1.<br>
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/<wbr>AutoLearnThreshold.pm: lib/Mail/SpamAssassin/Plugin/<wbr>AutoLearnThreshold.pm: Permission denied at (eval 36) line 1.<br>
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/<wbr>WhiteListSubject.pm: lib/Mail/SpamAssassin/Plugin/<wbr>WhiteListSubject.pm: Permission denied at (eval 37) line 1.<br>
Feb  7 15:41:20.572 [3263] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/<wbr>MIMEHeader.pm: lib/Mail/SpamAssassin/Plugin/<wbr>MIMEHeader.pm: Permission denied at (eval 38) line 1.<br>
<br>
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.<br>
<br>
<br>
Thanks in advance,<br>
Diederik<br>
<br>
<br>
<br>
> Diederik,<br>
><br>
> Does this also produce yet a different set of results?<br>
><br>
> sudo su - postfix -c "spamassassin -t -d < path/to/spamemail"<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 x271</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><br></div></div></div></div></div></div></div></div></div>
</div>