Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 679
  • Last Modified:

Setting Windows 2003 IIS SMTP server to relay on a domain.

Hello,

I have a Windows 2003 server that I'm trying to get the built in IIS SMTP server to work correctly. Unfortunately, every time I try to send an email through (usually via telnet) it doesn't relay.

I've double checked the DNS records on the domain, and the MX records are correct. I also switched the mail server to use ArgoSoft's free SMTP server, using google's DNS, and messages relayed perfectly.

In IIS I do have relaying turned on with no authenticated needed.

Is using Server 2003 as an SMTP server without Exchange possible? If so, would you know if there is a step I'm missing?

Any advice or help is much appreciated.

Thank You.
0
JohnMan777
Asked:
JohnMan777
  • 4
  • 3
1 Solution
 
Freya28Commented:
It is definitely possible to use it without Exchange.  If I am reading your question correctly, you are trying to have IIS SMTP relay or other words use a smart host.  You will need to have an email provider (anyone), and have an account.  In IIS SMTP go to the delivery tab-Outbound Security. this is where you will put the account for which you have on an email provider.  Most providers require you to use TLS.  Find out what settings the provider requires.  Then Back in the delivery tab click the advanced tab.  You will need to fill out the fully qualified domain name box and the Smart host box.  Should be it from there.
0
 
JohnMan777Author Commented:
I suppose I just want the server to route email out to wherever it needs to go. Not really using a smarthost.

We currently use office 365 for our email system. Obviously most users will send emails just fine with outlook. However, we have an ERP system that can send emails out to clients. It uses an SMTP server to do this. (without authentication) So in the past we have been using argosoft, which just finds the mx records for whomever it's being sent to and routes it to the correct recipient.

Unfortunately, there are limitations with this, only 5MB allowed in messages and limited configuration options. The software also doesn't run as a service so it has to be manually launched if the server is ever restarted.

I like the server 2003 SMTP server since it launches on its own as a service. Unfortunately this doesn't seem to operate how it's supposed to. Even though it says it sent out the message, it never goes anywhere.

I've looked into the SMTP options with office 365 and unfortunately they require authentication and some of my services have to send email out without it.

Sorry, I know I can be confusing. :)

Any ideas?

Thanks
0
 
Freya28Commented:
the thing that you can messed up with just sending emails out not doing it properly, you could have a lot of emails dropped being that would be sent out without a proper PTR record.  Many services will just drop the email.

when sending out, are your emails caught in the queued folder?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
Freya28Commented:
and remember that in IIS 6.0 The SMTP service is a relay agent only.  Email messages are forwarded to an SMTP server for delivery.
0
 
Freya28Commented:
you also might be able to try to create a new domain (under the default smtp virtual server) and click Remote, go through the settings there.
0
 
JohnMan777Author Commented:
I see.

This is IIS 6.0. So there's no way to configure it to be the SMTP server itself?
0
 
Sanjay SantokiCommented:
John,

It is easy to install and configure IIS SMTP service on windows 2003 and it is independent component so Exchange service is not required. You simply need to install it and configure as per your requirements.

If you would like to configure it to relay emails without authentication for the configured IP address just follow the below steps;

Make sure anonymous acess is selected on authentication (Access Tab).
Connection options is either set to all except the list below
IP address from where you are trying to relay email through this server is in the allow list of relay restriction

You may need to restart the service if you made any configuration change.

Regards,
Sanjay Santoki
0
 
JohnMan777Author Commented:
I modified the SMTP server settings to these recommendations with a NEW SMTP virtual server and it looks like we're up and running.

Thank you. :)

All help has been much appreciated.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now