Pages

Thursday, October 31, 2013

Install and Configure postfix

Postfix is the Linux Mail Transfer Agent that is being used very widely in recent days because of the features that it offers. Installation of Postfix is pretty simple in Debian based OS and a bit tricky in Redhat based. The following tutorial will show you the installation of Postfix in Ubunt and Redhat(in the next tutorial).

Before proceeding we need to make sure that the default MTA sendmail(if installed) should be removed. This can be done by executing the following commands

Debian or Ubuntu :

apt-get purge sendmail

Redhat :

yum remove sendmail

Now we can proceed with the installation of Postfix MTA by executing the following command as a root or a sudo user.

apt-get install postfix
apt-get install mailutils

Normally in Debian based or in Ubuntu operating systems once after the installation a wizard is started to complete the configuration of the Postfix, follow the below steps to complete the general postfix configuration

image

image

image

image

image

image

image

image

image

once the configuration is Done, restart the postfix service for the changes to take effect.

service   postfix   restart

No comments:

Post a Comment