This is a quick tutorial on setting up an email server using your Windows Home Server. There are a few free options out there but I decided to use this as I like some of the features.

There are some limitations to using the free version. You are limited to 1 domain and you are also limited to 10 accounts for that domain (fits nicely with the 10 accounts for WHS). You can find a full list of features on their site here:

What you will need:

  • Smartermail Free Windows Mail Server. You can download it from here:

  • Remote Desktop Connection, Advanced Admin Console, or the To Desktop Add-in.

Before starting this you will want to see if your ISP is blocking port 25. To do this open a command prompt and type the following:

telnet 25. (where XXXX is the name of your homeserver) If the test is successful you will get a 220 message. If this fails you may not be able to set this up. There may be alternate ports you can use but by no means do I claim to be an email administrator.

You will also need to forward a few ports to your home server. If you go with the default ports of 25,110, and 143 then all of those will need to be forwarded. The default web server is configured to listen on Port 9998 i.e..   You can reconfigure it to listen to another port if you wish.

You can also find the help file that is displayed after the initial setup in the following directory: C:\Program Files\SmarterTools\SmarterMail\help

What to do:

Download the setup. You may have to right click on the setup file and go to properties. In the lower left you will see unblock, this will be necessary if this was downloaded from another workstation/pc otherwise you will get a message that you don’t have permissions to run it.

Run the setup. After setup is finished you will be greeted with a webpage to start your configuration (this may take a minute or 2 to initialize).


Once the initialization is done you are prompted to enter a host name, an administrator username and password.


You are then asked to enter your DNS servers. Leaving them blank will use your current DNS settings of your server.


After your DNS settings it will show you the default directories for your mail server. These can be changed later if you want.


The next screen gives you the option to enable SpamAssassin. If you wish to enable just check the box and click next.


After Spam Assassin you have the option to enable ClamAV. Again check it if you want this option and click finish.


Now you should be looking at the configuration page with the domain options. Click new and enter your domain. This would be your This will also show you your IP and folder path. You will also want to enter the domain administrator username and password.


The technical tab allows you to modify the ports that you will be using. For simplicity I am just using the standard ports. There are also some options on auto responding and forwarding as well SMTP authentication.


You will also notice the tabs labeled features. You may want to go into the features tab to enable/disable what you want. Once done click save. I am not going to go through all of the options here for the sake of time but you will find a link to the manual at the beginning of the instructions.


Now you will want to click on Settings and then Gateway servers. If you’re ISP doesn’t block port 25 you can use this to relay off their servers. Click on new and enter your ISP information. For example you would want to enter for the server address followed by your account info for that ISP.


Now click on Manage and all domains. Hover on settings and then click users.


Click new and enter the username, password, display name, etc. There are also tabs at the top for webmail options as well as options for how emails will be composed, a signature and a few other settings. Click save when done.


All that is left to do is test your configuration. Click manage and then mass messaging>send email. Enter the user to send it to and enter a test message and click send.


To check for message you will either need to setup your email client with your info or use the webmail feature. To setup your email client you will need to use your address. For example it should be for both the incoming and outgoing mail servers.

To use the webmail you will need to login with you IP address. This would be your external IP address followed by the port # (I.E You will be greeted by a webmail startup page asking to select your time zone.


Instructions on changing the default webserver port.

  1. Go to the Start menu
  2. Click on All Programs
  3. Click SmarterTools Inc.
  4. Click SmarterMail Web Server Config
  5. Edit the Port Number to 80
  6. Click Reload
  7. Click Close

That should be pretty much it. One thing that I did notice was that during the install it didn’t add exceptions to the firewall. You will need to add SMWebsvr.exe to your firewall exceptions. You can find this in the following folder:

C:\Program Files\SmarterTools\SmarterMail\Web Server\SMWebSvr.exe