From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 01:53:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6720A16A418 for ; Wed, 2 Jan 2008 01:53:00 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0C94D13C43E for ; Wed, 2 Jan 2008 01:52:59 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id m021qgHA095020; Tue, 1 Jan 2008 19:52:42 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080101195131.0240fe50@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 01 Jan 2008 19:52:27 -0600 To: Andrew Falanga , FreeBSD Questions From: Derek Ragona In-Reply-To: <200801011017.21412.af300wsm@gmail.com> References: <200801011017.21412.af300wsm@gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: sendmail is broken, how do I fix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 01:53:00 -0000 At 11:17 AM 1/1/2008, Andrew Falanga wrote: >Hello, > >I'm not sure what I did. I've been following instructions (really!) and >after >following the instructions from here: >http://www.puresimplicity.net/~hemi/freebsd/sendmail.html > >to setup SSL/TLS authentication for mail relaying, my sendmail installation >always gives me this very frustrating messages in /var/log/maillog: > >Jan 1 11:24:27 whitbap sm-mta[3706]: starting daemon (8.13.8): >SMTP+queueing@00:30:00 >Jan 1 11:24:27 whitbap sm-mta[3706]: NOQUEUE: SYSERR(root): >opendaemonsocket: >daemon MTA: cannot bind: Address already in use >Jan 1 11:24:27 whitbap sm-mta[3706]: daemon MTA: problem creating SMTP socket >Jan 1 11:24:27 whitbap sm-msp-queue[3710]: starting daemon (8.13.8): >queueing@00:30:00 >Jan 1 11:24:27 whitbap sm-mta[3707]: m010sNBM004564: >to=, delay=17:30:04, xdelay=00:00:00, mailer=esmtp, >pri=1835114, relay=mail02.interchangeusa.com. [63.251.210.81], dsn=4.0.0, >stat=Deferred: Connection refused by mail02.interchangeusa.com. >Jan 1 11:24:32 whitbap sm-mta[3706]: NOQUEUE: SYSERR(root): >opendaemonsocket: >daemon MTA: cannot bind: Address already in use >Jan 1 11:24:32 whitbap sm-mta[3706]: daemon MTA: problem creating SMTP socket >Jan 1 11:24:37 whitbap sm-mta[3706]: NOQUEUE: SYSERR(root): >opendaemonsocket: >daemon MTA: cannot bind: Address already in use >Jan 1 11:24:37 whitbap sm-mta[3706]: daemon MTA: problem creating SMTP socket >Jan 1 11:24:42 whitbap sm-mta[3706]: NOQUEUE: SYSERR(root): >opendaemonsocket: >daemon MTA: cannot bind: Address already in use > >Try as I have, I cannot isolate what is causing this. When I completely kill >all sendmail processes (as verified by sockstat and ps -aux) there is >*nothing* using port 25. I do not understand what is going on. > >While following the instructions for smtp authentication in: >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html > >I perhaps made one of my blunders. These instructions say to alter the >file "freebsd.mc" rather than .mc. It does say that some admin's >like to use .mc, but because I didn't know much about how FreeBSD >does the install, I saw freebsd.mc and added the three lines listed in bullet >item 6 on that web page. Later, I saw that I did have the file .mc >and while researching a resolution to this problem learned that FreeBSD makes >the .mc file when doing a "make all" if memory serves. > >Anyway, I then removed those three lines from freebsd.mc and pasted them into >.mc. Regardless, when I had those three lines in freebsd.mc >everything worked. I made the changes for SSL/TLS as Josh Tolbert lays out >in his web site (see above link) and when I restarted sendmail, that's when >my troubles began. I don't understand what it is that I did and how it made >it so that sendmail now thinks something else is using the socket/address. > >I'm desperate for a solution. Thanks for any help. > >Andy While you think there is nothing on that port something is running not letting that socket connection. Try rebooting the system and see if the problem is still there. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.