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
Fethmail first so you an get ALL the messages at once. THEN run
Spamassassin. This will be a lot shorter I'll be than what you are
doing, which is horribly inefficient:
1 Get a message
2 launch Spamassasin
3 remove markup
4 cat msg to a file
5 Goto 1
you are making fetchmail wait a long time, and you are launching a
spamassassin for every msg.
--
I know that you believe you understand what you think I said but I
am not sure you realize that what you heard is not what I
meant.