On Thu, 21 Feb 2002, Michel wrote:
> Hello Folks
> I'm trying to download messages with <G> command, but I need help with this feature:
> - Can I filter messages with procmail or similar program?
> - Can I manipulate multiples accounts? (I know about account-hook, but my mutt 1.2.5
>doesn't work with this function, he said: invalid command - or something like this)
> Thanks for any help
Mutt doesn't deal with filters and such. That is the job of othre
programs to do, like fetchmail or getmail, or whatever you use.
I use fetchmail, so that is what I'm putting the example for.
These are lines right out of my .muttrc file (well a file that is
sourced by the .muttrc anyway. :) )
#bind index G fetch-mail
macro index G "!fetchmail<enter>"
macro pager G "!fetchmail<enter>"
I included the default keybinding in there as well. With this setup, it
does show you the message progress as well, and sometimes asks you to
press return to continue. It's a small price to pay to get my email
filtered for me. :D