Solved

550 Relay Errors

Posted on 2006-11-01
3
236 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…

696 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