How do I determine which network interface card (NIC) Sendmail is running on?

Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content