Solved

Microsoft IIS SMTP Server error-> 550 error

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The purpose of this video is to demonstrate how to set up an account with Mailchimp. This will be demonstrated using a Windows 8 PC. Tools Used are: Mailchimp.com Go to Mailchimp.com : Enter an Email, Username, and Password. Click Create My Acco…
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…

735 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