Go to the shell and enter the following command:
telnet <hostname> 25
This will return with a line like this:
220 example.com ESMTP Exim 4.69 Thu, 13 Nov 2008 10:06:01 +1100
as you can see, EXIM runs on this server. A.
Then enter QUIT to exit back to the shell.
UPDATE: . Some hosts use a different address for their mail server, if you are on Linux, you can enter the following command to get a list of mail servers for this domain:
dig -t MX example.com