On Fri, Jun 04, 1999 at 05:50:29PM +0000, Brian Lavender wrote:
> I am using mutt along with experimenting with procmail for sorting.
> I also have the requirement of being able to pop messages from my
> shell account after they have been sorted. I set up an example
> .procmailrc to filter my mail as seen below according to the procmail
> man page and an example from the filtering faq.
>
> http://www.faqs.org/faqs/mail/filtering-faq/
(hmm, interesting, didn't know of it...)
>
> The below example works, but I can't pop the sorted messages. I
> noticed that mutt seems to move the mail from
> /var/spool/mail/brian
> to
> /home/brian/mbox
well, I myself prevent mutt from doing this by
set move=no
This is a bit easier for my fetchmail based on pop3 resp. imap transferring mail from
the account at my university to my linux box at home (although I am sure fetchmail
can be configured the other way as well...)
> so I am not sure how to specify MAILDIR and DEFAULT in the .procmailrc
> .
>
> What changes do I need to make so I can have my messages sorted and
> still be able to pop them?
>
> brian
>
> darkstar: $ cat /home/brian/.procmailrc
>
> PATH=/bin:/usr/bin:/usr/bin
> MAILDIR=$HOME/Mail # is this correct for allowing popping
> DEFAULT=$MAILDIR/mbox # and for Mutt?
if you use "set move=no" you are better off leaving DEFAULT unset. According to the
man page
DEFAULT is equal to $ORGMAIL and this is your spool directory; if you prevent mutt
from moving
your mail to mbox, procmail's filtering mechanism has to be applied to
/var/spool/mail/brian.
> LOGFILE=$MAILDIR/from
>
> :0:
> * ^TOmutt-users
> IN.mutt-users
> --------------------
> Brian Lavender
> Sacramento, CA
> http://www.brie.com/brian/
>
> "If a train station is where the train stops,
> what is a workstation?" -- Phil Adamson
--
*****************************************************************
* Juergen Leising, E-Mail: [EMAIL PROTECTED] *
* http://www.stud.uni-bayreuth.de/~a0037/ *
*****************************************************************