MRKAVANA (mrkavana@gmail.com) - www.facebook.com/kavanathai

Jul 21, 2011

Install & configure postfix server for RedHat/Fedora/CentOS

#yum install postfix*

#vim /etc/postfix/main.cf

line no. 77 mydomain = san.com
93 myorigin = $mydomain -----------uncomment this line
69 myhostname = pc1.san.com
115 mydestination = $myhostname, localhost.$mydomain, localhost
(uncomment this line if it is commented)
225 mynetworks = 192.168.0.0/24 (define your network here)
107 inet_interfaces = all (uncomment this line)

:wq! save and exit now


#yum install system-switch-mail*
#system-switch-mail
and select MTA agent Postfix and ok

#service postfix start

Now u can send mail using postfix server by sandeeprhce5

No comments:

Post a Comment