How to Install and setup Postfix on Ubuntu 14.04

July 6, 2014

Table of Contents

Introduction

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.

Prerequisites

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 example.com). Actually, a FQDN is obliged to end with a dot, yet Postfix does not require this. So we can simply enter it like:

example.com.

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/main.cf

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:

Home

Share on
Facebook
Twitter
LinkedIn
Pinterest
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.

Why 247Rack Is Recommended

Only 247Rack can give you most flexible and 100% customizable VMware Solution. We have given our customers the freedom to configure every single part as their choice. Our scalable cloud

vSphere 5.1 New Storage Features

VMFS File Sharing Limits In previous versions of vSphere, the maximum number of hosts which could share a read-only file on a VMFS volume was 8. The primary use case

Setup Nginx Website Easy Simple Guide

What is needed for a quick Nginx server and website setup? A Dedicated or VPS Server A compatible operating system 247Rack recommends: Centos OS A domain name pointed to the