Tuesday, 21 June 2011

SMTP Sendmail Configuration


SENDMAIL:

# SMTP daemon options

vim /etc/mail/sendmail.mc

you will find at line no 116
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

change to

O DaemonPortOptions=Port=smtp,Addr=192.168.100.134, Name=MTA

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
service sendmail restart

No comments:

Post a Comment