Re: spamassassin bayes rules

2015-01-06 Thread Mark Martinec
Filip Havlíček wrote: Anybody can help with this? I still cannot find some helpful information, thanks. Dne 10.12.2014 v 14:52 Christian Grunfeld napsal(a): when you run bayes in SQL and does sa-learn --username it will not try to setuid to that user (in a real system user scenario it will f

Re: spamassassin bayes rules

2015-01-05 Thread Filip Havlíček
Anybody can help with this? I still cannot find some helpful information, thanks. Dne 10.12.2014 v 14:52 Christian Grunfeld napsal(a): when you run bayes in SQL and does sa-learn --username it will not try to setuid to that user (in a real system user scenario it will fail for non existent user

Re: spamassassin bayes rules

2014-12-10 Thread Christian Grunfeld
when you run bayes in SQL and does sa-learn --username it will not try to setuid to that user (in a real system user scenario it will fail for non existent users). Instead it uses that username to save and recall data from database. Due to forged addresses your system treat any originating address

spamassassin bayes rules

2014-12-10 Thread Filip Havlíček
Hi, I have configured spamasssin with bayes user rules with this configuration: http://pastebin.com/KWW78DJx I would like to ask you, if everything is correct, because I found in table bayes_vars lot of (thousands) unknown email addresses like: a...@hotmail.com ablewi...@hotmail.com abl...@hot

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

RE: bayes rules

2007-06-05 Thread Sujit Acharyya-Choudhury
We are using spamassassin at the gateway level with exim. Is it a good idea to use bayes as we don't know which is ham or spam - and the users are unlikely to give us the feed back from different system. In that case bayes learning ability will be compromised. If bayes can be used how can I mo

Re: bayes rules

2007-06-04 Thread arni
Sujit Acharyya-Choudhury schrieb: We are using spamassassin at the gateway level with exim. Is it a good idea to use bayes as we don't know which is ham or spam - and the users are unlikely to give us the feed back from different system. In that case bayes learning ability will be compromised.

Re: bayes rules

2007-06-04 Thread Richard Frovarp
Sujit Acharyya-Choudhury wrote: We are using spamassassin at the gateway level with exim. Is it a good idea to use bayes as we don't know which is ham or spam - and the users are unlikely to give us the feed back from different system. In that case bayes learning ability will be compromised. I

bayes rules

2007-06-04 Thread Sujit Acharyya-Choudhury
We are using spamassassin at the gateway level with exim. Is it a good idea to use bayes as we don't know which is ham or spam - and the users are unlikely to give us the feed back from different system. In that case bayes learning ability will be compromised. If bayes can be used how can I modi

Re: Bayes rules taking minutes - solved by moving to innodb?

2006-03-30 Thread Bill Taroli
Andrew Donkin wrote: So I tried to convert bayes_token to InnoDB to take advantage of its row-level locking (this is advised by the developers but not reflected in bayes_mysql.sql). After MySQL worked on that for a few days I stopped it, dropped the database (innodb was very confused), and recre

Bayes rules taking minutes - solved by moving to innodb?

2006-03-23 Thread Andrew Donkin
Hi, people. This started as a plea for help but ended as a report of an investigation, so hopefully it will be a useful addition to the archives. About 1% of my scans were taking more than 300 seconds. Extra debugging in spamd showed me that the Bayes checks were the culprit: 13:38:05 spamd[16

Best bayes/rules combination

2005-05-03 Thread Dimitri Yioulos
Hello to all. WHile I've been running sendmail/spamassassin/clamav/mailscanner/mailwatch successfully for some time. Up to now, I've largely been using sare rulesets, and have had quite good success. But recently I've been trained bayes. Is there an "optimal" combination of bayes and other r