mass processing with mutt and Fcc

Mark Stosberg mark at summersault.com
Sun Apr 6 21:22:32 CEST 2003


On Sun, Apr 06, 2003 at 01:22:41PM -0400, Clint Adams wrote:
> > What's a good way to select a bunch of messages and mark them as spam
> > (and delete them) all at once, from within Mutt?
> 
> Assuming that you have formail and are using the default Mutt bindings,
> tag your bunch (with 't' or 'T'), then run ';|formail -s bogofilter -s'
> (for tag-pipe formail -s bogofilter -s).  Finally ';d' (for tag-delete).
> 
> With your own macros, you could shorten this quite a bit.

With your help, here's a macro for mutt that does just that. It marks
all tagged bogofilter messages as spam, and then deletes them, without
using the "d" key, which is already bound to mark messages as Ham.

macro index \cd "<tag-prefix><pipe-entry>formail -s bogofilter -s\n<tag-prefix><delete-message>"



	Mark
 
--
http://mark.stosberg.com/ 




More information about the Bogofilter mailing list