How to Install and setup Postfix on Ubuntu 14.04

July 6, 2014

Table of Contents


Postfix is an extremely prominent open source Mail Transfer Agent (MTA) that could be utilized to course and convey email on a Linux framework. It is evaluated that around 25% of open mail servers on the web run Postfix.

In this aide, we’ll show you how to get up and running rapidly with Postfix on a Ubuntu 14.04 server.


To follow this aide, you ought to have a Fully Qualified Domain Name pointed at your Ubuntu 14.04 server.

Install the Software

The establishment procedure of Postfix on Ubuntu 14.04 is simple on the grounds that the product is in Ubuntu’s default package repositories.

Since this is our first operation with able in this session, we’re going to redesign our local package index and after that install the Postfix package:

sudo apt-get update

sudo apt-get install postfix

At this point you will be asked the type of mail configuration you would like for your server. For our case, we will be using “internet site” because it’s the best match for our server.

Next, you will be requested the Fully Qualified Domain Name (FQDN) for your server. This is your full area name (like Actually, a FQDN is obliged to end with a dot, yet Postfix does not require this. So we can simply enter it like:

The software will then be cinfigures using the settings you gave. This deals with the installation, but we need to configure different things that we were not provoked for throughout the installation process.

Configure Postfix

Some configuration has to be done to the postfix configuration file.

start by accessing the file with root privileges in your ext editor:

sudo nano/etc/postfix/

To begin with, we have to discover the myhostname parameter. Throughout the arrangement, the FQDN we chose was added to the mydestination parameter, however myhostname stayed set to localhost. We need to indicate this our FQDN as well:


Share on
More posts

Dedicated Servers Quick Guide

What is a Dedicated Servers? Why bother using a dedicated server over a VPS or Shared Hosting?A dedicated server is a server 100% dedicated to your website/project or business needs.

Easy File & Code Manager

Easy File Manager FileZilla Best Server Manager Tools Download FileZilla Client You can use FileZilla to manage websites and servers and edit code in real-time or for simple backup methods

Software Defined Single Sign On Database

Software Defined Single Sign On Database. One difficult task since the release of vSphere 5.1 has been the creation of SSO (Single Sign On) databases.  Creating an SSO database is

Organizing Your Slim Based Project

A Slim Based Project is basically extended over three main directories. Slim framework directory Project directory This directory contains your project files like routers, views, models. Being a microframework, Slim

VMware trademark guide

VMware trademark guide a very important resource for bloggers, technical writer .VMware employees and partners who have less interest in blogs .the guide is intended to provide guidance regarding the

Get 90% Discount

First 3 People gets the Bonus!
Don't Miss Out Our Big Sale

Get 0-90% On All
247Rack Services


The Sale Is Until The End Of March