CentOS 6 as smarthost (sendmail)

Sep 15, 2017 02:37


yum install mailx sendmail sendmail-cf -y

vi /etc/mail/sendmail.mc

dnl define(`SMART_HOST', `smtp.domain.com')dnl dnl MASQUERADE_AS(`domain.com')dnl
m4 /etc/mail/senmdmail.mc > /etc/mail/sendmail.cf

chkconfig sendmail on
service sendmail restart

Originally published at trichev.com/blog. You can comment here or there.

sendmail, it, linux, centos

Previous post Next post
Up