Solved

550 Relay Errors

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

Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 - Database Availability Group (DAG) 2 34
Changing "From" field - Exchange 2013 5 47
Exchange Server not available 42 58
Exec Database for Exchange 5 47
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.
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
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

740 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