Try running
Code:
telnet localhost 25
on the server. The mail server should reply saying what software it is. For example, sendmail would reply with this:
Code:
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 zeus.example.com ESMTP Sendmail 8.14.4/8.14.4; Tue, 24 Jul 2012 23:37:32 -0500
If that doesn't work you can run
Code:
ps -ef
to get a list of running processes, and look through the list for exim, sendmail, postfix, etc. You can pipe that to the grep command to search for a particular process, like this:
Code:
$ ps -ef |grep sendmail
root 1672 1 0 Jun10 ? 00:00:39 sendmail: accepting connections
smmsp 1675 1 0 Jun10 ? 00:00:00 sendmail: Queue runner@00:25:00 for /var/spool/clientmqueue
root 13028 1672 0 21:37 ? 00:00:00 sendmail: server localhost [127.0.0.1] cmd read