Solved

Relay Exchange Server 2003

Posted on 2011-09-06
10
451 Views
Last Modified: 2012-05-12
Help:
My exchange server will not send out emails from a internal server.  I have a applicataion that converts our invoices to a PDF and then send them using SMTP.  THis was working but recently I updateed our firewall and now my exchange server is rejecting these emails.  I have added the server IP address that is converting the invoices to a PDF in my exchange server to allow rellay from this IP address, but it is still rejecting these emails.
IE
Error: Sending to SMTP Server Failed: (48): Setting TO failed.
550 5.7.1 Unable to relay for penni@blue.edu
  Invoice No  0905793   BLUE CLIFF CAREER COLLEGE        
Error: Sending to SMTP Server Failed: (48): Setting TO failed.
550 5.7.1 Unable to relay for penni@blue.edu
I need a bit of direction, if someone can chime in and present outside point of view....

I this rejection becasue of the server the email is sending to or my exchange server.....?
0
Comment
Question by:Scott Johnston
[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
10 Comments
 
LVL 14

Expert Comment

by:Schnell Solutions
ID: 36492817

How many Exchange servers you have?

How you delivery the emails to the Internet, do you use an equipment or are they delivery directly from the Exchange server?

0
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 36493453
What firewall are you using - when you say updated did you change rules for your Exchange?
0
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 36493825
What are the updates you did on the firewall ? are the two servers hosted in the same network subnet ?
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 4

Expert Comment

by:XCONBLR
ID: 36496114
This does not looks like an Exchange generated NDR.
Try to do a telnet from the IP address from where your application is submitting an email to the Exchange server on port 25.

try giving the following commands.
ehlo
mail from: test@test.com
rcpt to: <one of your external email address like yahoo adress or gmail address>
data
Subject: test

Test.
.

Check if the above commands is getting accepted by the Exchange server. - If it is accepted, your Exchange is fine.
If it is accepted, log on to your Exchange box and do a telnet to the MX record of the domain for which you are submitting the email to from your application.
Try following the same set of commands except that in the rcpt to: provide the email address to which the application sends emails to.
Check what is going on with it.
0
 

Author Comment

by:Scott Johnston
ID: 36498749
I have done this test and it works from every server.....Any other ideas?
0
 

Author Comment

by:Scott Johnston
ID: 36499053
PS I have a SonicWall firewall solution...
0
 
LVL 4

Expert Comment

by:XCONBLR
ID: 36501465
Could you track your messages being sent from the Application through your server and see what is the stage at which  the message is getting an NDR? I am pretty sure that the server is not generating it, but could you confirm?
0
 

Author Comment

by:Scott Johnston
ID: 36506561
My server is hung...It seems that I am relaying emails and have worked today to stop them but I still find that I am comming up as a relaying email server.
I used DNSGoodies to test and the results are:
220 BIOMAIL.corp.biotone.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at Thu, 8 Sep 2011 14:33:38 -0700
>> HELO 192.168.5.220
<< 250 BIOMAIL.corp.biotone.com Hello [208.82.183.220]
 
--------------------------------------------------------------------------------
>> MAIL FROM:<spammer@192.168.5.220>
<< 250 2.1.0 spammer@192.168.5.220....Sender OK
 >> RCPT TO:<spammee@64.73.243.238>
<< 550 5.7.1 Unable to relay for spammee@64.73.243.238
 >> RSET
<< 250 2.0.0 Resetting
 
--------------------------------------------------------------------------------
>> MAIL FROM:<spammer@192.168.5.220>
<< 250 2.1.0 spammer@192.168.5.220....Sender OK
 >> RCPT TO:<"spammee@64.73.243.238">
<< 250 2.1.5 "spammee@64.73.243.238"@biotone.com

So I have verfioed that I have Relaying turned off ..

I have these NDR in my application log...
Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      NDR
Event ID:      3030
Date:            9/8/2011
Time:            2:31:30 PM
User:            N/A
Computer:      BIOMAIL
Description:
A non-delivery report with a status code of 4.0.0 was generated for recipient rfc822;whocare2852@yahoo.com.tw (Message-ID  <ESAGCJXVUVBWQKKRPBTST.ECXUUZmatthewdean@yahoo.ca>).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
----------------------------------------

I also am getting this type of message:
Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      NDR
Event ID:      3018
Date:            9/8/2011
Time:            2:40:13 PM
User:            N/A
Computer:      BIOMAIL
Description:
A non-delivery report with a status code of 5.4.0 was generated for recipient rfc822;morris_tseng@a-chance.com.tw (Message-ID  <e1ff09ffe3f6469bb4036de9c2e52bce@fbd52300a3494c5d83236fa4496512f5>).  
Causes: This message indicates a DNS problem or an IP address configuration problem  
Solution: Check the DNS using nslookup or dnsq. Verify the IP address is in IPv4 literal format.
For more information, click http://www.microsoft.com/contentredirect.asp.
Data:
0000: ef 02 04 c0               ï..À

pLEASE ADVISE...  



Here is my smtp setup and I am not sure this is setup correctly....
0
 

Accepted Solution

by:
Scott Johnston earned 0 total points
ID: 36530778
After much tweeking, I rebuilt the SMPT connector and reset the setting in exchange and it seems to be fixed.  Thank you for all your support.  IU think my conector had been attacked and or compromised.  Since I have reuilt the connector no more problems.
0
 

Author Closing Comment

by:Scott Johnston
ID: 36555808
My solution fixed the problem.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

617 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