Bayes problem

Nenad Vijatov nenad.vijatov at gmail.com
Fri Jun 1 08:28:41 IST 2012


As I know, my MailScanner is running under postfix user.
I dont have softlink, so I suppose that you mean to link
/etc/mail/spamassassin/local.cf to
/etc/MailScanner/spam.assassin.prefs.conf?  I also think that MailScanner
does not use spamd by default, but call spamassasssin via perl API? Am I
right?


--
Greetings,
Nenad Vijatov



On Thu, May 31, 2012 at 1:28 PM, Joolee <mailscanner at joolee.nl> wrote:

> As Arjan stated, use sa-learn with sudo to run it in the same user as
> Mailscanner uses.
>
> Also, there should be a softlink in your /etc/spamassassin folder to
> /etc/MailScanner/spam.assassin.prefs.conf. If there isn't, changing the
> spam.assassin.prefs.conf will produce weird results.
>
> Are you aware that Mailscanner doesn't use spamd but runs spamassassin
> directly by its perl API?
>
> On 31 May 2012 11:49, Nenad Vijatov <nenad.vijatov at gmail.com> wrote:
>
>> Hi guys,
>>
>> I have a problem with spamassassin bayes autolearn, exactly the problem
>> is I have different bayed db:
>>
>> sa-learn --dump magic:
>> 0.000          0          3          0  non-token data: bayes db version
>> 0.000          0         27          0  non-token data: nspam
>> 0.000          0          0          0  non-token data: nham
>> 0.000          0      28179          0  non-token data: ntokens
>>
>> sa-learn --dump magic -p /etc/MailScanner/spam.assassin.prefs.conf:
>> 0.000          0          3          0  non-token data: bayes db version
>> 0.000          0         89          0  non-token data: nspam
>> 0.000          0        135          0  non-token data: nham
>> 0.000          0      21025          0  non-token data: ntokens
>>
>> Is this a problem with wrong configuration, does my spamassassin use
>> spam.assassin.prefs.conf or not? And how I can be sure that my spamassassin
>> uses spam.assassin.prefs.conf or not, and which one of those two dumps are
>> the right one that spamassassin use?
>>
>>
>> Thank you & Cheers!
>>
>>
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120601/a96a3dbf/attachment.html


More information about the MailScanner mailing list