Solved

Sendmail to excahnge server

Posted on 2007-11-28
2
618 Views
Last Modified: 2013-12-17
I am currently using sendmail and use smart relay to an exchange 5.5 server.  In sendmail.cf i have DS192.168.1.92 which points to an exchange 5.5 server.  We are upgrading to Exchange 2003 and the .92 server is going away. I tried changing to the 2003 exch server address DS192.168.1.24 and restarted everything but it now will not send. I added the IP address of the HP box to be allowed to relay from the SMTP Virtual server in Exchange System Manager.  The following is the error I get when trying to send out an email.  I kind of assume it has to do with DNS but why did it work with Exchange 5.5 and fail with Exchange 2003.

Message 19/21047 Mail Delivery Subsystem

Date: Wed, 28 Nov 2007 18:56:12 -0500 (EST)
To: root@tandc.
Subject: Returned mail: Service unavailable
Auto-Submitted: auto-generated (failure)

[Attach #1: ""]
[Type: text/plain, Encoding: 7bit, Size: 336]

The original message was received at Wed, 28 Nov 2007 18:56:12 -0500 (EST)
from root@localhost

   ----- The following addresses had permanent fatal errors -----
gbohrman@tncliving.com

   ----- Transcript of session follows -----
... while talking to 192.168.1.24:
>>> HELO tandc.
<<< 501 5.5.4 Invalid Address
554 Service unavailable

[Attach #2: ""]
[Type: message/delivery-status, Encoding: 7bit, Size: 293]

Reporting-MTA: dns; tandc.
Arrival-Date: Wed, 28 Nov 2007 18:56:12 -0500 (EST)

Final-Recipient: RFC822; jsmith@tncliving.com
Action: failed
Status: 5.5.0
Remote-MTA: DNS; 192.168.1.24
Diagnostic-Code: SMTP; 501 5.5.4 Invalid Address
Last-Attempt-Date: Wed, 28 Nov 2007 18:56:12 -0500 (EST)

[Attach #3: ""]
[Type: message/rfc822, Encoding: 7bit, Size: 433]

-- Start of included mail.
Return-Path: <root>
Subject: test 656
To: jsmith@tncliving.com
Date: Wed, 28 Nov 2007 18:56:11 -0500 (EST)

test 656

-- End of included mail.
0
Comment
Question by:gbohrman
2 Comments
 
LVL 16

Accepted Solution

by:
Blaz earned 250 total points
ID: 20372123
As far as I can see the problem is with the name of your linux box. It is named "tandc." which the Exchange SMTP server does not like because of the ending ".".

Make your linux box a part of a domain so that its name will be "tandc.domain.com" or whatever and I believe that your problem will be solved.
0
 

Author Comment

by:gbohrman
ID: 20377183
Your response led me in the right direction. I found a microsoft fix in KB291828, it allowed me to workaround it.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now