Protecting Windows SMTP service against the spam

Posted by MainMa on Server Fault See other posts from Server Fault or by MainMa
Published on 2010-06-06T09:20:34Z Indexed on 2010/06/06 9:23 UTC
Read the original article Hit count: 411

Filed under:
|
|

Hi,

I'm trying to use a Windows SMTP service on Windows Server 2008, but I can't understand how to secure it.

Basically, if I open firewall for local network IPs only for %windir%\system32\inetsrv\inetinfo.exe and keep Connection and Relay settings of SMTP Virtual Server to "All except the list below" (with an empty list), a few minutes later I see spam appearing in Queue directory. (Why? Isn't firewall intended to block this?)

Now, if I set Connection or Relay to "Only the list below", specifying the range of local IPs, I can't use the SMTP server nevermore (a "Unable to read data from the transport connection: net_io_connectionclosed." exception is thrown).

So what is the way to get rid of spam from internet but let send mails from local network?

© Server Fault or respective owner

Related posts about firewall

Related posts about smtp