Groups | Blog | Home
all groups > iis smtp nntp > august 2007 >

iis smtp nntp : mail setup


Port Man
8/8/2007 7:29:18 AM
I have a new Win2003 SP2 server installed. IIS with ASP.NET is the
only service installed. There are 5 different domains on the server
with static HTML pages.

Now, we want to have some asp.net sites that will require email to be
sent from them. I know I need to install the SMTP service, but can
someone point me to a tutorial on how to setup the server for multiple
domains to be able to relay emails?

Do I need POP installed?

I don't want the server to store any mail, just have it so that if
someone sends an email to webmaster@domaina.com it will be routed to
someone@gmail.com.


Thanks.

--
Roman
8/8/2007 1:09:09 PM

Hi Sandy,

It appears you know IIS SMTP pretty well.

I would like to ask you for some compensated off-line help with a W2003
IIS6 SMTP configuration problem. If you are interested.

Please email me or call directly.

Roman


Sanford Whiteman
8/8/2007 1:12:03 PM
[quoted text, click to view]

It's all in the on-line help.

Briefly: at the server level Access Control-Authentication, allow Basic or
Integrated Windows authentication. The server will already,
out-of-the-box, allow authenticated sessions to relay mail to remote
domains. Create a local user for each of your .NET sites (for security
purposes, do not use the same user for all). Set up each site to auth as
its corresponding user when connecting to the mail server on localhost.

Alternately, for a much less secure setup, at the server level Access
Control-Relay, allow sessions from 127.0.0.1 to relay mail. All websites,
or all applications running on the box, will then be able to relay mail
when connecting to the mail server on localhost.

[quoted text, click to view]

No.

Sanford Whiteman
8/12/2007 11:17:06 PM
[quoted text, click to view]

For the lurkers and the archives, Roman's problem actually lay outside
IIS SMTP, although we worked around it within IIS.

A buggy checkbox in another vendor's mailserver that was being used as
a smart host prevented that mailserver from relaying by IP. We set up
a special-purpose username/password on that mailserver and configured
outbound authentication in IIS SMTP instead.

AddThis Social Bookmark Button