How to install and configure SMTP Server on Windows Server 2016?

SMTP stands for simple mail tranfer protocol. SMTP allows your emails to be sent from one mail server to another mail server. It works the application layer of TCP/IP. You will not be able to send your emails without SMTP on the server. Following are the steps to install and configure SMTP service on Windows Server 2016.

 

SMTP Installation

  1. Login to your Windows Server.

  2. Click on Windows and Server Manager.



  3. Click on Add Roles and Features and hit Next Button at before you begin page.



  4. At Installation Type, select Role-based or feature-based installation and click Next.







  5. Keep the default Select a server from the server pool and click Next Button.



  6. We don't need to install any Roles so click on Next.



  7. On Add Features Wizard, select SMTP Server. Clicking SMTP Server will prompt for the Dialogue box. Tick on Include Management tools and hit Add features Button





  8. Make sure IIS6 Management Console and Metabase Compatibility are selected and click on Install Button.



 

SMTP Configuration

SMTP uses port 25 to relay the emails. We need to disable the open relay to prevent SMTP to send spam emails. Following are the steps to do that.

  1. Open IIS Manager 6 from the Administrative Tools.



  2. Right-click on SMTP Virtual Server and select on properties.



  3. Click on the Access tab and hit Relay Button.





  4. Select Only the list below inside Relay restrictions and click on the Add button.



  5. Enter the localhost IP address, 127.0.0.1 and click OK



  6. Hit Ok Again.



  7. Click on Connection Button and Repeat the steps from (4) to (6).



  8. Finally, Hit the OK Button at SMTP Properties Button.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

List of software installed in Windows VPS with Full configuration

Following is list of softwares which are available on your VPS when you buy a Windows VPS with...

How to resolve an error which occurs while configuring MySQL service in WebsitePanel?

This article is about resolving an error occurring while configuring MySQL service in Website...

How to Remove a Remote Desktop User from Windows VPS?

This article will assist you to remove a Remote Desktop user from Windows VPS. Important: Once...

How to download and install dotnet core 2.0 Runtime on the Windows?

Dotnet Core is now available with the Windows. Following are the steps to install runtime Dotnet...

How to Enable Ping/ICMP Echo Request in Windows Server?

PING or ICMP Echo Request is the most common network troubleshooting tool to determine whether...