<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>General</title><link>http://forums.iis.net/1029.aspx</link><description>Start forum discussions here around general questions about the IIS platform including SMTP &amp; NNTP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS SMTP virtual server - the big picture</title><link>http://forums.iis.net/thread/1881792.aspx</link><pubDate>Sat, 11 Oct 2008 02:47:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881792</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881792.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1881792</wfw:commentRss><description>&lt;p&gt;The built-in SMTP service with IIS 6 isn&amp;#39;t meant or designed to block spam.&amp;nbsp; Check out ORF (open relay filter) by &lt;a href="http://www.vamsoft.com/"&gt;www.vamsoft.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;They have a product that can plug into IIS SMTP.&lt;/p&gt;</description></item><item><title>IIS SMTP virtual server - the big picture</title><link>http://forums.iis.net/thread/1881783.aspx</link><pubDate>Fri, 10 Oct 2008 23:34:35 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881783</guid><dc:creator>Mike Trader</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881783.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1029&amp;PostID=1881783</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello and thank you for this Forum!&lt;/p&gt;&lt;p&gt;(a good developer friend recommended I visit)&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have been tearing my hair out for the last four days trying to grapple with email.. of all things!&lt;/p&gt;&lt;p&gt;The website is done and working, FTP is setup and working, IIS is installed and running the CGI.exe (except for email), POP3 accounts are setup and receiving email ok and life is generally good except for the achillies heel.. SMTP email aaaaaaaaaaaaaaaaaaaaaaaaaargh!!!!!&lt;/p&gt;&lt;p&gt;There is an old addage in development that the last 10% takes as long as the first 90%. That is proving true thanks to the IIS SMPT virtual server.&lt;/p&gt;&lt;p&gt;The biggest problem, is that despited 3 days of reading and studying the 3inch thick book I bought on Windows Server 2003, there is NO discussion of the overall concept in light of todays problems... SPAM!&lt;/p&gt;&lt;p&gt;After setting up what I thought was a working solution, I discover there are 200,000 emails in the Queue folder with 101 addresses in each one... obviously spam. The server had become a spam bot.&amp;nbsp; Just deleting the dang spam took 240 minutes once it was in the Recycle Bin!&lt;/p&gt;&lt;p&gt;But I am gettting ahead of myself... its been a long week.&lt;/p&gt;&lt;p&gt;The original concept was to have a server, my first server, host the website and email for my little software product. But those are secondary items. The main purpose of the server is to interact with my client app in some clever ways using CGI.exe executables. As complex as this is, this is the easy part by comparison to setting up email.&lt;/p&gt;&lt;p&gt;The email is really for ONE account, support@myproduct.com. Thats it.&lt;/p&gt;&lt;p&gt;So I dive into the Properties of the Default SMTP virtual server and begin with the obvious, setting the IP address.&lt;/p&gt;&lt;p&gt;Next the access tab and Authentication. &lt;/p&gt;&lt;p&gt;Now the fun begins. Annonymous access sounds like a bad thing, yet from this website&lt;/p&gt;&lt;p&gt;http://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspx#Install&amp;nbsp;&lt;/p&gt;&lt;p&gt;I read:&lt;/p&gt;&lt;p&gt;&amp;quot;So enabling Anonymous here is not a security issue, in fact, it’s required if we want our server to be able to receive emails from other servers on Internet (I doubt you want to tell all administrators of email servers on Internet how they should logon to yours). We also need Windows Authentication so the email clients can authenticate to the server and be able to relay (send emails).&amp;quot;&lt;/p&gt;&lt;p&gt;This is then qaulified with:&lt;/p&gt;&lt;p&gt;&amp;quot;As Relay Restrictions we selected Only the list below because we do not want to be used by spammers to send emails. But we never specified any computers. That is valid, because we wants our clients to always use the username and password to authenticate, no matter where they are.&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This might be well know information to a seasoned IIS admin, but to a greenhorn this is convoluted.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Somewhere else i read:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;quot;I read that leaving &amp;quot;Anonymous Access&amp;quot; enabled without some sort of authentication option means that the server never authenticates but treats all connections as autheticated.&amp;nbsp; Therefore, uncheck the box on Relay Restrictions:&lt;br /&gt;&amp;quot;Allow computers which successfully authenticate to relay, regardless of the list above&amp;quot;&amp;nbsp; &lt;br /&gt;Unless you would like to see how long it takes spammers to discover your open server&amp;quot;&lt;/p&gt;&lt;p&gt;OK so now we have a third variable.&lt;/p&gt;&lt;p&gt;Then as i look in &lt;/p&gt;&lt;p&gt;Delivery -&amp;gt; Outbound security&lt;/p&gt;&lt;p&gt;I have the same three options again!&lt;/p&gt;&lt;p&gt;http://support.microsoft.com/kb/324285&lt;/p&gt;&lt;p&gt;says that these apply to the server receiving what we are sending, but since I am sending emails to the world and his dog, I assume this must cannot be anything other than annoymous access? There is no discussion of this.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So lets see what else MS says:&lt;/p&gt;&lt;p&gt;&amp;quot;The Relay option allows you to send e-mail to an SMTP server, which then sends it to the destination server or to another SMTP relay server. By default, the SMTP service blocks all computers from relaying unwanted mail through the virtual server, except those that meet the authentication requirements you designated in the Authentication dialog box. If you are setting up a smart host, enable only authenticated users to relay messages. If you are setting up a server to receive e-mail from the Internet, do not allow relaying, which can make you vulnerable to outside users who attempt to send unsolicited commercial e-mail through your SMTP server.&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Well this assumes that I know what &amp;quot;smart host&amp;quot; and have determined why I might need one. There is no discussion of this.&lt;/p&gt;&lt;p&gt;Add to this the description of each of these authentication modes (which is contained in a popup! from the help page (help button) which says only that:&lt;/p&gt;&lt;p&gt;&amp;nbsp;Annonymous Access: use this option to authenticate for outbound transmissions.&lt;/p&gt;&lt;p&gt;MS says:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Anonymous access&lt;/b&gt;: If you use this option, an account name or password is not
				required. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;Basic authentication&lt;/b&gt;: If you use this option, the account name and password of the
				server that you are connecting to are sent as clear text.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Why is this? No discussion given. Since we know that SMTP must be AUTH with a mime encoded user/pass, why is this suthentication in plain text?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then there is the &lt;/p&gt;&lt;p&gt;Integrated Windows Authentication -&amp;nbsp; The client and server negotiate the Windows security support provider Interface.&lt;/p&gt;&lt;p&gt;Huh?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Luckily MS goes on to say:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;Integrated Windows Authentication&lt;/b&gt;: If you use this option, a Windows account name and password are
				required.&lt;/p&gt;&lt;p&gt;Now this sounds like the ticket except I I am not clear I should uncheck the other options.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I read somewhere they are AND combined (but this can be changed to OR... assuming you know whay you would want to change this)&amp;nbsp; but what does that mean in practice... no discussion is given. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;So now I have 5 layers of variables and i still do not know why i would choose any of the settings available, let alone how they all interact with each other. I am also not clear if &amp;quot;Exchange Server&amp;quot; describes the SMTP Virtual server in relay mode or some other thing.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After four days of reading, I am none the wiser&lt;/p&gt;&lt;p&gt;&amp;nbsp;On top of all of this, the CGI.exe executables need to send email (only), so the configuration I come up with has to be able to accomodate them.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;SO, I thought I should begin by asking for an OVERVIEW of this subject so that i might choose a path that makes sense. Then I can proceed to understanding the interaction of the pieces of this puzzle and implement a solution.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>