{Spam?} Re: {Spam?} Re: Cannot test spamassassin, what is going on here?

Nagy László Zsolt gandalf at shopzeus.com
Mon Sep 14 05:38:10 UTC 2015


>> The configuration should be the same
>> ( /usr/local/etc/mail/spamassassin is a symbolic link to
>> /usr/local/etc/MailScanner/spam.assassin.prefs.conf
>
> I presume you meant that there is a symbolic link to
> spam.assassin.prefs.conf *in* /usr/local/etc/mail/spamassassin/
>
> SpamAssassin is probably ignoring this because the file name doesn't
> end in .cf - try renaming the symbolic link.
You are right.  After changing shell of postfix user to csh:

su postfix -c 'spamassassin -p /usr/local/etc/MailScanner/spam.assassin.prefs.conf -t < /tmp/test.eml '

The 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 athttp://www.dnswl.org/,
> high
>                              trust
>                              [8.8.178.116 listed in list.dnswl.org]
>   0.0 T_TVD_MIME_EPI         BODY: No description available.
>

But this is wrong, because the email is still identified as ham. But the live server has identified it as spam => still cannot test spamassassin.





More information about the freebsd-questions mailing list