On Tue, Oct 03, 2006 at 02:01:00PM -0400 or thereabouts, Theo Van Dinter wrote: > On Tue, Oct 03, 2006 at 08:59:08PM +1300, Adam Bogacki wrote: > > Thanks for the advice Theo .. I've registered with razor and am > > now reporting spam regularly and saving to folder 'Spam'. > > :) > > > However, I'm a bit frustrated having to do this 'message by message' with > > downloads averaging around 1-200. I am impressed that > > Sylpheed-Claws-GTK2 (with SA & ClamAV plugins) munches away at the > > whole downloaded batch and delivers it spam-free. > > > > I'd prefer to understand what is happening under the hood - could you > > point me in the direction of how I can do this via CLI with Mutt ? > > I'm not really sure what you're asking here. Doing batch processing isn't > hard with SpamAssassin, do something like: > > spamassassin --mbox messages.mbox > messages-out.mbox > > If you want to use spamc/spamd, you have to go per message since spamc only > understands single messages. Ala: > > formail -s spamc < messages.mbox > messages-out.mbox > > If you want SA to run over a message, and then have some filtering going on > (ie: spams to one folder, etc,) you'd have to do some kind of > formail/procmail thing to break a mailbox apart, process it through SA, then > filter it. > > -- > Randomly Selected Tagline: > "Al is a very busy person, as is most everyone else on helpdesk. They > might even be more busy than Microsoft engineers who have much higher > salaries, and have time for nerf gun battles and pillow fights in > the halls." - Paul English
Sorry Theo, I think I owe you an apology, Running 'sylpheed-claws-gtk2 --receive --debug' I realised it was processing by message, not 'by batch'. Nevertheless your suggestion is worth pursuing - as soon as I work out why my procmail logs are not working. Cheers, Adam. -- Adam Bogacki, --------------------------------------------------------------------- email: afb(at)paradise.net.nz VoIP: sip:agike(at)ekiga.net [Zfone] Key: 0x4E553910 - DABB 4963 8973 7CCD 33C0 DC27 D7C5 F516 4E55 3910 Key Servers: hkp://pgp.mit.edu:1137 ldap://keyserver.pgp.com ---------------------------------------------------------------------
signature.asc
Description: Digital signature