How to tell what mail system your running on Linux!
Hi,
I am trying to figure out if I am running Qmail, exim, postfix, etc. Or basically what mail system my Linux box is running. Anyone now how I would figure this out? I am running a CentOS 5 box. Thanks in advance!!! |
I don't know of a way to reliably determine which MTA (among the variety you mentioned) is active, but you can look for clues by checking: installed packages, config files, executing processes, etc.
In the case of CentOS 5, by default it is sendmail. |
Quote:
|
As root at cli:
alternatives --display mta alternatives --config mta |
Quote:
|
Just in case the alternatives command doesn't work for you (doesn't work on my system for instance) you can use netstat
Code:
it-lenny:~# netstat -alnp | grep :25 |
Yeah, that's specific to RH based systems I believe, but the config option makes it easy to switch between mtas to see which one you prefer.
|
All times are GMT -5. The time now is 03:50 AM. |