Knowledge Base

How Can We Help?

How to setup and configure SMTP Server on Windows Server 2008 R2

You are here:

If you want to install SMTP on Windows Server 2008, start by launching the Server Manager console(type servermanager.mscin the search box and press Enter), then select Features and click Add features

How To Setup And Configure Smtp Server On Windows Server

Check SMTP sever

1704381442 325 How To Setup And Configure Smtp Server On Windows Server

If you see a prompt like the one in the picture below, click the Add required servicesbutton

1704381442 552 How To Setup And Configure Smtp Server On Windows Server

Click Next

1704381442 768 How To Setup And Configure Smtp Server On Windows Server

Ensure that IIS Metabase Compatibility and IIS 6 Management Console are selected and click Next

1704381442 593 How To Setup And Configure Smtp Server On Windows Server

Confirm the installation by clicking the Install button

1704381442 94 How To Setup And Configure Smtp Server On Windows Server

Once the installation is complete, click Close

 

1704381442 26 How To Setup And Configure Smtp Server On Windows Server

When you configure the SMTP server, you would want to disable Open Relay asthis will ensure that your server will not be used for sending spam messages. In addition to taking the steps below, you can also configure the Firewall so that only 127.0.0.1 talks to port 25 on the server and all other connections are rejected.

How to configure the SMTP server on Windows Server 2008 R2

Start the IIS 6 Manager console (type inetmgr6 in the search box and press Enter). Right click on SMTP virtual server and select Properties

1704381443 812 How To Setup And Configure Smtp Server On Windows Server

Open the Access tab and click Relay

1704381443 208 How To Setup And Configure Smtp Server On Windows Server

Make sure that under Relay restrictions Only the list below is selected

1704381443 606 How To Setup And Configure Smtp Server On Windows Server

Click the Add button and on the next screen, enter the local host IP address, 127.0.0.1 and click OK

1704381443 305 How To Setup And Configure Smtp Server On Windows Server

Click the OK button again

1704381443 4 How To Setup And Configure Smtp Server On Windows Server

Click Connection and repeat the same steps by adding the 127.0.0.1 IP address

1704381443 595 How To Setup And Configure Smtp Server On Windows Server

Click the Authentication button and select Anonymous access.

1704381443 473 How To Setup And Configure Smtp Server On Windows Server

15Authentication Anonimous Access

You can leave the default settings under the Messages and Delivery tabs. Under Outbound Security of the Delivery tab, you can leave Anonymous accessselected since we have chosen only localhost to connect and relay mail.

1704381443 879 How To Setup And Configure Smtp Server On Windows Server

Testing the server

Make sure that Telnet is installed, if it isn’t, start the Server Manager console (type servermanager.mscin the search box and press Enter), click Features, Add features, select Telnet client and install the feature.

Once Telnet is installed, start command prompt (type cmd in the search box and press Enter), then type telnet localhost 25 and press Enter again

1704381443 791 How To Setup And Configure Smtp Server On Windows Server

If you can connect to the mail sever, you should receive a message back; the message will vary from one server to another, but typically the response would include Microsoft ESMTP server ready along with the Version number.

Leave a Comment