On Wed, Apr 25, 2001 at 10:16:03AM +0200, Dirk Laurie wrote:
> 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.
I run fetchmail as daemon in my user account. It gets started
whenever I dial into my ISP, but starting it from my .login (.profile)
should work as well. In my ~/.fetchmailrc, I have this:
mda "procmail .procmailrc"
That way, fetchmail uses procmail directly, which in turn will use the
filters set up in my .procmailrc. Works like a charm.
HTH,
Thomas
--
-----------------------------------------------------------------------------
Thomas Ribbrock http://mutt.linuxatwork.at (mutt RPMs)
http://www.bigfoot.com/~kaytan ICQ#: 15839919
"You have to live on the edge of reality - to make your dreams come true!"