22

I have read Mailbox unavailable. The server response was: 5.7.1 Unable to relay for abc@xyz.com and all of the answers. I have added my IP address via

IIS-->Default SMTP Virtual Server-->Properties-->Access-->Relay restrictions just add or exclude >the IPs you care about, should resolve the issue.

but it still gives me the error as above. What am I doing wrong?

I'm using Windows Sever 2003 R2 and IIS6.

Community
  • 1
  • 1
Mithir
  • 2,355
  • 2
  • 25
  • 37

1 Answers1

59

I was able to fix this in my case by:

  1. Go to Administrative Tools -> IIS 6.0 Manager
  2. Right click "SMTP Virtual Server" then Click Properties
  3. Select Access tab
  4. Click "Relay..." in Relay Restrictions
  5. Select "Only the list below"
  6. Add 127.0.0.1 and my server IP to the list
  7. Check Allow all computers which successfully authenticate to relay, regardless of the list above
  8. Click "OK"
Community
  • 1
  • 1
Mark Boltuc
  • 3,487
  • 1
  • 27
  • 26
  • My SMTP server was separate from the web server, so needed to define web server's IP instead. – Jussi Palo Sep 02 '16 at 13:50
  • For me it was the addition of 127.0.0.1 in the allow list. I had a local application using "localhost" port 25 for outbound emails. – Liam Dec 05 '16 at 15:11
  • Just a note to anybody else who doesn't read carefully (like me) - it is IIS 6.0 Manager, not the newer more commonly used IIS 7.x Manager. You won't find SMTP in the IIS7 tool. – NealWalters Oct 05 '20 at 17:22