Re: Trying Bayes / Redis

2015-12-12 Thread Benny Pedersen
On December 13, 2015 1:16:17 AM Marc Perkel wrote: Because I'd have to upgrade 50 servers for consistency and if I do that I'll probably try something other than centos. okay, it just not how i would solve +1 server farms in gentoo, here i would emerge --buildpkgonly on master, and then eme

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 15:28, Benny Pedersen wrote: On December 12, 2015 5:49:27 PM Marc Perkel wrote: I can put redis in thew yum exception list so much precompiled problems, why not upgrade to centos 7 ? Because I'd have to upgrade 50 servers for consistency and if I do that I'll probably try

Re: Trying Bayes / Redis

2015-12-12 Thread Reindl Harald
Am 13.12.2015 um 00:28 schrieb Benny Pedersen: On December 12, 2015 5:49:27 PM Marc Perkel wrote: I can put redis in thew yum exception list so much precompiled problems blablub nonsense as usual why not upgrade to centos 7 ? because it's the purpose of a LTS not have major updates f

Re: Strange behaviour by the AWL module

2015-12-12 Thread Benny Pedersen
On December 12, 2015 8:33:28 PM Sebastian Arcus wrote: I guess I must be using the default settings - as I don't think I've configured anything in particular for AWL change default /16 cidr to new default /24 for ipv4, for ipv6 use /64, if you like to track on /32 for ipv4 then each ipv4 wil

Re: Trying Bayes / Redis

2015-12-12 Thread Benny Pedersen
On December 12, 2015 5:49:27 PM Marc Perkel wrote: I can put redis in thew yum exception list so much precompiled problems, why not upgrade to centos 7 ?

Re: Strange behaviour by the AWL module

2015-12-12 Thread John Hardin
On Sat, 12 Dec 2015, Sebastian Arcus wrote: On 12/12/15 18:21, John Hardin wrote: On Sat, 12 Dec 2015, Sebastian Arcus wrote: > One of my servers received a spam message which SA missed, with the > following report: > > -0.4 AWLAWL: Adjusted score from AWL reputation

Re: Trying to understand how bayes works.

2015-12-12 Thread Reindl Harald
Am 12.12.2015 um 20:12 schrieb Axb: On 12/12/2015 05:13 PM, RW wrote: The number of tokens depends on how many you train, not on how many you scan. Obvious... via autolearn my Bayes gets a constant feed of +500k "forced learn" spams/day. Works for me to expire those after 3 or 7 days, depen

Re: Strange behaviour by the AWL module

2015-12-12 Thread Sebastian Arcus
On 12/12/15 13:06, Benny Pedersen wrote: Sebastian Arcus skrev den 2015-12-12 12:51: Why would AWL now tilt things heavily towards ham, after the message has just been learned as spam? its how AWL works It seems to be making things worse instead of better. Unless I am misunderstanding what

Re: Strange behaviour by the AWL module

2015-12-12 Thread Sebastian Arcus
On 12/12/15 18:21, John Hardin wrote: On Sat, 12 Dec 2015, Sebastian Arcus wrote: One of my servers received a spam message which SA missed, with the following report: -0.4 AWLAWL: Adjusted score from AWL reputation of From: address After learning the messages as spam

Re: Trying to understand how bayes works.

2015-12-12 Thread Axb
On 12/12/2015 05:13 PM, RW wrote: The number of tokens depends on how many you train, not on how many you scan. Obvious... via autolearn my Bayes gets a constant feed of +500k "forced learn" spams/day. Works for me to expire those after 3 or 7 days, depending on the trap feed. Production tra

Re: Strange behaviour by the AWL module

2015-12-12 Thread John Hardin
On Sat, 12 Dec 2015, Sebastian Arcus wrote: One of my servers received a spam message which SA missed, with the following report: -0.4 AWLAWL: Adjusted score from AWL reputation of From: address After learning the messages as spam into bayes with sa-learn, I get the fol

Re: Trying Bayes / Redis

2015-12-12 Thread Reindl Harald
Am 12.12.2015 um 18:57 schrieb Marc Perkel: On 12/12/15 09:36, Martin Gregorie wrote: On Sat, 2015-12-12 at 08:49 -0800, Marc Perkel wrote: I can put redis in thew yum exception list Or, you can install your self-built version in /usr/local/bin and adjust $PATH so it preceeds /usr and /usr

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 09:36, Martin Gregorie wrote: On Sat, 2015-12-12 at 08:49 -0800, Marc Perkel wrote: I can put redis in thew yum exception list Or, you can install your self-built version in /usr/local/bin and adjust $PATH so it preceeds /usr and /usr/bin. This will protect your version from yum

Re: Trying Bayes / Redis

