Re: Help in understanding why SA not using bayes rules.

2013-11-24 Thread John Hardin
On Sun, 24 Nov 2013, Matus UHLAR - fantomas wrote: > >  And every week I teach SpamAssassin with those mailboxes with script: > >   > >  #!/bin/sh > >  DIR=/var/spool/mail/prem-ekb.ru > >  sa-learn --clear > >  sa-learn --spam ${DIR}/s...

Re: Help in understanding why SA not using bayes rules.

2013-11-24 Thread Matus UHLAR - fantomas
 And every week I teach SpamAssassin with those mailboxes with script:    #!/bin/sh  DIR=/var/spool/mail/prem-ekb.ru  sa-learn --clear  sa-learn --spam ${DIR}/s...@prem-ekb.ru/cur/*S{a,} In FreeBSD /bin/sh is a minimal POSIX bourne shell, brac

Re: Help in understanding why SA not using bayes rules.

2013-11-24 Thread Гуляев Гоша
>>  And every week I teach SpamAssassin with those mailboxes with script: >>   >>  #!/bin/sh >>  DIR=/var/spool/mail/prem-ekb.ru >>  sa-learn --clear >>  sa-learn --spam ${DIR}/s...@prem-ekb.ru/cur/*S{a,} > > In FreeBSD /bin/sh is a minimal POSIX

Re: Help in understanding why SA not using bayes rules.

2013-11-24 Thread RW
On Sat, 23 Nov 2013 00:33:51 +0600 ?? wrote: > Hi All! > I've read a number of articles about a FreeBSD + Postfix + Dovecot + > Amavisd + Clamav + SpamAssassin + MySQL system. And with these > materials I set up a mail server. > OS: Fre

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Axb
On 11/23/2013 11:29 AM, Гуляев Гоша wrote: Many thanks Benny and AxB ! I change SA to file store bayes_path = /var/sb/bayes bayes_file_mode = 0666 and now it works. After checking message from spam it has BAYES_99 header Thank you a lot! Good to hear it works. Note: Watch for locks if you're

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Benny Pedersen
Гуляев Гоша skrev den 2013-11-23 11:29: But I think it will be good to investigate root of SQL-based problem for developers :) note is that mysql 5.5 is not yet stable on gentoo :) google mysql 5.5 innodb, there is more then one bug there

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Гуляев Гоша
Many thanks Benny and AxB ! I change SA to file store bayes_path = /var/sb/bayes bayes_file_mode = 0666 and now it works. After checking message from spam it has BAYES_99 header Thank you a lot! But I think it will be good to investigate root of SQL-based problem for developers :)

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Гуляев Гоша
23.11.2013, 16:07, "Axb" : > According to your --dump magic info, I assume you're running a rather > small system. > > If indeed low traffic, are you really sure you *need*  Bayes in MySQL? > (low traffic = less than 50k accepted msgs/day) > > Running file based Bayes would make your life much simp

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Benny Pedersen
Гуляев Гоша skrev den 2013-11-23 11:01: Additional info: Now my SQL scheme for spamass database are in MyISAM (after that number of records after script work, about 140 000, with InnoDB it be 220 000) i have seen this aswell, not always exact counted there when using innodb, i dont think its u

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Axb
According to your --dump magic info, I assume you're running a rather small system. If indeed low traffic, are you really sure you *need* Bayes in MySQL? (low traffic = less than 50k accepted msgs/day) Running file based Bayes would make your life much simpler.

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Гуляев Гоша
Additional info: Now my SQL scheme for spamass database are in MyISAM (after that number of records after script work, about 140 000, with InnoDB it be 220 000) And in script databases first flushes, so I don't understand why number of records are changed with table engine. My terminal are in u

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Гуляев Гоша
23.11.2013, 15:38, "Benny Pedersen" : > Гуляев Гоша skrev den 2013-11-23 10:10: > >>  Benny thanks a lot for your attention! >> >>  I install that modules. >>  Now all modules are installed, and I think maybe that lines are >>  reasons of problem: > > replyed offlist, if my sql setup solves it, m

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Benny Pedersen
Гуляев Гоша skrev den 2013-11-23 10:10: Benny thanks a lot for your attention! I install that modules. Now all modules are installed, and I think maybe that lines are reasons of problem: replyed offlist, if my sql setup solves it, make a bug report if you used setup from spamassassin and it

Re: Help in understanding why SA not using bayes rules.

2013-11-23 Thread Benny Pedersen
Гуляев Гоша skrev den 2013-11-23 09:11: ноя 23 13:56:32.056 [91453] dbg: diag: [...] module not installed: Mail::SPF ('require' failed) ноя 23 13:56:32.056 [91453] dbg: diag: [...] module not installed: IP::Country::Fast ('require' failed) ноя 23 13:56:32.056 [91453] dbg: diag: [...] module not

Re: Help in understanding why SA not using bayes rules.

2013-11-22 Thread Benny Pedersen
Гуляев Гоша skrev den 2013-11-22 19:33: trusted_networks 127. 192.168.3. 192.168.4. 192.168.5. 192.168.6. 192.168.7. 192.168.12. remove 127. whitelist_factory Mail::SpamAssassin::SQLBasedAddrList user_awl_dsn DBI:mysql:spamass:localhost user_awl_sql_usernamespamass

Help in understanding why SA not using bayes rules.

2013-11-22 Thread Гуляев Гоша
Hi All! I've read a number of articles about a FreeBSD + Postfix + Dovecot + Amavisd + Clamav + SpamAssassin + MySQL system. And with these materials I set up a mail server. OS: FreeBSD dom.local 8.4-STABLE FreeBSD 8.4-STABLE #0: Sun Jul 7 09