Which mail transport should I use.

Les Mikesell lesmikesell at gmail.com
Thu Sep 22 15:00:20 UTC 2005


On Thu, 2005-09-22 at 07:51, Alexander Dalloz wrote:
> > 
> > It seems to me that sendmail is overly complicated to do this simple task,
> > any suggestions on what to use or how to do is very much appreciated.
> 
> I disagree. What you want is easy to achieve running Sendmail. But
> without reading a bit of the documentation you won't get that far, of
> course.

But be careful what you read.  The fedora distribution supplies an
intentionally-broken sendmail.cf so you have to rebuild it if you
want to receive mail from outside at all.  However if you have
installed the sendmail-devel, you get a Makefile in /etc/mail
that automates all the grunge work after edits. 

> /etc/mail/sendmail.mc is to be edited. It already contains a prepared
> and commented smart host entry (nearly at top). Then either give your
> mail host a valid FQDN so Sendmail can detect it (make sure the first
> dotted FQDN in /etc/hosts is that name). As an alternate you can
> activate the masquerading settings which are too already prepared in
> sendmail.mc.

You might have to consult some other docs about what to change in
sendmail.mc, but don't follow their instructions about how to
rebuild sendmail.cf.  Just type 'make' in the /etc/mail directory
and then restart sendmail. Likewise for the other files where
you normally have to rebuild databases - but you don't have to
restart sendmail for those (access, etc.).

-- 
  Les Mikesell
    lesmikesell at gmail.com





More information about the users mailing list