How to Setup Email Server on Ubuntu 16.04 Alibaba ECS

See the original posting on DZone Python

Postfix is a free, open source software application that works as a Mail Transfer Agent (MTA) for routing and delivering email.

Dovecot is an Open-source MDA (Mail Delivery Agent) and is responsible for delivering emails to local recipients’ mailboxes on a server.