Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2006 18:16:26 -0400
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail = mind boggling
Message-ID:  <20060609181041.7EA0.GERARD@seibercom.net>
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:

> 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 - freebsd.cf,
> mail.xxx.co.uk.submit.cf, freebsd.submit.cf, sendmail.cf, mail.xxx.co.uk.cfand
> submit.cf.  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 freebsd.mc file, assuming that a 'hostname.mc' 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@seibercom.net


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060609181041.7EA0.GERARD>