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): 
[EMAIL PROTECTED]:30:00
Dec 31 18:40:24 whitbap sm-mta[5018]: lBU9XI9f063744: to=<[EMAIL PROTECTED]>, 
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): 
[EMAIL PROTECTED]: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): 
[EMAIL PROTECTED]:30:00
Dec 31 18:41:03 whitbap sm-mta[5082]: m010sNBM004564: 
to=<[EMAIL PROTECTED]>, 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 <hostname>.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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to