Beruflich Dokumente
Kultur Dokumente
=========================================
Email System Components:
Installing Postfix
===============================================
Postfix is fast and popular SMTP server widely used. The main job of postfix is to
relay mail locally or to the intended destination outside the network.
Note: Make postfix as default MTA for your system using the following command
#alternatives --set mta /usr/sbin/postfix
If above command not work and you get the output as �/usr/sbin/postfix has not been
configured as an alternative for mta�. Use below command to do the same else skip
it
#vi /etc/postfix/main.cf
myhostname = mail.kabul.com
mydomain = kabul.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost, $mydomain
mynetworks = 127.0.0.0/8, /32
relay_domains = $mydestination
home_mailbox = Maildir/
:wq
After executing above command edit the postfix configuration file and make sure all
changes are done properly.