From owner-freebsd-questions@FreeBSD.ORG Tue Jan 1 00:33: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 7FBE316A419 for ; Tue, 1 Jan 2008 00:33:00 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 53FD713C448 for ; Tue, 1 Jan 2008 00:32:59 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so8386614waf.3 for ; Mon, 31 Dec 2007 16:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=51Sg7maXfPsI9Pqd5ZSoMltJtEnaNszETF61mkLNuug=; b=J+2IUayxJPl+zKk0zKjEwwMNW9NE0xiQ4W1KqRTNYeXMOUiGfX1964M3vtY9uaBWp3sknEIqgMhwkVVCE9uWObdf6FnWxVEj8CDGb7hbb1UXfhnJ5gem/KP5H9voXhITZ0P0YZ5Oojwzvun+vLZOHzHFCgWf1DkQdnmXT6ZlhI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=D+1wsrbvMSbFfLB50tihhhufAgSlvXdYBmn7YrVT+hnIkx8g7HPgKcQhxMonzVc+eVuiiXMnsoJ5bMnXeYpQu53mR5bF831Bs/ZTUqVTkHlpX0aDoBFa325JJMWD9BTugnipUM5PSZ3FlnPHthPj+fFSGJ2pD9CtdZjbt+Y9u94= Received: by 10.114.57.1 with SMTP id f1mr13566055waa.15.1199147579517; Mon, 31 Dec 2007 16:32:59 -0800 (PST) Received: from sniper ( [71.221.176.225]) by mx.google.com with ESMTPS id l22sm11668438waf.10.2007.12.31.16.32.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Dec 2007 16:32:58 -0800 (PST) From: Andrew Falanga To: FreeBSD Questions Date: Mon, 31 Dec 2007 17:32:39 -0700 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712311732.39605.af300wsm@gmail.com> Subject: Now sendmail won't even start 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: Tue, 01 Jan 2008 00:33:00 -0000 HI, Ok, a couple of days ago, Josh Tolbert told me to check out his site for how to setup sendmail+SMTP AUTH+SSL/TLS. So, I went to your (Josh's) site and followed the directions. Now however, sendmail doesn't even want to start. Actually, more correctly, it doesn't want to stay running. If I do: /etc/rc.d/sendmail start sendmail starts and is actually listening on port 25 for all of 30 seconds, then that section of sendmail dies. Then, all I have is this left over from the start of sendmail (gleened by doing "sockstat | grep sendmail"): smmsp sendmail 5085 3 dgram -> /var/run/log root sendmail 5082 4 dgram -> /var/run/logpriv root sendmail 5082 6 tcp4 192.168.2.23:63862 204.17.36.86:25 Doing "tail /var/log/maillog" yeilds this: Dec 31 18:40:16 whitbap sm-msp-queue[5059]: starting daemon (8.13.8): queueing@00:30:00 Dec 31 18:40:24 whitbap sm-mta[5018]: lBU9XI9f063744: to=, delay=1+16:07:06, xdelay=00:01:15, mailer=esmtp, pri=7595712, relay=gpcvb.org. [204.17.36.86], dsn=4.0.0, stat=Deferred: Operation timed out with gpcvb.org. Dec 31 18:41:03 whitbap sm-mta[5080]: gethostbyaddr(192.168.2.23) failed: 1 Dec 31 18:41:03 whitbap sm-mta[5081]: starting daemon (8.13.8): SMTP+queueing@00:30:00 Dec 31 18:41:03 whitbap sm-mta[5081]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Dec 31 18:41:03 whitbap sm-mta[5081]: daemon MTA: problem creating SMTP socket Dec 31 18:41:03 whitbap sm-msp-queue[5085]: starting daemon (8.13.8): queueing@00:30:00 Dec 31 18:41:03 whitbap sm-mta[5082]: m010sNBM004564: to=, delay=00:46:40, xdelay=00:00:00, mailer=esmtp, pri=845114, relay=mail02.interchangeusa.com. [63.251.210.81], dsn=4.0.0, stat=Deferred: Connection refused by mail02.interchangeusa.com. Dec 31 18:41:08 whitbap sm-mta[5081]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Dec 31 18:41:08 whitbap sm-mta[5081]: daemon MTA: problem creating SMTP socket Other than the below lines my .mc file is unaltered. These are the only lines I've added: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl #define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl #TRUST_AUTH_MECH(`PLAIN LOGIN')dnl #define(`CERT_DIR', `/etc/mail/certs')dnl #define(`confCACERT_PATH', `CERT_DIR')dnl #define(`confCACERT', `CERT_DIR/whitbap_cert.pem')dnl #define(`confSERVER_CERT', `CERT_DIR/whitbap_cert.pem')dnl #define(`confSERVER_KEY', `CERT_DIR/whitbap_key.pem')dnl #define(`confCLIENT_CERT', `CERT_DIR/whitbap_cert.pem')dnl #define(`confCLIENT_KEY', `CERT_DIR/whitbap_key.pem')dnl #DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl #DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA')dnl The commented stuff is what I added from Josh's web site. The stuff above it is what I added following some other instructions a couple of days ago. I made these changes from the instructions in the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. I uncommented them because before I made the changes to use SSL, it (sendmail) worked. Now it's not so I was trying to back the changes out just to see if sendmail would work again, but it's not. What is going on? Andy