Solved

Relay Exchange Server 2003

Posted on 2011-09-06
10
447 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
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
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

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