Re: sa-learn --ham ground rules

2008-02-14 Thread Michelle Konzack
Am 2008-02-13 10:04:36, schrieb Matus UHLAR - fantomas: > you can just provide te directory name. sa-learn will then scan the > directory w/o args limit Sory, but I use "--dir" since ages and if I have over 1200-1400 messages sa-learn exit with an error message that I have exceed the limits... Th

Re: sa-learn --ham ground rules

2008-02-14 Thread Michelle Konzack
Am 2008-02-13 05:14:38, schrieb Karsten Bräckelmann: > On Sun, 2008-02-10 at 21:34 +0100, Michelle Konzack wrote: > > Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: > > > > So what is the maximum number of files in a directory that one can feed > > > > to > > > > sa-learn --ham and expect i

Re: sa-learn --ham ground rules

2008-02-13 Thread Matus UHLAR - fantomas
> Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: > > > So what is the maximum number of files in a directory that one can feed > > > to > > > sa-learn --ham and expect it to achieve normal speed? > > > > Dunno if there are limitations -- however, your 7k messages should be > > perfectly fi

Re: sa-learn --ham ground rules

2008-02-13 Thread Matus UHLAR - fantomas
> Am 2008-02-08 01:49:52, schrieb Gene Heskett: > > So what is the maximum number of files in a directory that one can feed to > > sa-learn --ham and expect it to achieve normal speed? I vaguely recall > > feeding it my corpus of another folder it was having trouble with a year > > ago, > > th

Re: sa-learn --ham ground rules

2008-02-12 Thread Gene Heskett
On Tuesday 12 February 2008, John Hardin wrote: >On Tue, 12 Feb 2008, Gene Heskett wrote: >> On Sunday 10 February 2008, Michelle Konzack wrote: >>> Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: > So what is the maximum number of files in a directory that one can feed > to sa-learn -

Re: sa-learn --ham ground rules

2008-02-12 Thread Karsten Bräckelmann
On Sun, 2008-02-10 at 21:34 +0100, Michelle Konzack wrote: > Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: > > > So what is the maximum number of files in a directory that one can feed > > > to > > > sa-learn --ham and expect it to achieve normal speed? > > > > Dunno if there are limitati

Re: sa-learn --ham ground rules

2008-02-12 Thread Theo Van Dinter
On Tue, Feb 12, 2008 at 04:04:28PM -0500, Gene Heskett wrote: > Guilty, its all in Mail dir format. --dir ? -- Randomly Selected Tagline: "There are all of these warnings and incantations and unnatural rituals and everything's veiled in this threat of "you mess with the mayo, the mayo mess wit

Re: sa-learn --ham ground rules

2008-02-12 Thread John Hardin
On Tue, 12 Feb 2008, Gene Heskett wrote: On Sunday 10 February 2008, Michelle Konzack wrote: Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: So what is the maximum number of files in a directory that one can feed to sa-learn --ham and expect it to achieve normal speed? Dunno if there ar

Re: sa-learn --ham ground rules

2008-02-12 Thread Gene Heskett
On Sunday 10 February 2008, Michelle Konzack wrote: >Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: >> > So what is the maximum number of files in a directory that one can feed >> > to sa-learn --ham and expect it to achieve normal speed? >> >> Dunno if there are limitations -- however, your

Re: sa-learn --ham ground rules

2008-02-12 Thread Michelle Konzack
Am 2008-02-08 20:13:10, schrieb Karsten Bräckelmann: > > So what is the maximum number of files in a directory that one can feed to > > sa-learn --ham and expect it to achieve normal speed? > > Dunno if there are limitations -- however, your 7k messages should be > perfectly fine. Just ran a test

Re: sa-learn --ham ground rules

2008-02-12 Thread Michelle Konzack
Am 2008-02-08 01:49:52, schrieb Gene Heskett: > So what is the maximum number of files in a directory that one can feed to > sa-learn --ham and expect it to achieve normal speed? I vaguely recall > feeding it my corpus of another folder it was having trouble with a year ago, > the linux-usb lis

Re: sa-learn --ham ground rules

2008-02-09 Thread Chris Hoogendyk
Gene Heskett wrote: On Saturday 09 February 2008, jdow wrote: From: "John Hardin" <[EMAIL PROTECTED]> Sent: Friday, 2008, February 08 21:03 Gene Heskett sez: running as root since RH5.1. Yeah, I'm an un-repentant old fart. There's no fool like an old fool.

Re: sa-learn --ham ground rules

