Solved

550 Relay Errors

Posted on 2006-11-01
3
220 Views
Last Modified: 2010-03-06
I'm still having a problem with this.  Background:

We have a web server (www1) and a mail server (exchange 2003, mail.mydomain.com).  The web server uses a 3rd party asp component to send mail (persits mail sender).  When the web site sends an email, that message goes to our exchange server.  I can see this in the logs:

2006-10-31 19:19:34 216.191.xxx.xxx www1.mydomain.com SMTPSVC1 BCMAIL 10.0.0.7 0 HELO - +www1.mydomain.com 250 0 58 31 0 SMTP - - - -
2006-10-31 19:19:34 216.191.xxx.xxx www1.mydomain.com SMTPSVC1 BCMAIL 10.0.0.7 0 MAIL - +FROM:+<someuser@mydomain.com> 250 0 57 45 0 SMTP - - - -
2006-10-31 19:19:34 216.191.xxx.xxx www1.mydomain.com SMTPSVC1 BCMAIL 10.0.0.7 0 RCPT - +TO:+<someguy@gmail.com> 550 0 49 28 0 SMTP - - - -

What I don't understand, is if our mail server (mail.mydomain.com) is sending the email, why is it sendin as www1.mydomain.com?  www1 is the netbios name of the web server, not a public DNS address.

I can understand the relay error if it was coming from our mail server; it wouldn't allow the web server to 'relay' through it but obviously it is.  At gmail's end, I assume it looks at the name www1, queries DNS and finds 'mail' is the authoritative sender and rejects it.  But why is our mail server delivering as www1?

I figured the mail sender on the web server requires authentication to send but that can't be the problem either.  It is accepting the message and sending it to gmail but as www1 and gmail rejects it.

Why would our exchange server deliver the message as www1?
Thanks!
0
Comment
Question by:tomrwilson
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
nitadmin earned 250 total points
ID: 17855389
You asp code is connecting to your Exchange server as a smtp client. Your exchange server is actually relaying the e-mails. It is allowed to relay because it is host in your domain or subnet. Or your code probably has the username and password which it uses to authenticate with server.

Cheers,
NITADMIN

0
 
LVL 8

Expert Comment

by:nitadmin
ID: 17855472
You may want to post a new question to the ASP section under Web development and ask them what class, method or function to use for sending e-mails without having the e-mail appear to come from the web server host.

Cheers,
NITADMIN
0
 

Author Comment

by:tomrwilson
ID: 17857923
I can't see the trees for the forest...  The log entry above is OUR exchange server rejecting the mail from the web server, not gmail rejecting its delivery.  I added the web server's IP's to the relay list and all is well.  Cool.  Thanks for the effort!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

708 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

12 Experts available now in Live!

Get 1:1 Help Now