Solved

Microsoft IIS SMTP Server error-> 550 error

Posted on 2003-12-08
3
17,775 Views
Last Modified: 2010-07-27
I am trying to setup a SMTP server (email receipts for our commerce site), and I receive a 550 error. Below is what I grabbed from telnet:

rcpt to: <ryanr@nni.com>
550 5.7.1 Unable to relay for ryanr@nni.com

When I authenticate, it sends fine. However, the components for the site (SendSMTP) cannot authenticate. In terms of security, I restricted the server to only accept emails from its own ip, perform r-dns on all attempts to use the server, and blocked off port 25 at the router (incoming connections). Hopefully that will keep the spammers at bay.

Unfortunately, I cannot seem to get the server to send its test message, much less any emails. The Commerce App is running on high-levels accounts, so there shouldn't be any problems. Any ideas what is going on here? Perhaps I forgot to configure something.

Oh yeah, this server is running on IIS 6.0, on Windows 2003 EE.
0
Comment
Question by:rossryan
3 Comments
 
LVL 8

Accepted Solution

by:
JasonBigham earned 250 total points
ID: 9897985
"I restricted the server to only accept emails from its own ip"

Then you will only be able to send a test email FROM that server(no clients). I imagine you will at least be adding two other IP's. One from your ISP, and one from whatever is sending mail to this box off your LAN. Where is your mail going TO? Are you using the SmartHost option or DNS(mx records needed)?

One method(i use this with a smarthost on the mail server and the iis gateway):
Clients ---> mail server --> iis gateway --> ISP
               
The former has to be allowed to relay by the latter.

I.E.

iis gateway allows the IP addrsss from the mail server to relay.
0
 

Author Comment

by:rossryan
ID: 9898344
Fixed it. Forgot to add the localhost to the authorized relays.

Thanks,
Ryan
0
 

Expert Comment

by:Scott659
ID: 11685251
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Outlook 2010 and Iphone issue 14 79
How to rename PST file in OUTLOOK 2013 3 66
MailChimp: avoiding the 2,000 email limit 7 68
smtp c source code 7 40
Microsoft Outlook provides an easy way to recover permanently deleted items. When you empty the Deleted Items or simply deleted an Outlook data items using shift+Del key then it can be recovered using Registry Key settings.  Caution- Wrong Registry…
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
The purpose of this video is to demonstrate how to set up a Mailchimp campaign. This will include styling and adding elements to a newsletter/email. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchim…
The purpose of this video is to demonstrate how to set up Lists in Mailchimp. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchimp account. : Click on Lists. Click on Create List Button : Choose the desi…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now