2008-02-09 Thread Gene Heskett
On Saturday 09 February 2008, jdow wrote: >From: "John Hardin" <[EMAIL PROTECTED]> >Sent: Friday, 2008, February 08 21:03 > >> Gene Heskett sez: >>> running as root since RH5.1. Yeah, I'm an un-repentant old fart. >> >> There's no fool like an old fool. > >I'm close enough to Gene's age and have k

Re: sa-learn --ham ground rules

2008-02-08 Thread jdow
From: "John Hardin" <[EMAIL PROTECTED]> Sent: Friday, 2008, February 08 21:03 Gene Heskett sez: running as root since RH5.1. Yeah, I'm an un-repentant old fart. There's no fool like an old fool. I'm close enough to Gene's age and have known him long enough I get the right to rap his knuck

Re: sa-learn --ham ground rules

2008-02-08 Thread Gene Heskett
On Saturday 09 February 2008, John Hardin wrote: >Gene Heskett sez: >> running as root since RH5.1. Yeah, I'm an un-repentant old fart. > >There's no fool like an old fool. And that's why they pay me the big bucks when something really goes aglay at the tv station even if I have been semi-retire

Re: sa-learn --ham ground rules

2008-02-08 Thread John Hardin
Gene Heskett sez: > > running as root since RH5.1. Yeah, I'm an un-repentant old fart. There's no fool like an old fool. -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ [EMAIL PROTECTED]FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 -- 2D8C 34F4

Re: sa-learn --ham ground rules

2008-02-08 Thread Gene Heskett
On Friday 08 February 2008, jdow wrote: >From: "Gene Heskett" <[EMAIL PROTECTED]> >Sent: Friday, 2008, February 08 16:43 > >> On Friday 08 February 2008, Karsten Bräckelmann wrote: >>>On Fri, 2008-02-08 at 01:49 -0500, Gene Heskett wrote: The command that kmail issues to it is: sa-learn -

Re: sa-learn --ham ground rules

2008-02-08 Thread jdow
From: "Gene Heskett" <[EMAIL PROTECTED]> Sent: Friday, 2008, February 08 16:43 On Friday 08 February 2008, Karsten Bräckelmann wrote: On Fri, 2008-02-08 at 01:49 -0500, Gene Heskett wrote: The command that kmail issues to it is: sa-learn --ham /root/Mail/(foldername)/cur You're not using

Re: sa-learn --ham ground rules

2008-02-08 Thread Gene Heskett
On Friday 08 February 2008, Karsten Bräckelmann wrote: >On Fri, 2008-02-08 at 01:49 -0500, Gene Heskett wrote: >> The sa-learn --spam can process a message in 5 to 10 seconds or so, so if >> I've dropped 20 doofus mails in the spam directory and fire it off, I have >> it done and kmail is back amon

Re: sa-learn --ham ground rules

2008-02-08 Thread Karsten Bräckelmann
On Fri, 2008-02-08 at 01:49 -0500, Gene Heskett wrote: > The sa-learn --spam can process a message in 5 to 10 seconds or so, so if > I've > dropped 20 doofus mails in the spam directory and fire it off, I have it done > and kmail is back among the living in 2-3 minutes. This seems *way* too hig

RE: Sa-learn --ham vs spamassassin -report

2006-09-05 Thread Gary V
> Starting out with another clean database, further testing > shows that in fact the message was learned when I ran > 'spamassassin -r' (though bayes_toks remained at 12288 > bytes), and the same message was learned again when I ran > 'sa-learn --spam' (and the size once again grew to 24576 bytes)

RE: Sa-learn --ham vs spamassassin -report

