We are documenting and configuring our email solution.
Our applications will be created with ASP.NET running on Windows 2003
servers using Framework 1.1
To minimize the administrative effort of configuring developer workstations
and servers, we want developers not to specify a value for
System.Web.Mail.SmtpMail.SmtpServer.
We also have a requirement that on the servers the Application Pools in IIS
run under domain accounts maintained by our Windows Server Administration
group. These accounts are not allowed to be Administrators on the servers.
This domain user has been added to the IIS_WPG group and IIS_WPG has been
added as an operator of the Default SMTP Virtual Server.
Scenarios of sending out emails
1)
- Our user is a non-Administrator
- System.Web.Mail.SmtpMail.SmtpServer = ""
- Result: Error: The "SendUsing" configuration value is invalid.
2)
- Our user is a non-Administrator
- System.Web.Mail.SmtpMail.SmtpServer = "localhost"
- Result: Email is successfully sent.
3)
- We make our user an Administrator (which is not allowed as a solution)
- System.Web.Mail.SmtpMail.SmtpServer = ""
- Result: Email is successfully sent.
We want scenario 1 to work. By the results of scenario 3 it looks like a
permission issue for our non-Admin user. I scoured REGMON and FILEMON finding
no hints.
So outside of being an operator for SMTP, what permissions is our user
missing?
Thanks,
fm