* Dirk Laurie <[EMAIL PROTECTED]>, 2001-04-25 11:37 +0200:
> When retrieving mail from a POP server, it gets dumped straight into
> my inbox, without passing through my .procmailrc. I can think of
> several solutions to this problem:
>
> 1. Instead of just invoking mutt, use a shell script that first
> calls fetchmail.
> Disadvantage: I need to quit and restart mutt every so often.
>
> 2. Tag all the messages in the inbox, tag-bounce them to myself,
> and tag-delete them.
> Disadvantages: (a) requires several keystrokes,
> (b) same problem as method 3.
>
> 3. Add a macro definition to .muttrc:
> macro index <F10> "GT.\r;bdirk\ry;d$"
> Now when I press F10, mutt retrieves my messages, tags them all,
> tag-bounces them to myself, deletes the originals and cleans
> up my inbox.
> Disadvantages:
> (a) inbox must be clean before I start,
> (b) mail filter must not allow anything except retrieved mail to
> reach inbox, else I may delete messages that arrived directly
> to me during the retrieve,
> (c) messages show up in =procmail-log as being from myself, not the
> original sender.
>
> I like my solution, and I can live with the disadvantages -- the first
> two just requires some care on the part of the user --but I can't think
> of a way round this last problem.
>
> Can you?
fetchmail -d 120
~~/.muttrc
set timeout=10
Andre Berger [[EMAIL PROTECTED]]
PGP signature