2006-09-05 Thread Michael Scheidell
> -Original Message- > From: Gary V [mailto:[EMAIL PROTECTED] > Sent: Monday, September 04, 2006 7:56 PM > To: users@spamassassin.apache.org > Subject: Re: Sa-learn --ham vs spamassassin -report > > Starting out with another clean database, further testing >

RE: Sa-learn --ham vs spamassassin -report

2006-09-05 Thread Michael Scheidell
> -Original Message- > From: Gary V [mailto:[EMAIL PROTECTED] > Sent: Monday, September 04, 2006 7:56 PM > To: users@spamassassin.apache.org > Subject: Re: Sa-learn --ham vs spamassassin -report > > Starting out with another clean database, further testing > s

Re: Sa-learn --ham vs spamassassin -report

2006-09-04 Thread Gary V
I understand. In the test I had an issue with, the database started out (at least appears to be) empty, I ran 'spamassassin -r' and the size did not change, then I ran sa-learn, and it did. Certainly not as good a test as actually checking the contents of the database: -rw--- 1 amavis ama

Re: Sa-learn --ham vs spamassassin -report

2006-09-04 Thread Gary V
Gary V wrote: > It did work this time. Even with the spamcop error... > > sfa:~# su amavis -c 'sa-learn --dump magic' > 0.000 0 3 0 non-token data: bayes db version > 0.000 0 7 0 non-token data: nspam > [...] > > sfa:~# su amavis -c 'spama

Re: Sa-learn --ham vs spamassassin -report

2006-09-04 Thread Robert LeBlanc
Gary V wrote: > It did work this time. Even with the spamcop error... > > sfa:~# su amavis -c 'sa-learn --dump magic' > 0.000 0 3 0 non-token data: bayes db version > 0.000 0 7 0 non-token data: nspam > [...] > > sfa:~# su amavis -c 'spamas

[Fwd: Re: Sa-learn --ham vs spamassassin -report]

2006-09-04 Thread Michael Scheidell
Sorry for toppost, but seems right in contect. Is is possible that if spamassassin -r < spam.eml fails one of the remote tests (like spamcop, 'too old') that it doesn't go on to any of the other tests? is report to spamcop done BEFORE the baysian learning? Original Message

RE: Sa-learn --ham vs spamassassin -report

2006-09-04 Thread Gary V
> On Sun, Sep 03, 2006 at 10:27:55PM -0400, Michael Scheidell wrote: > > Sa coach sends stream to spamd with 'TELL' protocol. > > It then calls the equivalent of 'spamassassin -r' (for spam) or '-z > > for ham' or -f for forget. > > > > Do I need to call sa-learn --ham and sa-learn --spam also? >

RE: Sa-learn --ham vs spamassassin -report

2006-09-04 Thread Michael Scheidell
> -Original Message- > From: Theo Van Dinter [mailto:[EMAIL PROTECTED] > Sent: Monday, September 04, 2006 12:07 AM > To: users@spamassassin.apache.org > Subject: Re: Sa-learn --ham vs spamassassin -report > > On Sun, Sep 03, 2006 at 10:27:55PM -0400, Michael Scheidel

Re: Sa-learn --ham vs spamassassin -report

2006-09-03 Thread Theo Van Dinter
On Sun, Sep 03, 2006 at 10:27:55PM -0400, Michael Scheidell wrote: > Sa coach sends stream to spamd with 'TELL' protocol. > It then calls the equivalent of 'spamassassin -r' (for spam) or '-z for > ham' or -f for forget. > > Do I need to call sa-learn --ham and sa-learn --spam also? No. > If I c

Re: sa-learn ham and auto_whitelist

2005-10-20 Thread Matt Kettler
At 10:07 AM 10/20/2005, FH wrote: > Really, you shouldn't be looking at the scores. You should be looking at > what rules the messages are hitting. Only this can tell you the "why" of > the matter. Everything else is just looking at the results. > Makes sense, I'll dig into that a little deeper t

Re: sa-learn ham and auto_whitelist

2005-10-20 Thread FH
Thanks for the reply/info -- Original Message -- Received: Wed, 19 Oct 2005 01:10:06 PM EDT From: Matt Kettler <[EMAIL PROTECTED]> To: FH <[EMAIL PROTECTED]>Cc: users@spamassassin.apache.org Subject: Re: sa-learn ham and auto_whitelist > > > > - I know I could a

Re: sa-learn ham and auto_whitelist

2005-10-19 Thread Matt Kettler
FH wrote: > I have a script that goes through and looks for ham mailboxes every 6 > hours[1], I also recently added the below to my local.cf file: > > use_auto_whitelist 1 > auto_whitelist_path /etc/mail/spamassassin/auto-whitelist > > and primed the auto-whitelist w/ > > spamassassin --add-add

Re: sa-learn ham from my emails

2005-02-15 Thread Thomas Arend
Am Montag, 14. Februar 2005 23:13 schrieb Daniel Cañas: > On Feb 14, 2005, at 3:34 PM, Thomas Arend wrote: > > Am Montag, 14. Februar 2005 20:50 schrieb Daniel Cañas: > >> I have over 2000 emails that I have as ham and would like to feed to > >> sa-learn.. > > [..] > >> I have legit spam that I wa

Re: sa-learn ham from my emails

2005-02-14 Thread Daniel Cañas
On Feb 14, 2005, at 2:54 PM, Jim Maul wrote: Daniel Cañas wrote: I have over 2000 emails that I have as ham and would like to feed to sa-learn.. The emails are all mine (that is they are addresed to me) is this a problem for sa-learn? Will it learn the headers and mark my email address as a token

Re: sa-learn ham from my emails

2005-02-14 Thread Daniel Cañas
On Feb 14, 2005, at 3:34 PM, Thomas Arend wrote: Am Montag, 14. Februar 2005 20:50 schrieb Daniel Cañas: I have over 2000 emails that I have as ham and would like to feed to sa-learn.. You should train them as ham. That is my plan The emails are all mine (that is they are addresed to me) is this a

Re: sa-learn ham from my emails

2005-02-14 Thread Thomas Arend
Am Montag, 14. Februar 2005 20:50 schrieb Daniel Cañas: > I have over 2000 emails that I have as ham and would like to feed to > sa-learn.. You should train them as ham. > > The emails are all mine (that is they are addresed to me) is this a > problem for sa-learn? Where is the problem? If they

Re: sa-learn ham from my emails

2005-02-14 Thread Jim Maul
Daniel Cañas wrote: I have over 2000 emails that I have as ham and would like to feed to sa-learn.. The emails are all mine (that is they are addresed to me) is this a problem for sa-learn? Will it learn the headers and mark my email address as a token for ham... causing bayes to not work corr

RE: sa-learn ham

2004-11-30 Thread Gustafson, Tim
) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://www.meitech.com/ -Original Message- From: Gray, Richard [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 11:45 AM To: Gustafson, Tim; users@spamassassin.apache.org Subject: RE: sa-learn ham We had

Re: sa-learn ham

2004-11-26 Thread Gavin Cato
I agree, autolearn in conjunction with the odd manual insert works very well here, although I'm still having troubles blocking the variation of those ridicoulous drugs/rx msgs. 0.000 01781758 0 non-token data: nspam 0.000 0 319835 0 non-token data: nha

Re: sa-learn ham

2004-11-25 Thread Michael Parker
On Thu, Nov 25, 2004 at 11:26:02AM -0500, Gustafson, Tim wrote: > I was referring to the fact that the newest "A" time is 20-something > years in the future. Apparently, this is what is keeping it from > expiring tokens. > > This is a known problem with bayes in version < 3.0. Upgrade to 3.0.1

RE: sa-learn ham

2004-11-25 Thread Gray, Richard
hanged, but if you have a problem you can always drop me a line and I'll see what I can do. Richard -Original Message- From: Gustafson, Tim [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 16:26 To: Bill Landry; users@spamassassin.apache.org Subject: RE: sa-learn ham I was referring

RE: sa-learn ham

2004-11-25 Thread Gustafson, Tim
5 Fax http://www.meitech.com/ -Original Message- From: Bill Landry [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 11:09 AM To: users@spamassassin.apache.org Subject: Re: sa-learn ham - Original Message - From: "Gustafson, Tim" <[EMAIL PROTECTED]>

Re: sa-learn ham

2004-11-25 Thread Bill Landry
- Original Message - From: "Gustafson, Tim" <[EMAIL PROTECTED]> > I've attached the output of "sa-learn --force-expire -D" to this e-mail. > > Is there any way to "repair" this problem? I'd like to keep the > database since it's so incredibly effective right now. All looks fine here, wh

RE: sa-learn ham

2004-11-25 Thread Gustafson, Tim
ED] (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://www.meitech.com/ -Original Message- From: David B Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 1:01 AM To: Gustafson, Tim Cc: SA Users List Subject: RE: sa-learn ham Note that &#x

RE: sa-learn ham

2004-11-25 Thread David B Funk
On Wed, 24 Nov 2004, Gustafson, Tim wrote: > How do you keep your ntokens so low? > > Mine averages ((nspam + nham) * 10). Yours is basically (nspam + nham). > Do you run some job that expires tokens or something? I'm running > sa-learn --force-expire once a day (and it takes about 2-3 minutes t

Re: sa-learn ham

2004-11-24 Thread Matt Barton
om: Matt Barton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 11:27 AM To: SA Users List Subject: Re: sa-learn ham Since we're all playing show-and-tell, here is a dump of the magic on my company's mail server. 0.000 0 3 0 non-token data: bayes db

RE: sa-learn ham

2004-11-24 Thread Gustafson, Tim
Users List Subject: Re: sa-learn ham Since we're all playing show-and-tell, here is a dump of the magic on my company's mail server. 0.000 0 3 0 non-token data: bayes db version 0.000 0 101024 0 non-token data: nspam 0.000 0 16

Re: sa-learn ham

2004-11-24 Thread Matt Barton
Gustafson, Tim wrote: 0.000 0 2 0 non-token data: bayes db version 0.000 0 88033 0 non-token data: nspam 0.000 0 15592 0 non-token data: nham 0.000 01729756 0 non-token data: ntokens 0.000 0

RE: sa-learn ham

2004-11-24 Thread Gary W. Smith
Ronan, I have a cronjob that does the learning for me #!/bin/sh sa-learn --spam --mbox /home/fizzle/spam > /dev/null 2>&1 :> /home/fizzle/spam sa-learn --ham --mbox /home/fizzle/ham > /dev/null 2>&1 :> /home/fizzle/ham #Root likes to lock the file (owner of cronjob), now reset it. chown filter.

Re: sa-learn ham

2004-11-24 Thread hamann . w
>> >> hi all. >> for those of you running large volume servers you no doubt have an >> abundance of spam to feed into sa-learn, and i suppose that goes for all >> sizes of volumes. >> but one question. how do you manage to match the same number with hams / >> real messages. how do you go about

RE: sa-learn ham

2004-11-24 Thread Gustafson, Tim
> ahh yeah hit reply instead of reply-all. > > anyone out there see anything major or minorly wrong with the output below?? For what it's worth, here's my output: [EMAIL PROTECTED] sa-learn --dump magic 0.000 0 2 0 non-token data: bayes db version 0.000 0

RE: sa-learn ham

2004-11-24 Thread Gustafson, Tim
n MEI Technology Consulting, Inc [EMAIL PROTECTED] (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://www.meitech.com/ -Original Message- From: Jim Maul [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 10:07 AM To: Ronan; SA Users List Subject: R

Re: sa-learn ham

2004-11-24 Thread Ronan
Jim Maul wrote: Ronan wrote: so it doesnt make a difference if you have inordinately larger amounts of one than the other?? I would have thought it would've worked better with more ham... i read somewhere on the list thats its best to balance. you'll get conflicting answers to this question. T

Re: sa-learn ham

2004-11-24 Thread Jim Maul
Ronan wrote: so it doesnt make a difference if you have inordinately larger amounts of one than the other?? I would have thought it would've worked better with more ham... i read somewhere on the list thats its best to balance. you'll get conflicting answers to this question. The only real answ

Re: sa-learn ham

2004-11-24 Thread Jim Maul
Ronan wrote: Jim Maul wrote: Ronan wrote: hi all. for those of you running large volume servers you no doubt have an abundance of spam to feed into sa-learn, and i suppose that goes for all sizes of volumes. but one question. how do you manage to match the same number with hams / real messages.

Re: sa-learn ham

2004-11-24 Thread Ronan
Jim Maul wrote: Ronan wrote: hi all. for those of you running large volume servers you no doubt have an abundance of spam to feed into sa-learn, and i suppose that goes for all sizes of volumes. but one question. how do you manage to match the same number with hams / real messages. how do you g

Re: sa-learn ham

2004-11-24 Thread Jim Maul
Ronan wrote: hi all. for those of you running large volume servers you no doubt have an abundance of spam to feed into sa-learn, and i suppose that goes for all sizes of volumes. but one question. how do you manage to match the same number with hams / real messages. how do you go about bumping u

Re: sa-learn --ham not running from horde/imp.

2004-10-13 Thread sahil
Quoting Matt Kettler <[EMAIL PROTECTED]>: > I assume you've got some bayes_path statement in your local.cf forcing SA > to use that path. Note: if it's set to /root/* I'd suggest changing it to > /var/amavis/*, unless you want to make root's homedir world-readable. I do not set bayes_path in loca

Re: sa-learn --ham not running from horde/imp.

2004-10-13 Thread Matt Kettler
At 11:37 PM 10/12/2004 -0400, Sahil Tandon wrote: I googled for the error but cannot find a proper solution. Right now, /root/.spamassassin is a symlink to /var/amavis/.spamassassin; the files therein (i.e. the bayes_* files) are chown'd vscan:vscan. They are updated when SA *itself* notices s

Re: sa-learn --ham not running from horde/imp.

2004-10-13 Thread Thomas Bolioli
What is likely happening is that sa-learn is running as root, with nobody's permissions since apache su's itself to nobody by default on RH 9/FC1 (I am assuming this version of linux from the LC_ALL/LANG issue, although mac osx is a possibility). When you click the link in horde, it is executin