[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lightweight alternative MTA? [was: Re: Starting MTA:]



On Thu, Sep 24, 2009 at 09:59:53AM -0700, Mike McClain wrote:
> Hi Osamu,
>     Thanks for the response. I really don't get it when it comes to mail.
> MTA/MDA/MUA are kind of confusing, if you know where I can find a 2 page
> explanation of email I'd really like to read it.
>     I use /usr/bin/mail, mutt, fetchmail and exim4.
> 
> The man page for /usr/bin/mail claims it's a "mail processing system".
> Mutt is an MUA.
> Fetchmail's man page claims, 'mail-retrieval and forwarding utility'.
> Exim4's manpage claims it's an MTA, but fetchmail's manpage refers to
> exim as an MDA.
> 
> How does /usr/bin/mail know to put outbound mail in /var/spool/exim4/input?

/usr/bin/main calls /usr/sbin/sendmail . This happens to be exim .

> I killed the exim daemon and mail still puts mail in .../exim4/input
> even though 'exim4/input' doesn't appear in any file in /etc/ or
> root's environment.
> 
> > > When I tried this and the mail stopped getting delivered until I
> > > restored /etc/default/exim4.
> > 
> > Are you talking about delivering to external hosts?
> 
> No, rather fetchmail failed since there was no connection on port 25.

According to fetchmailrc(5) , try adding the following to your
.fetchmailrc:


  mda "/usr/sbin/sendmail -i -f %F -- %T"

Shouldn't this be the default?

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: