Sendmail = mind boggling

Gerard Seibert gerard at
Fri Jun 9 22:16:28 UTC 2006

Freminlins wrote:

> Hello,
> I've always steered clear of using Sendmail (prefering Exim), but I thought
> I would give it a try and am having real difficulties with something I think
> should be simple.
> 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 -,
>  I've tried all sorts of combinations of adding the above option
> to these files, but whenever I try to start Sendmail this error:
> sm-mta[52968]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0:
> cannot bind: Address already in use.
> Which file(s) am I supposed to put this option into? I just don't
> understand. Is it correct, also, that I have 6 cf files? I set this up as
> per the handbook. At this rate I know why I've always used Exim :-)
> Thanks,
> Frem.

In your file, assuming that a '' file does not
exist, place the following command:

DAEMON_OPTIONS(`Port=2525, Name=MTA')

Save the file, and from that directory run:

make all install restart

That should do it. By the way, make sure to use the proper 'tic' marks.

Gerard Seibert
gerard at

I would rather have a bottle in front of me than a frontal lobotomy.

More information about the freebsd-questions mailing list