As I know, my MailScanner is running under postfix user.<br>I dont have softlink, so I suppose that you mean to link /etc/mail/spamassassin/<a href="http://local.cf">local.cf</a> 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?<br>
<br><br>--<br>Greetings,<br>Nenad Vijatov<br><br><br><br><div class="gmail_quote">On Thu, May 31, 2012 at 1:28 PM, Joolee <span dir="ltr"><<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As Arjan stated, use sa-learn with sudo to run it in the same user as Mailscanner uses.<br><br>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.<br>
<br>Are you aware that Mailscanner doesn't use spamd but runs spamassassin directly by its perl API?<br><br><div class="gmail_quote"><div><div class="h5">On 31 May 2012 11:49, Nenad Vijatov <span dir="ltr"><<a href="mailto:nenad.vijatov@gmail.com" target="_blank">nenad.vijatov@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi guys,<br><br>I have a problem with spamassassin bayes autolearn, exactly the problem is I have different bayed db:<br>
<br><font><span style="font-family:courier new,monospace">sa-learn --dump magic:</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">0.000 0 3 0 non-token data: bayes db version</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">0.000 0 27 0 non-token data: nspam</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">0.000 0 0 0 non-token data: nham</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">0.000 0 28179 0 non-token data: ntokens</span></font><br>
<br><span style="font-family:courier new,monospace">sa-learn --dump magic -p /etc/MailScanner/spam.assassin.prefs.conf:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">0.000 0 3 0 non-token data: bayes db version</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">0.000 0 89 0 non-token data: nspam</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">0.000 0 135 0 non-token data: nham</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">0.000 0 21025 0 non-token data: ntokens</span><br><br>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?<br>
<br><br>Thank you & Cheers!<br><br><br><br>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></font></span></blockquote></div><br>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>