When flushing spam in mutt, I'd like to pipe them through "spamassassin --report". If I have 100 spams in the spam folder, and one spamassassin --report run takes ~5 sec, I'd have to sit and wait for almost ten minutes to flush the spam folder. And 100 spams is not much...
Doing "| spamassassin --report" instead of "| spamassassin --report" obviously is not a good solution. The best I could think of this prototype script that puts the spams in a spool directory and then feeds them through spamassassin --report one by one: http://iki.fi/v/tmp/spam-report (Sorry, it's ugly). In mutt I use macro pager S ":set wait_key=no\n|~/script/spam-report\n:set wait_key=yes\nd" macro index S ":set wait_key=no\n|~/script/spam-report\n:set wait_key=yes\nd" Has anyone come up with a more elegant solution? -- v -- [EMAIL PROTECTED]
