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
 
-----Original Message-----
From: Peramslist [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 1:32 PM
To: [EMAIL PROTECTED]
Subject: Specying an interface in Sendmail

Hi,
 
I've installed Sendmail 8.12.9 on Redhat Linux 9. But since I'm quite new to the sendmail and knowing that most of you gurus use sendmail, I am posting this question. I did a search on the web for this but no link pointed to what I'm looking for.
I'd appreciate if you can let me know how I can specify sendmail to use interface eth0.
 
Regards,
 
Peram

Reply via email to