Solved

Sendmail to excahnge server

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
To show how to generate a certificate request 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 Servers >> Certificates…
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…

728 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