On Sun, 2009-05-17 at 19:11 -0600, LuKreme wrote: > On 17-May-2009, at 01:42, Michael Monnerie wrote: > > fetchmail -asnp IMAP --folder autolearn --user $username -m "formail > > -s > > |spamassassin -d >>/tmp/x" $mailserver > Switch to using spamc/spamd and this way of using SA is OK.
Start the spamd daemon as part of your boot sequence. Replace "spamassassin -d " with "spamc" in your fetchmail command. This way there's no spamassassin per-message startup overhead. The per-message overheads of using spamc are minimal since its a small, simple C program. Martin