Re: Trying to understand how bayes works.

2015-12-11 Thread Axb
On 12/11/2015 06:28 AM, Marc Perkel wrote: On 12/10/15 18:31, Benny Pedersen wrote: Marc Perkel skrev den 2015-12-10 22:54: I've had bayes disabled in SA because it seems to not be able to stay working in a high volume situation. The MySQL server can't seem to keep up with it even on very fast

Re: SPF rules and my domain

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 08:56 schrieb Matus UHLAR - fantomas: I don't understand why a message from tripadvisor.com would have SPF_FAIL, and as part of trying to understand how SPF works, I'd like to figure out what's happening. Would someone be able to take a look at this message and figure out why

Re: Trying to understand how bayes works.

2015-12-11 Thread RW
On Thu, 10 Dec 2015 13:54:05 -0800 Marc Perkel wrote: > Bayes breaks the message down into some sort of tokens and then does > statistics on those tokens as to tokens found in spam vs. tokens > found in ham. > > But what about combinations of tokens? I'm thinking that I'd like to > have somethi

Re: Trying to understand how bayes works.

2015-12-11 Thread Benny Pedersen
On December 11, 2015 9:38:49 AM Axb wrote: Again.. SA's Redis backend speed and ease of use can't be beat... mariadb engine=memory hack mariadb start stop to change engine before stop and after start for persistence db There's some help in https://svn.apache.org/repos/asf/spamassassin/tr

Re: SPF rules and my domain

2015-12-11 Thread Matus UHLAR - fantomas
On 10.12.15 22:54, Alex wrote: I don't understand why a message from tripadvisor.com would have SPF_FAIL, and as part of trying to understand how SPF works, I'd like to figure out what's happening. Would someone be able to take a look at this message and figure out why mail from tripadvisor.com

Re: SPF rules and my domain

2015-12-11 Thread Alex
Hi, On Fri, Dec 11, 2015 at 10:33 AM, Matus UHLAR - fantomas wrote: >> On 10.12.15 22:54, Alex wrote: >>> >>> I don't understand why a message from tripadvisor.com would have >>> SPF_FAIL, and as part of trying to understand how SPF works, I'd like >>> to figure out what's happening. >>> >>> Woul

Re: Trying to understand how bayes works.

2015-12-11 Thread Kris Deugau
Marc Perkel wrote: > I've had bayes disabled in SA because it seems to not be able to stay > working in a high volume situation. The MySQL server can't seem to keep > up with it even on very fast computers. I'm curious where you started seeing performance issues (number of messages, users; hardwa

Re: SPF rules and my domain

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 17:11 schrieb Alex: On Fri, Dec 11, 2015 at 10:33 AM, Matus UHLAR - fantomas wrote: On 10.12.15 22:54, Alex wrote: I don't understand why a message from tripadvisor.com would have SPF_FAIL, and as part of trying to understand how SPF works, I'd like to figure out what's happ

Re: Trying to understand how bayes works.

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 17:40 schrieb Kris Deugau: Marc Perkel wrote: I've had bayes disabled in SA because it seems to not be able to stay working in a high volume situation. The MySQL server can't seem to keep up with it even on very fast computers. I'm curious where you started seeing performanc

Re: Trying to understand how bayes works.

2015-12-11 Thread Marc Perkel
On 12/11/15 06:58, RW wrote: On Thu, 10 Dec 2015 13:54:05 -0800 Marc Perkel wrote: Bayes breaks the message down into some sort of tokens and then does statistics on those tokens as to tokens found in spam vs. tokens found in ham. But what about combinations of tokens? I'm thinking that I'd l

Re: Trying to understand how bayes works.

2015-12-11 Thread Reindl Harald
summary to what you said below: that's what bayes already does just rain it properly instead re-invent the whell Am 11.12.2015 um 18:05 schrieb Marc Perkel: What I was thinking about doing was creating a string of tokens that represented key features of the message. Then run that through a prog

