On Wed, 2010-11-10 at 17:48 +0000, Martin Gregorie wrote:
> On Wed, 2010-11-10 at 18:16 +0100, Karsten Bräckelmann wrote:
> > > > find /var/spool/imap/user/kmeyer/ -name '[0-9]*.' -exec sa_learn {} \;
> > > > 
> > > > which is a bit slower but avoids the command line overflow by running
> > > > sa_learn on every matching file.
> > 
> > A "bit" slower. Periodically re-learning the entire Inbox of 100+ users,
> > spawning a full Perl process for every single mail...
> 
> Indeed, but when I wrote that I had no idea that the directory had
> permanent content. I was under the impression that its content would be
> deleted or archived after it had been learned and the next run would be
> dealing with new messages.

Oh, I didn't mean to bitch at you personally. :)

I just thought the issues should be pointed out and clearly documented,
rather than keeping it in the archives without a warning.


-- 
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<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to