Sendmail = mind boggling
wmc20 at xxiii.com
Fri Jun 9 20:02:01 UTC 2006
> 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.
More information about the freebsd-questions