open
sendmail.cf under /etc/mail
find
the line that has :
DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
and
add
DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Addr=1.2.3.4
Name=MTA
where 1.2.3.4 = ip of your eth0
restart sendmail
You can also put into the sendmail.mc file
but then you have to rebuild the .cf file typically by running 'make' in the
/etc/mail directory... Another way is to use Webmin and it can do it
for you.
Craig Herring
|
- Specying an interface in Sendmail Peramslist
- Specifying an interface in Sendmail Peramslist
- Re: Specying an interface in Sendmail Lists
- Craig Herring