Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2006 16:02:03 -0400
From:      Wayne <wmc20@xxiii.com>
To:        Freminlins <freminlins@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Sendmail = mind boggling
Message-ID:  <4489D3BB.6090403@xxiii.com>
In-Reply-To: <eeef1a4c0606091234m28ad97b5o6c1f332067888dc4@mail.gmail.com>
References:  <eeef1a4c0606091234m28ad97b5o6c1f332067888dc4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Freminlins wrote:
> I want to keep running Exim on port 25. I want Sendmail to run on a
> different port. So I am trying to use the  "O DaemonPortOptions=Port=2525"
> option. However, I have 6 cf files in /etc/mail - freebsd.cf,

For quite some time now, it has been strongly suggested that you DO NOT 
try to manually edit the .cf file.  You edit the something.mc file, and 
use the m4 macro processor to generate a .cf file.  FreeBSD comes with a 
Makefile in /etc/mail to simplify (or compplicate?) things.  Read the 
top of it for info.  Basically, it looks for "hostname.mc" in /etc/mail, 
and failing that uses freebsd.mc.  It spits out .cf files with the same 
prefix as the .mc file it used.  "make install" will write that file to 
/etc/mail/sendmail.cf which is the one the daemon really reads.

    -Wayne




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4489D3BB.6090403>