Solved

Sendmail to excahnge server

Posted on 2007-11-28
2
623 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

948 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

21 Experts available now in Live!

Get 1:1 Help Now