From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 22:33:27 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 085D216A427 for ; Wed, 21 Sep 2005 22:33:27 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [216.148.227.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD42943D64 for ; Wed, 21 Sep 2005 22:33:18 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from fat_man.ascendency.net ([67.175.241.185]) by comcast.net (rwcrmhc13) with ESMTP id <200509212233170150043uj9e>; Wed, 21 Sep 2005 22:33:17 +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 j8LMcEG03891 for ; Wed, 21 Sep 2005 17:38:14 -0500 (CDT) (envelope-from mike@ascendency.net) Message-Id: <200509212238.j8LMcEG03891@fat_man.ascendency.net> Received: from Mike8500 by Mike8500 (PGP Universal service); Wed, 21 Sep 2005 17:33:15 -0600 X-PGP-Universal: processed; by Mike8500 on Wed, 21 Sep 2005 17:33:15 -0600 From: "Mike Loiterman" To: Date: Wed, 21 Sep 2005 17:33:13 -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" 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: Wed, 21 Sep 2005 22:33:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Altering cf files directly is frowned upon. I can't help you there. Sorry, that's what I meant. I was editing the .mc files. > Make sure there is no sendmail listening (port 25 or 587). Here's what I did: 1. Killed all sendmail processes # killall -9 sendmail # 2. Wiped out all custom sendmail config files and created fresh clean standard ones. # rm hostname.* # make all 2. Listed everything before starting up sendmail # netstat -naf inet Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.1.22.22 192.168.1.3.4154 ESTABLISHED tcp4 0 0 *.993 *.* LISTEN tcp4 0 0 *.143 *.* LISTEN tcp4 0 0 *.995 *.* LISTEN tcp4 0 0 *.110 *.* LISTEN tcp4 0 0 *.139 *.* LISTEN tcp4 0 0 127.0.0.1.783 *.* LISTEN tcp4 0 0 *.3306 *.* LISTEN tcp46 0 0 *.80 *.* LISTEN tcp4 0 0 *.22 *.* LISTEN udp4 0 0 192.168.1.22.138 *.* udp4 0 0 192.168.1.22.137 *.* udp4 0 0 *.138 *.* udp4 0 0 *.137 *.* udp4 0 0 127.0.0.1.123 *.* udp4 0 0 192.168.1.22.123 *.* udp4 0 0 *.123 *.* udp4 0 0 *.514 *.* I don't see anything that should conflict. Do you? 3. Started sendmail # cd /etc/mail # make start 4. Listed everything after starting sendmail # netstat -naf inet Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 127.0.0.1.62121 127.0.0.1.25 SYN_SENT tcp4 0 0 *.25 *.* CLOSED tcp4 0 0 192.168.1.22.22 192.168.1.3.4154 ESTABLISHED tcp4 0 0 *.993 *.* LISTEN tcp4 0 0 *.143 *.* LISTEN tcp4 0 0 *.995 *.* LISTEN tcp4 0 0 *.110 *.* LISTEN tcp4 0 0 *.139 *.* LISTEN tcp4 0 0 127.0.0.1.783 *.* LISTEN tcp4 0 0 *.3306 *.* LISTEN tcp46 0 0 *.80 *.* LISTEN tcp4 0 0 *.22 *.* LISTEN udp4 0 0 192.168.1.22.138 *.* udp4 0 0 192.168.1.22.137 *.* udp4 0 0 *.138 *.* udp4 0 0 *.137 *.* udp4 0 0 127.0.0.1.123 *.* udp4 0 0 192.168.1.22.123 *.* udp4 0 0 *.123 *.* udp4 0 0 *.514 *.* 5. Checked /var/log/maillog to find the same errors: # tail -f /var/log/maillog Sep 20 11:09:40 eisenhower sm-mta[2461]: starting daemon (8.13.3): SMTP+queueing@00:30:00 Sep 20 11:09:40 eisenhower sm-mta[2461]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 11:09:40 eisenhower sm-mta[2461]: daemon MTA: problem creating SMTP socket Sep 20 11:09:40 eisenhower sm-msp-queue[2464]: starting daemon (8.13.3): queueing@00:30:00 Sep 20 11:09:45 eisenhower sm-mta[2461]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 11:09:45 eisenhower sm-mta[2461]: daemon MTA: problem creating SMTP socket Sep 20 11:09:50 eisenhower sm-mta[2461]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 11:09:50 eisenhower sm-mta[2461]: daemon MTA: problem creating SMTP socket Sep 20 11:09:55 eisenhower sm-mta[2461]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 11:09:55 eisenhower sm-mta[2461]: daemon MTA: problem creating SMTP socket Sep 20 11:10:00 eisenhower sm-mta[2461]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 11:10:00 eisenhower sm-mta[2461]: daemon MTA: problem creating SMTP socket This is my hostname.mc file: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl -------------------------------- dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) This is starting to get frustrating... - ------------------------------ 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/AwUBQzHfq2jZbUnRudGOEQJQNQCgntFbFVuE28Fa47pqwv4qkEZta6oAn3Wv XnCa3e0+9MQq6Mdr8qD0RjbM =ZiKn -----END PGP SIGNATURE-----