Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions




11.7 Configuring Postfix

The main configuration settings for Postfix are located in the /etc/postfix/ This file contains many configuration options many of which are beyond the scope of the introductory book. There are many resources on the internet that provide detailed information on Postfix so this section will focus on the basic options required to get email up and running. 

The key options in the file are:

myhostname =
mydomain =
myorigin = $myhostname
inet_interfaces = $myhostname

Other settings will have either been set up for you by the installation process or are not needed unless you are feeling adventurous and want to configure a more sophisticated email system.

The format of myhostname is host.domain.extension. For example if your Linux system is called MyLinuxHost and you internet domain is you would set the myhostname option as: 

myhostname =

The mydomain setting is just the domain part of the above setting. For example:

mydomain =

The myorigin and inet_interfaces options use the settings we have just created so do not need to be changed (although the inet_interfaces may be commented out by default so you should remove the “#” at the beginning of this particular line in the file).

Introducing Linux
Previous Page Home Next Page

  Published under the terms of the GNU General Public License Design by Interspire