<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> What's next?<br>
<br>
Is /usr/local/etc/MailScanner a valid spamassassin configuration directory ?<br></blockquote><div>It's not. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I think what you want is<br>
<br>
su postfix -c 'spamassassin -p /usr/local/etc/MailScanner/spam.assassin.prefs.conf < /tmp/test.eml '<br></blockquote><br></div>Also need the -t option.<br><span style="font-family:monospace,monospace"><br>su postfix -c 'spamassassin -p /usr/local/etc/MailScanner/spam.assassin.prefs.conf -t < /tmp/test.eml '</span><br><br></div><div class="gmail_extra">Result is this:<br><br><br><span style="font-family:monospace,monospace">Content analysis details:   (-5.0 points, 5.0 required)<br><br> pts rule name              description<br>---- ---------------------- --------------------------------------------------<br>-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at <a href="http://www.dnswl.org/">http://www.dnswl.org/</a>, high<br>                            trust<br>                            [8.8.178.116 listed in <a href="http://list.dnswl.org">list.dnswl.org</a>]<br> 0.0 T_TVD_MIME_EPI         BODY: No description available.</span><br><br></div><div class="gmail_extra">So it is still identified as ham. But the live server has identified it as spam. :-(<br></div></div>