Re: Trying to understand how bayes works.

2015-12-11 Thread Dianne Skoll
On Fri, 11 Dec 2015 09:05:10 -0800 Marc Perkel wrote: > What I was thinking about doing was creating a string of tokens that > represented key features of the message. Then run that through a > program that created new tokens out of every possible combination of > 2 tokens and adding that to the

Re: Trying to understand how bayes works.

2015-12-11 Thread Martin Gregorie
On Fri, 2015-12-11 at 09:05 -0800, Marc Perkel wrote: > For example. I create rules that look for many phrases about a > subject > and the subject becomes a token. For examples: > > JESUS > ROYALTY > MONEY > > But themselves not an indicator of spam. But if you have all 3 then > it's > definite

Re: Trying to understand how bayes works.

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 18:42 schrieb Martin Gregorie: For instance, I have two portmanteau rules, SALE (contains sales phrases like "huge discount") and PRODUCT (contains phrases like "fur coat") that are ANDed by a meta called SALESPAM. The nice thing about this approach is that, once the SALE and P

Re: Trying to understand how bayes works.

2015-12-11 Thread Axb
On 12/11/2015 06:51 PM, Reindl Harald wrote: well, how many of you trained chistmas spam this year while my bayes did know it from last year? I like my Bayes fresh like bread out of the oven, new guitar strings and clean sheets. Last years turkey doesn't appeal to me. SCR

Re: Trying to understand how bayes works.

2015-12-11 Thread Reindl Harald
Am 11.12.2015 um 19:12 schrieb Axb: On 12/11/2015 06:51 PM, Reindl Harald wrote: well, how many of you trained chistmas spam this year while my bayes did know it from last year? I like my Bayes fresh like bread out of the oven, new guitar strings and clean sheets. well, i like my bayes cat

Re: Trying to understand how bayes works.

2015-12-11 Thread Joe Quinn
On 12/11/2015 1:24 PM, Reindl Harald wrote: Am 11.12.2015 um 19:12 schrieb Axb: On 12/11/2015 06:51 PM, Reindl Harald wrote: well, how many of you trained chistmas spam this year while my bayes did know it from last year? I like my Bayes fresh like bread out of the oven, new guitar strings

Re: Trying to understand how bayes works.

2015-12-11 Thread Axb
On 12/11/2015 07:29 PM, Joe Quinn wrote: On 12/11/2015 1:24 PM, Reindl Harald wrote: Am 11.12.2015 um 19:12 schrieb Axb: On 12/11/2015 06:51 PM, Reindl Harald wrote: well, how many of you trained chistmas spam this year while my bayes did know it from last year? I like my Bayes fresh like

Re: Trying to understand how bayes works.

2015-12-11 Thread Axb
On 12/11/2015 07:24 PM, Reindl Harald wrote: Am 11.12.2015 um 19:12 schrieb Axb: On 12/11/2015 06:51 PM, Reindl Harald wrote: well, how many of you trained chistmas spam this year while my bayes did know it from last year? I like my Bayes fresh like bread out of the oven, new guitar strings

Trying Bayed / Redis

2015-12-11 Thread Marc Perkel
Trying to set up Bayes using redis. I created a server for redis and have it running. Can't finds the docs on how to create the databases initially and such. And any tips appreciated. Thanks in advance. -- Marc Perkel - Sales/Support supp...@junkemailfilter.com http://www.junkemailfilter.com

Re: Trying Bayed / Redis

2015-12-11 Thread Alex
On Fri, Dec 11, 2015 at 3:57 PM, Marc Perkel wrote: > Trying to set up Bayes using redis. > > I created a server for redis and have it running. > > Can't finds the docs on how to create the databases initially and such. And > any tips appreciated. https://www.google.com/search?q=redis+spamassassi

Re: Trying Bayed / Redis