2015-12-12 Thread Martin Gregorie
On Sat, 2015-12-12 at 08:49 -0800, Marc Perkel wrote: > I can put redis in thew yum exception list > Or, you can install your self-built version in /usr/local/bin and adjust $PATH so it preceeds /usr and /usr/bin. This will protect your version from yum or dnf updates. Then keep an eye on subse

Re: Trying Bayes / Redis

2015-12-12 Thread Reindl Harald
Am 12.12.2015 um 18:24 schrieb Marc Perkel: On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely need to upgrde to 3.x and you'll probabl

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely need to upgrde to 3.x and you'll probably need to nuke your DB dump before the upgrad

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 69569 0 non-token data: nspam 0.000 0 88747 0 non-token data: nham 0.000 0 0 0 non-token data: ntokens 0.000

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 08:47, Reindl Harald wrote: Am 12.12.2015 um 17:44 schrieb Marc Perkel: On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 08:47, Reindl Harald wrote: Am 12.12.2015 um 17:44 schrieb Marc Perkel: On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely

Re: Trying Bayes / Redis

2015-12-12 Thread Reindl Harald
Am 12.12.2015 um 17:44 schrieb Marc Perkel: On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely need to upgrde to 3.x and you'll probably

Re: Trying Bayes / Redis

2015-12-12 Thread Marc Perkel
On 12/12/15 02:38, Axb wrote: On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely need to upgrde to 3.x and you'll probably need to nuke your DB dump before the upgrad

Re: Trying to understand how bayes works.

2015-12-12 Thread Reindl Harald
Am 12.12.2015 um 17:13 schrieb RW: On Sat, 12 Dec 2015 13:29:40 +0100 Axb wrote: On 12/12/2015 01:08 PM, Reindl Harald wrote: I hate stale data... that's all But you do keep stale data in the retained tokens, what you are getting rid of is the contribution from old mails that's least lik

Re: Trying to understand how bayes works.

2015-12-12 Thread RW
On Sat, 12 Dec 2015 13:29:40 +0100 Axb wrote: > On 12/12/2015 01:08 PM, Reindl Harald wrote: > >> I hate stale data... that's all But you do keep stale data in the retained tokens, what you are getting rid of is the contribution from old mails that's least likely to make a difference to any

Re: Strange behaviour by the AWL module

2015-12-12 Thread Benny Pedersen
Sebastian Arcus skrev den 2015-12-12 12:51: Why would AWL now tilt things heavily towards ham, after the message has just been learned as spam? its how AWL works It seems to be making things worse instead of better. Unless I am misunderstanding what AWL is supposed to be doing? what are yo

Strange behaviour by the AWL module

2015-12-12 Thread Sebastian Arcus
One of my servers received a spam message which SA missed, with the following report: Content analysis details: (3.1 points, 5.0 required) pts rule name description -- -- 0.0 FREEMAIL_FROM Sender

Re: Trying to understand how bayes works.

2015-12-12 Thread Axb
On 12/12/2015 02:07 AM, Reindl Harald wrote: Am 11.12.2015 um 20:58 schrieb Axb: I hate stale data... that's all how can bayes data be stale? a spam message is a spam message now, tomorrow and next year the same especially for ham over time... header patterns change url patterns change ht

Re: missing Mail/SpamAssassin/CompiledRegexps/body_0.pm

2015-12-12 Thread Benny Pedersen
On December 12, 2015 9:53:33 AM Matthias Apitz wrote: Before digging into the creation process for the package, I wanted to ask if there could be some other reason. Thanks sa-compile, just dont add it to ports make a badh with sa-update sa-compile run it daily, and remember start glue that

Re: missing Mail/SpamAssassin/CompiledRegexps/body_0.pm

2015-12-12 Thread Kevin A. McGrail
You need to look at sa-compile. Regards, KAM On December 12, 2015 3:53:04 AM EST, Matthias Apitz wrote: > >Hello, > >While looking after some other problem in /var/log/maillog, I found >lines like this: > >Dec 12 09:41:29 c720-r285885-amd64 spamd[2253]: Can't locate >Mail/SpamAssassin/CompiledReg

Re: Trying Bayes / Redis

2015-12-12 Thread Axb
On 12/12/2015 12:28 AM, Marc Perkel wrote: redis_version:2.4.10 You're using an ancient Redis version... SA makes use of LUA support which was added in 2.6.0 You definitely need to upgrde to 3.x and you'll probably need to nuke your DB dump before the upgrade...

missing Mail/SpamAssassin/CompiledRegexps/body_0.pm

2015-12-12 Thread Matthias Apitz
Hello, While looking after some other problem in /var/log/maillog, I found lines like this: Dec 12 09:41:29 c720-r285885-amd64 spamd[2253]: Can't locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (you may need to install the Mail::SpamAssassin::CompiledRegexps::body_0 module) (@INC cont