:: How to install Exim4 in Linux Ubuntu

sudo apt-get install exim4

 
:: Checking exim4

sudo netstat -tlupn | grep exim

or

sudo /etc/init.d/exim4 status
 * checking separate queue runner daemon...                             [ OK ]
 * checking combined SMTP listener and queue runner daemon...           [ OK ] 

 
:: Testing Exim4

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ubuntu.ubuntu-domain ESMTP Exim 4.80 Mon, 12 Nov 2012 19:59:31 +0700
ehlo localhost
250-ubuntu.ubuntu-domain Hello localhost [127.0.0.1]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250 HELP
mail from: [email protected]
250 OK
rcpt to: [email protected]
250 Accepted
data
354 Enter message, ending with "." on a line by itself
subject: testing
igonre me please..
.
250 OK id=1TXtcR-0005DA-Pw
quit
221 ubuntu.ubuntu-domain closing connection
Connection closed by foreign host.

 
:: Link
+ Google
+ Exim4