<div dir="ltr">Using the -c option.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 12:55 PM, Paul Scott <span dir="ltr"><<a href="mailto:sales@edenusa.com" target="_blank">sales@edenusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<p dir="auto" style="text-align:left;margin-top:25px;margin-bottom:25px;font-family:sans-serif;font-size:11pt;color:black;background-color:white">
Where is this pointing to done?</p>
<p dir="auto" style="text-align:left;margin-top:25px;margin-bottom:25px;font-family:sans-serif;font-size:11pt;color:black;background-color:white">
</p>
<p dir="auto" style="text-align:left;margin-top:25px;margin-bottom:25px;font-family:sans-serif;font-size:11pt;color:black;background-color:white">
Paul Scott<br>
Eden USA, Inc.<br>
<a href="tel:(866)%20501-3336" value="+18665013336" target="_blank">866.501.3336</a></p>
<br>
<p></p>
<br>
<br>
<br>
<div class="gmail_quote">On Tue, Feb 7, 2017 at 9:53 AM -0800, "Shawn Iverson" <span dir="ltr">
<<a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<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_pref<wbr>s" 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/SpamC<wbr><a href="http://op.pm">op.pm</a>: lib/Mail/SpamAssassin/Plugin/S<wbr>pamCop.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/AutoL<wbr>earnThreshold.pm: lib/Mail/SpamAssassin/Plugin/A<wbr>utoLearnThreshold.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/White<wbr>ListSubject.pm: lib/Mail/SpamAssassin/Plugin/W<wbr>hiteListSubject.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/MIMEH<wbr><a href="http://eader.pm">eader.pm</a>: lib/Mail/SpamAssassin/Plugin/M<wbr>IMEHeader.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="m_4980050279594838175HOEnZb"><font color="#888888"><br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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></font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_4980050279594838175gmail_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><a href="tel:(765)%20932-3901" value="+17659323901" target="_blank">765-932-3901 x271</a></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>
</font></span></div>
</div>
</blockquote>
</div>
</div>

<br><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>
<br></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>