2015-12-11 Thread Axb
On 12/11/2015 09:57 PM, Marc Perkel wrote: Trying to set up Bayes using redis. I created a server for redis and have it running. Can't finds the docs on how to create the databases initially and such. And any tips appreciated. Thanks in advance. Did you look into the docs I put in https://

Re: Trying Bayed / Redis

2015-12-11 Thread Axb
On 12/11/2015 10:00 PM, Alex wrote: On Fri, Dec 11, 2015 at 3:57 PM, Marc Perkel wrote: Trying to set up Bayes using redis. I created a server for redis and have it running. Can't finds the docs on how to create the databases initially and such. And any tips appreciated. https://www.google.

Re: Trying Bayed / Redis

2015-12-11 Thread Marc Perkel
On 12/11/15 13:07, Axb wrote: On 12/11/2015 09:57 PM, Marc Perkel wrote: Trying to set up Bayes using redis. I created a server for redis and have it running. Can't finds the docs on how to create the databases initially and such. And any tips appreciated. Thanks in advance. Did you look

Re: Trying Bayed / Redis

2015-12-11 Thread Axb
On 12/11/2015 10:42 PM, Marc Perkel wrote: On 12/11/15 13:07, Axb wrote: On 12/11/2015 09:57 PM, Marc Perkel wrote: Trying to set up Bayes using redis. I created a server for redis and have it running. Can't finds the docs on how to create the databases initially and such. And any tips appre

Re: Trying Bayed / Redis

2015-12-11 Thread Marc Perkel
Anyone using this rule timing plugin? Having trouble getting it to work. Just wondering if it's worth it? Mail::SpamAssassin::Plugin::RuleTimingRedis

Re: Trying Bayed / Redis

2015-12-11 Thread Axb
On 12/11/2015 11:29 PM, Marc Perkel wrote: Anyone using this rule timing plugin? Having trouble getting it to work. Just wondering if it's worth it? Mail::SpamAssassin::Plugin::RuleTimingRedis for rule debugging on a dev box, maybe, but I wouldn't run that on production, ever.

Re: Trying Bayed / Redis

2015-12-11 Thread Kevin A. McGrail
On 12/11/2015 5:35 PM, Axb wrote: On 12/11/2015 11:29 PM, Marc Perkel wrote: Anyone using this rule timing plugin? Having trouble getting it to work. Just wondering if it's worth it? Mail::SpamAssassin::Plugin::RuleTimingRedis for rule debugging on a dev box, maybe, but I wouldn't run that

Re: Trying Bayes / Redis

2015-12-11 Thread Marc Perkel
So far so good. Thanks for your help. It looks like it's actually working. Have about 10k spam/ham tokens so far.

Re: Trying Bayes / Redis

2015-12-11 Thread Axb
On 12/11/2015 11:55 PM, Marc Perkel wrote: So far so good. Thanks for your help. It looks like it's actually working. Have about 10k spam/ham tokens so far. sa-learn --dump magic should show if it's "alive" For safety, don't take your eyes off memory usage and play with: bayes_token_ttl baye

Re: Trying Bayes / Redis

2015-12-11 Thread Marc Perkel
On 12/11/15 14:59, Axb wrote: On 12/11/2015 11:55 PM, Marc Perkel wrote: So far so good. Thanks for your help. It looks like it's actually working. Have about 10k spam/ham tokens so far. sa-learn --dump magic should show if it's "alive" For safety, don't take your eyes off memory usage and

Re: Trying to understand how bayes works.

2015-12-11 Thread Reindl Harald
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 signature.asc Description: OpenPGP digital signature

Re: Trying Bayes / Redis

2015-12-11 Thread Ian Zimmerman
On 2015-12-11 14:29 -0800, Marc Perkel wrote: > Anyone using this rule timing plugin? Having trouble getting it to > work. Just wondering if it's worth it? > > Mail::SpamAssassin::Plugin::RuleTimingRedis I use it and I have no trouble now. But I remember I had to disable the LUA scripting stuff