tags:

views:

37312

answers:

5

Website started life originally under IIS 6 and the site worked great there. Now after relocating to a new server running W2K8S, everything but mail delivery from the website now works great under IIS 7.

Researched briefly on the Web to see if anybody had a good resolution, but no avail... Not even a glimmer of hope on Microsoft's own support site.

Here are the steps taken so far on the new W2K8S box:

  • Added the feature for SMTP under the Server Manager
  • Enabled SMTP e-mail for the site itself in IIS 7 Manager to deliver e-mail to SMTP server local host, unsuccessful
  • Enabled SMTP e-mail for the root site in IIS 7 Manager (not sure if that needs to be on to enable sites) to deliver e-mail to SMTP server local host, unsuccessful

After failing those basic setups, I wanted to be sure I can actually talk from/to the serveron port 25. And I can successfully telnet from/to the server in question to a test e-mail on port 25 get a HELO, etc. So I do not believe it is a firewall config issue.

The IIS 7 setup test was performed with both anonymous and Windows authentication - no luck either way.

Manually checked Web Config file and it reflects correct entry for the server to use the localhost.

Read the manual and no luck there either... :-/

A: 

I am not sure if this diagnostic tool can provide more insights,

http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1308

This tool is for x86.

Lex Li
+1  A: 

Hi,

I faced the same problem.

I came across this link http://www.frontpagewebmaster.com/m-215289/tm.htm

and I was able to solve the issue. Go to the last post of this link.

In my case I solve problem by giving rights to "NETWORK SERVICE" user to the "Pickup" folder.

Hope this might help....

A: 

Have you checked to see if the SMTP service is accepting mail for relay from localhost? To do this, telnet from the machine in question to the local SMTP server and use SMTP commands to send a test message. The SMTP service is very picky about command formatting so you'll have to be careful when entering commands (i.e. don't use backspace to correct typographical errors).

kevintechie
A: 

Is this, by chance, an old "classic" ASP app relying on CDONTS to send mail?

If so, perhaps one of these links would be helpful?

Edited: I had replied before noticing the note on the original post. Disregard...

Chris K
A: 

I came across this post when researching getting SMTP running on my ASP.Net app we're migrating from IIS6 to IIS7. What I found was we didn't have to set up the SMTP SERVER at all - simply setting up SMTP Email was enough - with the additional benefit of NOT having the security concerns of SMTP relaying thru the web server!

so if you don't need your web server to actually do the SMTP routing, you don't have to set up the server at all in IIS7.

n8wrl