How to install SMTP server on Ubuntu?

Making your Ubuntu server deliver email to external world is a two step simple process.

Step 1:
sudo apt-get install postfix

The above command is the first step in the process of setting the mail server.

Step 2:
sudo dpkg-reconfigure postfix

This step involves further SMTP configuration which involves setting up the mail server information and how it communicates with the external world. Depending on the needs you could play with the settings.

Further articles to continue, regarding how you could exploit further on this topic.