Hi Guys..!! This is Loki (not the god of mischief or the one from Marvels)…. just your brother from another mother, its the first time I have been through this blogsite and so I felt some uncertain thoughts in my mind about a topic I came across a few days before…. so I felt that.. maybe I should give it a good thought process and see if I can make you feel the way I felt when I found about this topic :)
Now … What happened to this …
Installation and Configuration of SMTP server in windows server 2012 R2
Simple Mail Transfer Protocol (SMTP) is the communication process for electronic mail transfer. As a standard Internet protocol, SMTP was first defined in 1982 by RFC 821, and revised in 2008 by RFC 5321 with the addition of Extended SMTP, which is a variety of widely used procedures today. many mail hosts and messaging agents use SMTP to send and receive mail messages. SMTP servers typically use Transmission Control Protocol number port 25. You can install an SMTP server using built-in tools for all types of Windows Server. This SMTP server can send service that must receive and send SMTP emails from various devices in the organization (for example, senders, scanners, access control devices, etc.) and applications (web applications, reporting services SQL (SharePoint), which must be able to send email using the SMTP protocol. Such transfers may send messages to your Exchange servers or to public email services such as Gmail, Yahoo, Office 365 (outlook.com), etc. (Because it is not always recommended to send the full internal email infrastructure. Exchange Server or other email services).
In this article we will show you how to install, configure and test the SMTP server in Windows Server 2012 R2, 2016 and 2019 which acts as a forwarded mail. This SMTP server can forward mails through internet, but there are no user mailboxes in it.
How to Install SMTP Service on Windows Server 2012 R2?
SMTP service is one of the built-in features of Windows Server that can be installed by Server Manager. To do so, open the Server Manager Dashboard (servermanager.exe), go to Enter roles and features and check SMTP Server when selecting the features to add. To manage the SMTP service, install administrative consoles, be part of the Web Server (IIS) role, so you will be notified to install other IIS components.
SMTP server feature on Windows Server 2012 R2 gets displayed. Leave all suggestions of the Web Server (IIS) role and run installation. IIS 6 Management Tools get displayed. The SMTP server role can also installed using the PowerShell command: Install-WindowsFeature smtp-server.
After all the components are installed, now you need to restart the server.
Configuring SMTP Server on Windows Server
Even now, SMTP server is controlled using the old school management console Internet Information Services (IIS) Manager 6. This console can be opened from Server Manager. We can use Tool-> Internet Information Services (IIS) 6.0 Manager. We can also do this with help of the command inetmgr6.exe.
Lengthen the branch name of server to IIS 6 Manager. After this, right-click SMTP Virtual Server and open its properties. In SMTP Server select properties. In the General tab, if necessary, select the IP address to which the SMTP server should respond (if the server has multiple IP addresses), then check the Allow login option (to save details for all available emails to write log files).
SMTP Virtual Server settings are displayed. Then go to the smtp access tab. Here click the Authentication button and confirm that anonymous access is enabled. SMTP Verification Settings: Unknown Access.
Return to the Access tab and click the Connect button. Here you can specify the IP addresses of the devices allowed to send emails through your SMTP transfer. To do so, check the Only list below and specify a list of IP addresses (subnet), do not forget about yourself (127.0.0.1).
Arrange in the same way as the list of IPs allowed in Relay settings (click the corresponding button). This section indicates which IP (or subnet) addresses can send email through your SMTP server. SMTP allows the list of IPs to be displayed.
Note: As a general rule, it is appropriate to check this option and limit the list of devices accepted by the IP address range. Alternatively, your SMTP server may be used by spam and other attackers as open mail forwarding.
Go to the Messages tab. Here specifies the administrative email address, to which copies of all NDR messages will be sent (Send a copy of Non-Delivery Report to :). Also, here you can specify limits on maximum message size (Limit message size KB) and maximum number of recipients (Limit number of recipients per message).
Go to the Delivery tab. Delivery options will be displayed.
Then click Exit. Here you specify how to authenticate to an external mail server where your SMTP server will send (forward) all email messages. For example, if all emails will be forwarded to the Gmail mail server and sent to recipients, you need to check basic authentication and specify your Gmail mailbox details (you must allow Gmail SMTP e-mail in Google Account settings).
Then click Advanced.
You will see advanced delivery options Here you specify the FQDN name for your SMTP server. Click the DNS Check button to make sure the DNS record is valid.
If the host sends email to an external SMTP server, mention its name in the Smart host field (Eg: smtp.gmail.com /smtp.office365.com). Save the SMTP server settings and restart the visual SMTP service to apply the changes.
Note: DNS settings are sensitive from the email system life view. If your SMTP server is unable to resolve the names of the domains they are trying to send email to, delivery will fail.
If your host is sending mails to other domains through internet, it is important that the appropriate PTR record be made for your IP address in order to resolve DNS lookup. The PTR record of your public IP address should identify the name of your FQDN server. Otherwise, most external SMTP servers will not receive email from you, considering your server as spam.
Therefore, we have installed and configured our SMTP server on Windows Server 2012 R2.
- 2. http://woshub.com/how-to-install-and-configure-smtp-server-on-windows-server-2012-r2/#h2_1
Coming To The Conclusion :-
Thus we have learnt about Installation and Configuration of SMTP server in windows server 2012 R2.
That’s all for now folks, see ya all someday, or perhaps some night under the beautiful sky gleaming with stars (with a glass of red wine ofcourse..!! )