Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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.

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 if Connection is set, and "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for ..." - if Relay is set).

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

share|improve this question
up vote 0 down vote accepted

not exactly what you're looking for but you can always use built-in firewall and limit tcp/25 connections only to the local network.

share|improve this answer
Ok, it is another way to do what I looked for. – MainMa Jun 6 '10 at 12:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.