Geeks With Blogs

News invisible hit counter View My Stats

Technical Speaking

I was trying to configure IIS 6 SMTP server for outbound mail in Windows Server 2008. I was getting error highlighted in below:

Telnet: 550 5.7.1 Unable to relay for ferdous@congral.com

I am sharing my experience here how to solve this error. This is an error reply from your SMTP mail server. It indicates that your mail server is not configured to allow you to send mail through it. The standard port is 25 for SMTP connections. You can check your SMTP Server on SMTP port 25 using Telnet command.Open "MS-DOS prompt" or "command prompt". Just type the following command in the command prompt window and press "Enter":

telnet domain-name.com 25

image

The above highlighted line shows the error. So, You need to do the following if you get the SMTP error message "550 5.7.1 Unable to relay"

By default, the SMTP virtual server allows relaying only from authenticated users. This configuration is designed to prevent unauthorized users from using your Exchange server to relay mail. The virtual server's default configuration allows only authenticated computers to relay mail.

Change Default Relay Restriction:

Go to IIS6.0 Manager –> SMTP Virtual Server Properties –> Go to Access tab

Change to “All except the list below” to remove restriction. You also add Restricted IPs or domain name that you don’t want to allow.

image

This should solve your problem to allow to send email anywhere like gmail, yahoo or any other domain.

Posted on Monday, December 13, 2010 12:32 PM | Back to top


Comments on this post: SMTP Exception: 550 5.7.1 Unable to relay

# 550 5.7.1 Unable to relay exchange 2007
Requesting Gravatar...
hello , we have e2k7 in our company. we are trying to send email from outlook 2003 client with pop3 configuration we receive error unable to relay but its working fine with other outlook 2007 clients. we try to send email from command prompt same error we are getting in all pc.
Left by mohammed dhastageer on May 31, 2011 11:10 AM

# re: SMTP Exception: 550 5.7.1 Unable to relay
Requesting Gravatar...
Thanks, that was helpful. One detail is missing though: On the access tab, press the relay button to configure the relay restrictions.
Left by Jan on May 18, 2012 9:53 AM

# re: SMTP Exception: 550 5.7.1 Unable to relay
Requesting Gravatar...
Nice...solved our issue, however does it opens up any loop holes and do you have any advice for "configuring" relay and "restricted ips"
Left by Dipanjan Ghosh on May 21, 2012 5:50 AM

# re: SMTP Exception: 550 5.7.1 Unable to relay
Requesting Gravatar...
Don't do this if your server is publically accessible, otherwise your server will be a host for mass spamming in no time...
Left by J on Nov 27, 2012 4:02 AM

# re: SMTP Exception: 550 5.7.1 Unable to relay
Requesting Gravatar...
You have to record an Accepted Domain in Exchange management named this :
sharepoint.domain.com as an internal relay(!) even if the domain itself present as an authoritive domain
Left by Zed on May 12, 2014 7:14 PM

# re: SMTP Exception: 550 5.7.1 Unable to relay
Requesting Gravatar...
Perfect, works on smtp server on server 2003, thks.
Left by Josep Ramon Gimeno on Sep 30, 2014 10:47 PM

Your comment:
 (will show your gravatar)


Copyright © MJ Ferdous | Powered by: GeeksWithBlogs.net | Join free