Link to home
Start Free TrialLog in
Avatar of webressurs
webressursFlag for Norway

asked on

Error sending mail: Unable to relay (SMTP / IIS)

When trying to send mail from a website on my Windows 2003 server I get this error message:
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for post@mail.com (valid email).

After some searching I understand that nothing is wrong, but you are not allowed to relay (send the email). By default, the SMTP server in windows Server 2003 will not allow anyone
to relay. So you have to allow the local server to relay.

The solution should be this: Open IIS Manager, and right click the virtual server (ie "Default SMTP Virtual Server") and click Properties. Click on the Access tab, and click
the Relay button. Add the IP of the webserver to the list of machines
allowed to relay. This setting will allow your webserver to relay thru the SMTP server.

My problem is that there is no Default SMTP Virtual Server when I open IIS Manager. The SMTP Service is installed, if I open Add/Remove Windows Components - Application Server - IIS - SMTP Service it is checked. How can I allow to relay?? PS: This is Small Business Server 2003 R2, dont know if Exchange Server can be a issue? I dont use it... I think..?
Avatar of Krisdeep
Krisdeep
Flag of Australia image

The smtp virtual server is in Exchange management Console
ASKER CERTIFIED SOLUTION
Avatar of Krisdeep
Krisdeep
Flag of Australia image

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
Avatar of webressurs

ASKER

Ok, where do I find that? I cant see it in "Administrative tools" or "Control Panel". Do I have to use the Server Management tool? Thanks for helping me!!
SOLUTION
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
Let me know if you require any more information ill guide you through