Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sendmail SMTP errors

Posted on 2014-01-27
12
Medium Priority
?
2,954 Views
Last Modified: 2014-03-09
Hello,

When attempting to send an email to any user who utilizes Office 365, we are receiving the below bound back.   I can telnet to the theirdomain.mail.protection.outlook.com from the sending server.   Also included is the sendmail log

Jan 27 10:54:41 ourserver sendmail[9221]: s0RFsejc009221: to=auser@ourdomain.com, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=125676, relay=mail.ourdomain.com. [192.168.50.20], dsn=2.0.0, stat=Sent (<201401271554.s0RFsejc009221@ourdomain.com> [InternalId=17068806] Queued mail for delivery)

Jan 27 10:54:41 ourserver sendmail[9221]: s0RFrjjc009217: s0RFsejd009221: postmaster notify: Host unknown (Name server: theirdomain.mail.protection.outlook.com.: host not found)


Delivery has failed to these recipients or groups:

auser@theirdomain.com
The recipient's e-mail address isn't correct. Please check the e-mail address and try to resend the message. If the problem continues, please contact your helpdesk.



The following organization rejected your message: theirdomain.mail.protection.outlook.com.







Diagnostic information for administrators:

Generating server: server.ourdomain.com

auser@theirdomain.com
theirdomain.mail.protection.outlook.com #<theirdomain.mail.protection.outlook.com #5.1.2> #SMTP#

Original message headers:

Return-Path: <user@ourdomain.com>
Received: from localhost (localhost [127.0.0.1])
      by server.ourdomain.com (8.13.4/8.13.4/SuSE Linux 0.7) with SMTP id s0RFrjjc009217;
      Mon, 27 Jan 2014 10:53:48 -0500
Message-ID: <201401271553.s0RFrjjc009217@ourdomain.com>
X-Mailer: SQL
Date: Mon, 27 Jan 2014 10:53:45 -0500
To: auser@theirdomain.com
From: "A User" <auser@ourdomain.com>
Subject: So and So
Reply-To: "Another User" <anotheruser@ourdomain.com>
MIME-Version: 1.0
Content-Type: text/plain
Status: O
0
Comment
Question by:silvercas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
12 Comments
 
LVL 40

Expert Comment

by:noci
ID: 39814338
Is this actualy correct? theirdomain.mail.protection.outlook.com

Try to lookup the MX record from theirdomain.comand and if that is missing the A or AAAA record, and go from there. Something hasn't been setup correctly.
Obviously without actual names we can;t do that for you.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39814468
recipient doesn't exist .. that's what i think

TY/SA
0
 

Author Comment

by:silvercas
ID: 39814952
noci:  theirdomain was changed to protect the innocent.  they have mx recrords

sandeep_agarwal : recipient exist as I can email them from another system
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 40

Expert Comment

by:noci
ID: 39815056
well your DNS cannot translate the name for you or is unable to find another server that can do it. That's what the error means.

Have you tried:
telnet  theirdomain.mail.protection.outlook.com 25

(You can exit with QUIT, enter).

that is what sendmail also attempts to do.
0
 

Author Comment

by:silvercas
ID: 39815060
noci: did this test and it works find from the server.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39815081
Try below

#dig @dnsip mx
theirdomain.mail.protection.outlook.com

If no output then its a dns issue.

TY/SA
0
 

Author Comment

by:silvercas
ID: 39815096
dig @<ip of dns server> mx theirdomain.com

works fine and returns mx records

it appears that sendmail has an option to watch what it does to a message.  can this test be done with keeping sendmail up?
0
 
LVL 79

Expert Comment

by:arnold
ID: 39815275
Use telnet on your system
after you lookup the MX.
Establish a connection to one of the listed records starting from the one with the highest preference (lowest number).
see what response you get
telnet
set localecho
open MX_RECORD 25

ehlo yourhostname
mail from: <youremailaddress@yourdomain.com>
rcpt to: <user@theirdomain.com>
data
From: <youremailaddress@yourdomain.com>
To: <user@theirdomain.com>
Subject: testing

Message body
.
to every command up until data you should receive a 2xx message.  To data you should receive a 354 response.
To the ending single period on the line you should receive a 2xx with a notice that the message was accepted and queued.  If you get any other message, it should tell you what is going on.


In the example you posted, it seems that theirdomain is not longer served by the provider or they have a DNS error such that periodically the host does not resolve.
0
 

Accepted Solution

by:
silvercas earned 0 total points
ID: 39885627
Since office 365 offered free accounts for 30 days, I created an account.  This account didnt exhibit any issues.  I reached out to Office 365 and tested with their account and we didnt experience any issues.  Unfortunately the office 365 team was unable to help me with the domains we are having issue with.  To get help with those domains I would need to contact the office 365 admin for the troubled domains, which has proven to be difficult.
0
 
LVL 79

Expert Comment

by:arnold
ID: 39885961
Unfortunately, without information on the underlying domain, you are the eyes. What was the conclusion of the suggested test where you will replicate an SMTP session to the "troubled" domain.

The troubled domain might no longer be hosted by 365.

host not found means your system can not get an IP for the theirdomain.mail.protection.outlook.com
0
 
LVL 79

Expert Comment

by:arnold
ID: 39903519
A mixed solutions suggests that some of the comments you received help in resolving your question.
0
 

Author Closing Comment

by:silvercas
ID: 39915615
mixed solution
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question