On Sun, Jun 18, 2000 at 12:53:08PM -0700, Dale Morris wrote:
> I've setup procmail as follows, MAILDIR=$HOME/Mail which is there in
> my
> home directory and includes all the mailboxes I'm saving my mail to.
> When
> I open mutt it reads the mail in /var/spool/mail/dlm. the result is
> mail
> isn't being transferred to my MAILDIR=$HOME/Mail directory. Is this
> correct?
Curious, I also use RH 6.2 and mutt always transfer var/spool/mail/ to
~/Mail. Maybe a MTA/MDA problem in your default configuration?
> What I want to do is have procmail transfer mutt-users messages
> /var/spool/mail/dlm to /home/dlm/Mail/mutt, correct? I have a mutt
> mbox,
> and here's how I've setup the .procmailrc recipe:
> But it doesn't work. I will attach my .procmailrc and .muttrc files if
> someone cares to take a look.
Hmm, I also use RH 6.2 and I'm not sure the problem comes from your
procmailrc.
+Which MTA do you use ?
Sendmail or postfix use procmail as default MDA. If you don't use them,
then I think you should write the following lines in your .fetchmailrc :
defaults mda "formail -ds procmail"
> #mutt
> :0:
> * (^Reply-To:.*|^TO_)mutt-users
> $MAILDIR/mutt
Here I don't think that MAILDIR is necessary, as the location has been
already defined at bottom. My procmailrc works and looks like this :
MAILDIR=$HOME/Mail
VERBOSE=off
LOGFILE=$HOME/.log-procmail
:0:
* ^[EMAIL PROTECTED]
IN.mutt-users
I didn't need to set Procmail as default MDA in fetchmail, but it has
been defined in sendmail's config.mc :
FEATURE(local_procmail)dnl
Bye (and sorry for my very bad english :)
PS : thanks to people who spoke about those options :
macro index G "!fetchmail\n"
macro pager G "!fetchmail\n"
I didn't know them and it works fine. I'm very happy :)
--
Virginie - Membre de Parinux (LUG - Paris)
[EMAIL PROTECTED]