Solved

Microsoft IIS SMTP Server error-> 550 error

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apple Email Export to an Exchange/Outlook Environment 5 11
Auto send receipt in Outlook 2010 24 41
Save Groupwise 8 emails to PST 5 83
Opera UI gone nuts 4 59
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…
Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

778 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