From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 22:16:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 155D616A41F for ; Fri, 9 Jun 2006 22:16:28 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19DC43D8D for ; Fri, 9 Jun 2006 22:16:24 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 70so94811wra for ; Fri, 09 Jun 2006 15:16:23 -0700 (PDT) Received: by 10.54.146.5 with SMTP id t5mr3483585wrd; Fri, 09 Jun 2006 15:16:23 -0700 (PDT) Received: from ?192.168.0.3? ( [216.45.217.148]) by mx.gmail.com with ESMTP id 28sm1730638wrl.2006.06.09.15.16.23; Fri, 09 Jun 2006 15:16:23 -0700 (PDT) Date: Fri, 09 Jun 2006 18:16:26 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: References: X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060609181041.7EA0.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Subject: Re: Sendmail = mind boggling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 22:16:28 -0000 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.