Solved

Relay Exchange Server 2003

Posted on 2011-09-06
10
440 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
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
 
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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

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.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

760 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

17 Experts available now in Live!

Get 1:1 Help Now