Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hey guys I'm going through a hosting company that set up a mailserver and I am trying to identify the mailserver (Postfix, Sendmail, Exim?) so I can set up a Monit rule around it, but haven't had any luck. Is there a command to tell me what mail is using?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Open an email sent from an account hosted by the mail server and view the headers, you should find it in there.

share|improve this answer
    
Yep, never thought of that... –  ehime Apr 9 '12 at 21:05

You can telnet to the host on port 25. For example:

telnet mailserver 25

It will kick back the mail server and version number. To exit the telnet session just click QUIT.

share|improve this answer
1  
The Telnet port will more than likely be blocked for security reasons. See en.wikipedia.org/wiki/Telnet#Security –  Clive van Hilten Apr 9 '12 at 20:38
    
The telnet port will probably be closed, but the telnet client application will connect to whatever port you tell it to and allow you to converse with it interactively, so the above command connects to port 25. –  Synchro Dec 18 '13 at 18:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.