How do I determine which network interface card (NIC) Sendmail is running on?
The netstat command allows querying of IP addresses and interfaces that the Sendmail daemon is listening. By default, Sendmail listens on TCP port 25.
By using the netstat and grep commands for port 25, IP addresses that Sendmail are listening to can be found by issuing the following command:
# netstat -an | grep :25 | grep tcp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
