Solved

Microsoft IIS SMTP Server error-> 550 error

Posted on 2003-12-08
3
17,774 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

746 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

10 Experts available now in Live!

Get 1:1 Help Now