From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 05:41:04 2005 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 16F3116A41F for ; Tue, 20 Sep 2005 05:41:04 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [63.240.76.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9602343D48 for ; Tue, 20 Sep 2005 05:41:03 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from fat_man.ascendency.net ([67.175.241.185]) by comcast.net (sccrmhc13) with ESMTP id <2005092005410101300a6m92e>; Tue, 20 Sep 2005 05:41:02 +0000 Received: from Mike8500 (c-67-173-128-145.hsd1.il.comcast.net [67.173.128.145]) (authenticated) by fat_man.ascendency.net (8.11.6/8.11.6) with ESMTP id j8K5jvG88834; Tue, 20 Sep 2005 00:45:57 -0500 (CDT) (envelope-from mike@ascendency.net) Message-Id: <200509200545.j8K5jvG88834@fat_man.ascendency.net> Received: from Mike8500 by Mike8500 (PGP Universal service); Tue, 20 Sep 2005 00:40:57 -0600 X-PGP-Universal: processed; by Mike8500 on Tue, 20 Sep 2005 00:40:57 -0600 From: "Mike Loiterman" To: Date: Tue, 20 Sep 2005 00:40:52 -0500 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcW9oF19COG9NztURKCvF60uBd6nxw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-PGP-Encoding-Version: 2.0.2 X-Content-PGP-Universal-Saved-Content-Transfer-Encoding: 7bit X-Content-PGP-Universal-Saved-Content-Type: text/plain; charset="us-ascii" Content-Type: text/plain; charset="us-ascii" Cc: petermatulis@yahoo.ca Subject: RE: Sendmail not listening correctly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mike@ascendency.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 05:41:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > First, keep in mind that these parameters only define how sendmail starts when the system is rebooted. > > Second, stop any sendmail processes. > > Third, start sendmail with the correct cf (config) file. It should be /etc/mail/freebsd.cf. > It is created from /etc/mail/freebsd.mc. The former is for sendmail only (do not peek) and the > latter is for you to read. When submit_only is ON, freebsd.submit.cf (generated from > freebsd.submit.mc) is used. You should investigate the mc files and learn how to generate cf files from them. I tried rebooting and that's when I get those errors. I tried doing a: #cd /etc/mail && make stop && killall -9 sendmail The config file I'm using is made from $hostname.cf. That's where I make all my changes. I don't know why but somehow there is something else listening on 25 but I can't figure out what: # sockstat | grep sendmail # cd /etc/mail && make start Starting: sendmail sendmail-clientmqueue. # sockstat | grep sendmail smmsp sendmail 727 3 dgram -> /var/run/log root sendmail 724 3 dgram -> /var/run/logpriv root sendmail 724 4 tcp4 *:25 *:* root sendmail 724 5 tcp6 *:25 *:* # tail -f /var/log/maillog Sep 20 00:38:18 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:23 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:23 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:28 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:28 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:33 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:33 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:38 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting - ------------------------------ Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: mike@ascendency.net PGP Key: 0xD1B9D18E -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQy+g6WjZbUnRudGOEQL8LQCfSuoZCCvz0AGj1dclCldTq8RYx88Anicn o2FjMQn8VCB5/2UkCcoRGcmI =tmEQ -----END PGP SIGNATURE-----