- Instalar Postfix
# yum remove sendmail # yum install postfix
- Ponemos postfix como default MTA para el systema
# alternatives --set mta /usr/sbin/sendmail.postfix
- Configuramos Postfix
# vi /etc/postfix/main.cf
myhostname = mail.tecadmin.net mydomain = tecadmin.net myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost, $mydomain mynetworks = 127.0.0.0/8, /32 relay_domains = $mydestination home_mailbox = Maildir/
- Reiniciamos postfix y lo ponemos como servicio
# service postfix restart # chkconfig postfix on/
- Abrimos el puerto del firewall
# firewall-cmd --permanent --add-port=25/tcp # firewall-cmd --permanent --add-port=25/udp # firewall-cmd --reload
Fuente: tecadmin.net