If a new user registers for an account and uses an e-mail address local to my organization (ie an e-mail address from my Exchange server) they receive the new registration e-mail just fine. If they use an e-mail address external to my organization (ie gmail, yahoo, or anything else) they do not get the e-mail and the following error occurs in the logs: "SMTP server response: 550 5.7.1 Unable to relay".

I strongly suspect this is likely do a setting on my Exchange server but not being an Exchange guru myself I'm not sure what it is. Does anybody have any insight they could offer me?

Comments

Hobbes1020’s picture

Anyone?

lias’s picture

Unfortunately, I'm not able to solve this as I have the same problems. I am using apache 2.x, php 5, mysql 5 on a windows 2003 box. It sends to internal email addresses just fine but when I try a yahoo.com, etc. account it fails with the 550 email error. I was wondering if the SMTP Authentication module would fix this? http://drupal.org/project/smtp

You may want to look at this http://drupal.org/node/72474 if you have access to your exchange server.

bdiekmann’s picture

The most probable answer to this issue is to allow relaying for the the Server that is hosting your Drupal installation.

I do not have access to an Exchange 2007 box at the moment, but I believe you will need to go to System manager and drill down to the server, then to the protocol and in the SMTP server you will need to select properties and in there, there is a permissions area for allowing relay. you will need to specifically add the ip address of you rdrupal server (it needs to be the ip address that the Exchange server sees, in case you are doing any forwarding, masking or natting). You will then need to stop and start the smtp service on teh exchange box.

newsguy

Hobbes1020’s picture

Finally figured this out.

External relay was being blocked by my Exchange server. I was hesitant to just open up my relay as I didn't want Spammers hitting me. After talking to an Exhange Admin buddy of mine he pointed me in the right direction:

http://msexchangeteam.com/archive/2006/12/28/432013.aspx