Re: fetchmail and mutt
-- Paul Scott <email@example.com> wrote
(on Thursday, 19 December 2002, 12:32 PM -0700):
> Jeff wrote:
> >Paul Scott, 2002-Dec-19 10:26 -0700:
> >>Jean-Marc V. Liotier wrote:
> >>>A quite "classical" config is to use fetchmail to bring your emails onto
> >>>your local mail engine, then use any MUA you please (mutt, pine are
> >>>happy to use your favorite editor).
> >>Can you be more specific about "local mail engine"?
> >>This is what I am trying to do even though I can't install mutt without
> >>exim. (Of course I don't have to use exim).
> >Fetchmail would go get the mail from you email server and pull them to
> >your local machine where it give it to a mail delivery agent (MDA)
> >like Maildrop or Procmail.
> How does it "give it"? How does tell the Procmail configuration how to
> find it? I have similar questions about the rest of the steps below. I
> have actually read a lot about this and still don't have answers to some
> of the basics.
Fetchmail *generally* delivers to the locally configured mailspool --
which is generally your MTA (sendmail, postfix, qmail, exim, etc.). You
then either configure your MTA to allow procmail to process the
spoolfile and *deliver* the mail, or configure your MTA to let the user
specify whether or not they want procmail (or some other program) to
process it (usually through a $HOME/.forward file).
> Do I need something between fetchmail and mutt? I am configuring
> fetchmail right now and have the fetch part close.
No, not really. You can have fetchmail deliver to the local spoolfile,
and then have mutt grab mail from that location (usually something like
/var/spool/mail/username). Mutt will then (depending on how you
configure it) save mail to $HOME/mbox or under the $HOME/Mail hierarchy.
> >The MDA would then process the mail and deliver it to the local
> >mailboxes on the system. You would then view the mail with a mail
> >user agent (MUA) such as mutt or sylpheed. For sending mail, you'll
> >need a mail transfer agent (MTA) such as Exim, Postfix or Sendmail.
You'll also need the MTA for fetchmail to deliver the mail to your
mailbox in the first place.
Matthew Weier O'Phinney