Re: Calling spamc and looping through files

2009-02-09 Thread cnone
orpora. > > As usual, we will be able to help you better, if we know what you're > trying to accomplish. > > > -- > char > *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; > main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,

Re: Calling spamc and looping through files

2009-02-09 Thread Karsten Bräckelmann
On Mon, 2009-02-09 at 03:54 -0800, cnone wrote: > I scanned over 2000 mails and it gave me score over 5.0 for all of them. Most > of the scores were 5.4.Is there a way to change default threshold? By the Yes, there is. Mind having a look at your configuration? The default local.cf ships with a gla

Re: Calling spamc and looping through files

2009-02-09 Thread Matus UHLAR - fantomas
On 09.02.09 03:54, cnone wrote: > I scanned over 2000 mails and it gave me score over 5.0 for all of them. If they are not really spams, there is something broken in your configuration apparently > Most of the scores were 5.4.Is there a way to change default threshold? By > the way if the score i

Re: Calling spamc and looping through files

2009-02-09 Thread cnone
lar to early recipients. > > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > Silvester Stallone: Father of t

Re: Calling spamc and looping through files

2009-02-09 Thread Matus UHLAR - fantomas
> On Sun, 2009-02-08 at 17:39 -0800, cnone wrote: > > Thank u very much.It works.By not accurate,you mean spam detection will not > > be accurate? On 09.02.09 03:50, Karsten Bräckelmann wrote: > By "accurate" I mean -- SA can do a best effort guess. SA can not one > hundred percent accurately iden

Re: Calling spamc and looping through files

2009-02-08 Thread cnone
-- > char > *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; > main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i c<<=1: > (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; > }}} > > > -- View this message in context: http://www.nabble.com/Calling-spamc-and-looping-through-files-tp21905369p21906389.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Calling spamc and looping through files

2009-02-08 Thread Karsten Bräckelmann
On Sun, 2009-02-08 at 17:39 -0800, cnone wrote: > Thank u very much.It works.By not accurate,you mean spam detection will not > be accurate? By "accurate" I mean -- SA can do a best effort guess. SA can not one hundred percent accurately identify spam. Whenever any program is involved, there's alw

Re: Calling spamc and looping through files

2009-02-08 Thread cnone
,s=0; for (i=0;i c<<=1: > (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; > }}} > > > -- View this message in context: http://www.nabble.com/Calling-spamc-and-looping-through-files-tp21905369p21905829.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Calling spamc and looping through files

2009-02-08 Thread Theo Van Dinter
I would use "formail -s" to go through the mbox file, and pipe the mail through procmail w/ an appropriate recipe file to filter the mails as you'd want. SpamAssassin is happy to markup your mails, but has no filtering capabilities since it doesn't deliver mail. On Sun, Feb 08, 2009 at 04:37:30PM

Re: Calling spamc and looping through files

2009-02-08 Thread Karsten Bräckelmann
On Sun, 2009-02-08 at 16:37 -0800, cnone wrote: > How can I call spamc and loop through all mails(like 100 mbox email files) > under a directory and decide which is spam which is not and save the spams > in a different dir? $ man spamc $ for f in *; do spamc -c < $f || mv $f spam/; done Bewar

Calling spamc and looping through files

2009-02-08 Thread cnone
How can I call spamc and loop through all mails(like 100 mbox email files) under a directory and decide which is spam which is not and save the spams in a different dir? -- View this message in context: http://www.nabble.com/Calling-spamc-and-looping-through-files-tp21905369p21905369.html Sent