Link to home
Start Free TrialLog in
Avatar of tomrwilson
tomrwilsonFlag for Canada

asked on

550 Mail Errors

I'm getting 550 errors in our Exchange logs for certain external emails:

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 - - - -

Why would gmail reject the message thinking it's a relay?  This is a valid gmail mailbox.

One thing that is odd is the 'www1'.  This email is being sent by an application on our web server.  Our mail server's proper name is mail.mydomain.com.  Why would the message appear to originate from www1.mydomain.com?

Any idears on this one?
Thanks! :)
Avatar of xxgenius
xxgenius

www1.mydomain.com does not have a valid reverse DNS address listed.  Gmail is bouncing all mail coming from a server that doesn't use reverse DNS.  have your web server relay through your exchange or have your ISP setup reverse DNS for your webserver.  reverse DNS is set at the ISP level.
Avatar of tomrwilson

ASKER

Problem is, www1 is not an external DNS name.  It's the actual netbios name of the web server.  www1.mydomain.com resolves to a 10.0.1.x address.  So I can't call up our ISP and ask for a reverse lookup on 10.0.1.x.

I can have the ISP give our public web server address a reverse lookup but that means www.mydomain.com will have a reverse lookup of mail.mydomain.com.  Plus, a lookup on mail.mydomain.com will return a different external address (that of the web server) and will fail anyway.

I suppose this is because the mail is being sent by the web server itself (Persits Mail Sender component for asp) and not relayed through our own mail server.

What's my best option, trash the Persits component for something that relays?
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of xxgenius
xxgenius

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Web server has a mapped external IP.  So it's 10.0.0.7 internally but 216.191.xxx.xxx externally.  If I (or have my isp) add a reverse lookup of mail.mydomain.com to the web server's external address, would that suffice?

Thanks!
yes, you can have them map 216.191 to a reverse DNS.  
Great, thanks for the help!