Securing Mail Transfer – SMTP
SMTP or Simple Mail Transfer Protocol is used by email servers. Every email is sent and received by the SMTP server over the SMTP protocol. An MTA, or Mail Transfer Agent, like Postfix can be configured as an email server.
Postfix can be used on a Linux system to route and deliver emails.
Getting ready
To install and configure Postfix, we will be using an Ubuntu server. We will also need a Fully Qualified Domain Name (FQDN) on our server.
How to do it...
In this section, we will see how to install and configure Postfix on an Ubuntu sever and use as per our requirements:
- As Postfix is included in Ubuntu's default repositories, installing it becomes easy. To begin the installation, we will run the following command, along with the
DEBIAN_PRIORITY=low
environmental variable to answer some additional prompts during the installation:
- Once the installation starts, the first window will ask for the type of mail configuration. We will select
Internet Site
for our needs, as...