Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 07:37:52 +0200
From:      =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= <gandalf@shopzeus.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: {Spam?} Re: {Spam?} Re: Cannot test spamassassin, what is going on here?
Message-ID:  <55F65D30.4080103@shopzeus.com>
In-Reply-To: <20150911143329.3c3cf3c8@gumby.homeunix.com>
References:  <55F0212B.9090708@shopzeus.com> <20150910134146.2a987efd@gumby.homeunix.com> <55F27119.4090705@shopzeus.com> <20150911143329.3c3cf3c8@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>> 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.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F65D30.4080103>