Bayes problem

Nenad Vijatov nenad.vijatov at gmail.com
Fri Jun 1 12:53:08 IST 2012


Gleen helped me, thank you all especially Gleen.


--
Cheer,
Nenad Vijatov


On Fri, Jun 1, 2012 at 1:22 PM, Nenad Vijatov <nenad.vijatov at gmail.com>wrote:

> OK, If I understand you, steps are:
>
> 1. rename local.cf to local.cf_whatever in /etc/mail/spamassassin/
> 2. make symbolic link /etc/MailScanner/spam.assassin.prefs.conf to
> /etc/mail/spamassassin/mailscanner.cf
> 3. restart MailScanner
>
> Am I right? :)
> So spamassassin ONLY read config files from /etc/mail/spamassassin by
> default, and because of that we need config file on that path?
>
>
> --
> Cheers!
> Nenad Vijatov
>
>
>
> On Fri, Jun 1, 2012 at 12:54 PM, Glenn Steen <glenn.steen at gmail.com>wrote:
>
>> MS call SA directly, via the perl function, yes.
>> Verify if you have thevstandard symbolic link with:
>> ls -l /etc/mail/spamassassin/mailscanner.cf
>>
>> If not present, create it with some tävling like:
>> ln -s /path/to/spam.assassim.prefs.conf /etc/mail/spamassassin/
>> mailscanner.cf
>> ... where you replace /path/to/ with the files actual location on your
>> system.
>>
>> --
>> -- Glenn
>> Den 1 jun 2012 12:43 skrev "Nenad Vijatov" <nenad.vijatov at gmail.com>:
>>
>> 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!
>>>>
>>>>
>>>
>>> --
>>> 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/fc05d156/attachment.html


More information about the MailScanner mailing list