Cannot test spamassassin, what is going on here?
Les
nagylzs at gmail.com
Tue Sep 15 10:34:54 UTC 2015
I'm a bit closer to the solution now. Here is what I have found in the
message headers:
X-shopzeus-MailScanner-SpamCheck: spam, JUNKEMAIL
And there is a JUNKEMAIL RBL list setting indeed:
# grep JUNKE spam.lists.conf
JUNKEMAIL hostkarma.junkemailfilter.com.
I have realized that most of the false positives came from this RBL.
After removing JUNKEMAIL RBL list from the checks, most non-spam mails
are not classified as spam.
This still does not explain why spamassassin is giving different
results when ran from the command line.
The strangest thing is that I cannot find any blacklisting of any of
the addresses at junkemail.
The problem is almost solved, but I'm really curious. What is happening here?
2015-09-11 14:33 GMT+02:00 Les <nagylzs at gmail.com>:
>
> > 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/20150915/1fe234dd/attachment.html>
More information about the MailScanner
mailing list