Postfix-mail-server

Please feel free to contact us
Go

About

Postfix is a hugely-popular Mail Transfer Agent (MTA) designed to determine routes and send emails. This cross-platform server is open-source, free, and suitable for installation on the majority of UNIX-like operating systems.

Numerous client and server programs make up Postfix: the latter tend to run in the backend, while user or administrator programs utilize the former. Postfix’s structure is modular: it comprises various small, independent executables. Different parameters, features, and options are available, too.

Another key aspect of Postfix is that it was created to overcome those drawbacks seen in Sendmail. A solid configuration keeps Postfix user data secure from leakage, abuse, and spam.

Postfix includes a cutting-edge queue manager capable of handling queues in a faster, smoother way. That’s why a number of administrators cite Postfix’s higher efficiency compared to Sendmail, even with high loads.

Here are the main advantages you can expect to find when you start using Postfix:

  • Includes highly-detailed documentation
  • Security was clearly a priority in Postfix’s design
  • Postfix offers impressive compatibility with Sendmail
  • High queuing operation is fundamental to Postfix’s functionality
  • Active development is part of the Postfix set-up
  • Easy configuration, according to parameters of configuration files
  1. Type virtual machines in the search.
  2. Under Services, select Virtual machines.
  3. In the Virtual machines page, select Add. The Create a virtual machine page opens.
  4. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type myResourceGroup for the name.*.
  5. Under Instance details, type myVM for the Virtual machine name, choose East US for your Region, and choose Ubuntu 18.04 LTS for your Image. Leave the other defaults.
  6. Under Administrator account, select SSH public key, type your user name, then paste in your public key. Remove any leading or trailing white space in your public key.
  7. Under Inbound port rules > Public inbound ports, choose Allow selected ports and then select SSH (22) and HTTP (80) from the drop-down.
  8. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  9. On the Create a virtual machine page, you can see the details about the VM you are about to create. When you are ready, select Create.

It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.

Connect to virtual machine

Create an SSH connection with the VM.

  1. Select the Connect button on the overview page for your VM.
  2. In the Connect to virtual machine page, keep the default options to connect by IP address over port 22. In Login using VM local account a connection command is shown. Select the button to copy the command. The following example shows what the SSH connection command looks like:

ssh azureuser@<ip>

  1. Using the same bash shell you used to create your SSH key pair (you can reopen the Cloud Shell by selecting >_ again or going to https://shell.azure.com/bash), paste the SSH connection command into the shell to create an SSH session.

Getting Started with Postfix

After successfully connecting via SSH, you’re ready to set up Postfix.Here’s how to get everything running:

Ssh into vm:

Reconfigure Postfix:

$   sudo dpkg-reconfigure postfix

  1. In the configuration wizard:
    • Select Internet Site (for most common setups)
    • Enter your system’s mail name (e.g., your domain name like example.com)
    • For other options, you can typically accept defaults unless you have specific needs

After reconfiguration, restart Postfix:

sudo systemctl restart postfix

Check the status:

sudo systemctl status postfix

Submit Your Request

Captcha

Highlights

  • Includes highly-detailed documentation
  • Security was clearly a priority in Postfix’s design
  • Easy configuration, according to parameters of configuration files
  • High queuing operation is fundamental to Postfix’s functionality

Application Installed