Set up an internal SMTP service for Windows Server 2012

How to set up an internal SMTP service for windows server 2012

IF you want to have network devices to send emails that do not support the encryption or authentication protocols required by WorldPosta
The solution is to set up a mail rely server, and configure it to accept email inside the network either anonymously or with basic authentication over unencrypted connection and then to the email onward via WorldPosta servers.
The idea is to enable SMTP service that is built into Windows Server 2012

How to install the SMTP service

1. Launch the Server Manager.
2. Select Manage > Add Roles and Features from the upper right menu. A wizard will start.
Select the installation type
3. Click Next, then select Role-based or feature-based installation
4. Select the Essentials Server (highlighted by default).
5. Click Next to bypass the Server Roles selections.
6. In the feature part, scroll down and check SMTP Server.
7. A new window will appear to inform you that other services will also be installed.
8. Click Install to complete the installation
9. When the installation finishes, click Close.

Configuring Microsoft SMTP Server

Next step we need to configure the SMTP server. Notice that one of the dependencies installed is (IIS 6 management tools)
1. Open search then type IIS, run Internet Information Services (IIS) 6.0 manager.
2. Click Yes to User Account Control prompt.
3. Expand the SMTP Virtual Server, Then right-click and select Properties.
4. In General Tab, under IP Address, set the IP address to the server’s IP Address.
Note: You can also enable logging is required.
5. In the Access tab, set the IP for the internal devices in the connection button.
6. Add the same IP to the Relay list.
7. In the Delivery tab, set an external domain > Advanced…
In fully qualified domain name type:
In smart host type

Next, open the Outbound Security window. Enter details of an account that is authorized to send through the server configured on the “Advanced Delivery” page – I’d recommend setting up an account specifically for this purpose with your email provider. You’ll also need to tick the “TLS encryption” checkbox, or we’ll be trying to authenticate in-the-plain against the provider’s server putting us right back to square one!
8. From Search, Type Firewall to locate to run Windows Firewall.
9. Add a new Inbound Rule. (Right-click on Inbound Rule, and select New Rule)
10. Select Port.
11. Type in 25 as the local port.
12. Click Next > Allow the Connection.
13. Uncheck Public to prevent external access to the server.
14. Give the rule a name and click Finish.
15. You should now see a new rule enabled in the firewall management console.
16. Restart the SMTP Service and set the service for Automatic Start.
17. Open up the Services Management Console.
18. Double-click on the Simple Mail Transfer Protocol service.
19. Stop and then Start the service, then Set the Startup type to Automatic.


To test the setup, simply:
1. Go to
2. Enter the device IP in the Mail Server field, and then click Test Email Server.

Thank you for your message. It has been sent.


Something went wrong, please try again


Powered by WhatsApp Chat

× How can I help you?

Coming Soon