Protecting Windows SMTP service against the spam
- by MainMa
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?