Error: Mailbox unavailable 5.7.1

Problem

I am attempting to send email using the localhost mail server in IIS. However I receive the following error message:

Exception type: SmtpFailedRecipientException
Exception message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for tod@kahunaworld.com

Solution

I received this error on my local staging server, so I had access to the server via Remote Desktop. I am not sure how "secure" this solution is, so use at your own risk.

  1. Open IIS.
  2. Right click on "Default SMTP Virtual Server" and select "Properties".
  3. Select the "Access" tab and click on the "Relay" button. This opens the Relay Restrictions window.
  4. Select the "All except the list below" radio button.
  5. Remove all items from the "list below".
  6. Check the checkbox for "Allow all computers which successfully authenticate...".
  7. Click OK.
  8. Click on the "Authentication" button. This should open the Authentication window.
  9. Make sure that only "Anonymous access" is checked.
  10. Click OK.
  11. Click OK again.
That should do it.

 

Published Thursday, May 31, 2007 3:44 PM by Tod Birdsall
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Wiroj Suksasunee said:

Oh It's helpful. I found this error messess too. Thank you.
August 1, 2007 5:46 AM
 

Omar Siado said:

Thanks, i wait it solve my problem... i'm Ussing DNN 4.5.X and i have problems to send e-mail to any directions that is not located at our SMTP domain...
September 7, 2007 12:03 PM
 

Tolis Karkoulis said:

That was helpful :)

You can also add 127.0.0.1 (for localhost) to the allow list, thus minimising any security issues.

October 12, 2007 5:41 PM
 

Zameer said:

Thank you very much for the above solution.It worked me after lots of stuggling finally it helped me.

April 16, 2008 8:20 AM
 

Sarika said:

oh ! thats really helpful. thanks a lot.

July 1, 2008 9:22 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit