Discussion Locked

About Sendmail

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I change the ip address that sendmail is listening on?

5 replies

by rbgnr111

edit /etc/mail/sendmail.mc
and edit
DEAMON_OPTIONS(`port=smtp,address=,name=MTA')

by default it is set to 127.0.0.1

after you have edited it run m4
example: m4 /etc/mail/sendmail.mc

then copy the sendmail.cf thatis created to
/etc and restart the sendmail deamon or reboot

This discussion is closed to new replies.