Re: fetchmail, procmail, mutt

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Robert Holtzman
Date:  
To: Main PLUG discussion list
Subject: Re: fetchmail, procmail, mutt
On Tue, 20 Apr 2010, Matthew Coulliette wrote:

> Hi everyone,
>
> I am trying to setup fetchmail to get my email from the server, procmail to
> sort my email, and mutt to read my email. So far, fetchmail appears to work.
> It gets the mail and puts it in /var/mail/username. I believe that the next
> step is to have procmail sort it into mailboxes. I have created a .mail dir
> in my home dir. I attached a copy of the .procmailrc file that I have
> written. It does not appear to work. Can someone tell me what is wrong with
> the config file. Any other comments or suggestions are also welcome.


My .fetchmailrc file looks like this:

     poll "pop.west.cox.net"
     protocol pop3
     username "xxxxxx"
     password "xxxxxxxxxx"
     mimedecode
     mda "/usr/bin/procmail -f -"



Note the call to procmail. You didn't say which mailbox format you
wanted. This will deliver mail in mbox format. If you want the maildir
format the URL in the other reply might be what you want. Don't know.
There are advantages and disadvantages to both formats.

In your .procmailrc file MAILDIR=/home/matthewmpp/.mail doesn't work. I
learned that the hard way. It will always revert to the default mailbox.
You had it right with DEFAULT=/home/matthewmpp/.mail/all. Is there a
reason you got away from that? The relevant part of my >procmailrc file
is:

#MAILDIR=/var/mail
#MAILDIR=/var/spool/mail
DEFAULT=$HOME/mail/INCOMING <========

--
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
check the price of the beer"
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss