vi /etc/mail/sendmail.mc
Put a dnl in front of this section:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Comment out
dnl # define(`SMART_HOST', `smtp.your.provider')dnl
Rebuild
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
Restart
/etc/init.d/sendmail stop/ start
No comments:
Post a Comment