Cannot test spamassassin, what is going on here?
Les
nagylzs at gmail.com
Fri Sep 11 12:33:28 UTC 2015
> > What's next?
>
> Is /usr/local/etc/MailScanner a valid spamassassin configuration directory
> ?
>
It's not.
>
> I think what you want is
>
> su postfix -c 'spamassassin -p
> /usr/local/etc/MailScanner/spam.assassin.prefs.conf < /tmp/test.eml '
>
Also need the -t option.
su postfix -c 'spamassassin -p
/usr/local/etc/MailScanner/spam.assassin.prefs.conf -t < /tmp/test.eml '
Result is this:
Content analysis details: (-5.0 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,
high
trust
[8.8.178.116 listed in list.dnswl.org]
0.0 T_TVD_MIME_EPI BODY: No description available.
So it is still identified as ham. But the live server has identified it as
spam. :-(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150911/6f7b8c75/attachment.html>
More information about the MailScanner
mailing list