Hi..
By default the sendmail.cf file coming with RH7.1 only listen on loopback interface. u can see that in netstat -an
it will show like this
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Comment the following option and restart the sendmail daemon.
it will work
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Pls check after restarting the daemon using netstat -an.
the output will be like this
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
This feature may be useful if we have multihomed linux and if u want to listen in particular segment or only from that machine.
Siddiqu.T