On Dienstag 19 Mai 2009 Michael Monnerie wrote: > On Sonntag 17 Mai 2009 Rick Macdougall wrote: > > Why not use > > http://www.sonologic.nl/pub/Projects/ImapSaLearn/imap-sa-learn.pl.t > >xt > > I've improved it a bit: http://zmi.at/x/imap-sa-learn.pl > * debug 1 or 2 selectable > * no debug is good for interactive use, debug 1 for scripts, debug 2 > for real debugging > * verbose option renamed to debug > * --host parameter included into $usage > * -h option is help, removed from --host option > * $salearnbin for easy reconfiguration of path > * $tmpfile to reconfigure tmpfile path+name > * tmpfile contains PID now, to allow several processes at once > > Nice script.
I'm just testing calling spamc instead sa-learn, that's much faster. Anybody got a quick idea if there's a difference of learning with spamc against learning with sa-learn? The script calls spamc/sa-learn with every single message, so spamc is much faster. Also, I'm thinking of calling spamassassin -d if someone wants to have removed markups, and feed that to 1) a file, 2) imap. Also, calling spamassassin with a stripped down config could maybe reduce startup overhead and therefore improve speed. mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
signature.asc
Description: This is a digitally signed message part.