need help on Sendmail, dsn=5.6.0, stat=Data format error
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
need help on Sendmail, dsn=5.6.0, stat=Data format error
I'm having this issue with my sendmail server whereas, I can send email to ymail and gmail, but unfortunately if I try to send to a different mail server I'm receiving dsn=5.6.0, stat=Data format error
You can get this error for a lot of reasons. If you don't have SWAKS and your connection requires STARTTLS then it's very hard to trouble-shoot with telnet. This might give you some help.
One of the things that can cause this issue if if you have an older openssl implementation with heartbleed error and the other side detects it and disconnects.
Also, if you DON'T have a heartbleed issue, your openssl is 1.02 or newer (openssl version) the far end might disconnect if it knows you are HEARTBEAT capable (such as amazon SES).
Try using openssl as your SMTP command and you will be able to see why the far side disconnects:
Then your screen will spit out a bunch of stuff and eventually get to "250 Ok" as follows ('->' represents server output, '<-' represents what you TYPE):
-> 250 Ok
<- EHLO my.server.com
-> 250-some-server.somewhere.com
-> 250-8BITMIME
-> 250-STARTTLS
-> 250-AUTH PLAIN LOGIN
-> 250 Ok
<- AUTH LOGIN
-> 334 VXNlcm5hbWU6
<- <login-I know this should be encrypted but to test it doesn't have to be>
-> 334 UGFzc3dvcmQ6
<- <thepassword>
-> HEARTBEATING
-> 139643214628752:error:1413B16D:SSL routines:tls1_heartbeateer does not accept heartbeats:t1_lib.c:4039:
Could be other reasons, too.
David
Last edited by ddbtek; 03-01-2024 at 09:25 PM.
Reason: remove idnetifying info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.