Sendmail DSN Error - OLD TITLE (Sendmail Smart Host using a TLS host is rejected)

I am trying to configure a new Sendmail installation on my FreeBSD server with dual MTA SA / VS implementation. Everything seems to work fine when I process mail on my own, but when I try to send mail through my smart host (which I do on another server without problems), I get a Service Not Available message from the host. It appears that my sendmail is trying to send mail to my smart host using TLS and as such is rejected by the smart host.

This is the line in my sendmail.cf file that defines my smart host:

define(`SMART_HOST', `smtp.comcast.net')dnl 

here is my log output when trying to send a message:

January 9 20:36:51 shep sendmail [4814]: STARTTLS = client, relay = smtp.comcast.net, version = TLSv1 / SSLv3, verify = FAIL, cipher = DHE-RSA-AES256-SHA, bits = 256/256
January 9, 20:36:51 shep sendmail [4814]: r0A1apXE004812: to=myemail@gmail.com , ctladdr = root (0/0), delay = 00: 00: 00, xdelay = 00: 00: 00, mailer = relay, pri = 30038, relay = smtp.comcast.net [68.87.26.155], dsn = 5.0.0, stat = service is unavailable

I would like for him to just send it to a smart host without encrypted shit, how do I turn it off?

This is a log entry from my other server, where it works correctly with an intelligent host:

Jan 9 21:48:09 karma sm-mta [89472]: r0A2m2d8089469: to =, ctladdr = (1001/0), delay = 00: 00: 02, xdelay = 00: 00: 01, mailer = relay, pri = 30351, relay = smtp.comcast.net [68.87.26.155], dsn = 2.0.0, stat = sent (m2tP1k00o3Nw2a03Y2tQjg letter accepted for delivery)

Thanks,

L

+4
source share
2 answers

So, I was just about to erase this post, as the title is misleading. I solved the problem, and I decided to leave the question and answer, because it seems like a problem for others, so I hope this helps.

The true problem observed above is a DSN error, not a DNS, but a DSN. Sendmail delivery notification or delivery status notification is a feature that is part of sendmail's MTA.

What happened when I sent mail from my command line, I received a DSN error because the host name was not set in my sendmail.cf file.

I noticed this when I sent mail from another mail client, and it went through OK, and then I looked more at DSmail sendmail itself.

Adding the following line to my mc file and then recompiling to the appropriate cf file fixed the problem:

 define(`confDOMAIN_NAME', `your.domainnamehere.com')dnl 
+3
source

It was decided that my sendmail was released.

I put the following in sendmail.mc

 define(`confDOMAIN_NAME', `smtp.gmail.com')dnl define(`SMART_HOST', `smtp.gmail.com')dnl define(`confAUTH_MECHANISMS`, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN`)dnl FEATURE('authinfo','hash /etc/mail/auth/client-info')dnl 
-1
source

All Articles