What is exim server and how to install it on Cent OS-6 ?
Intoduction of Exim:
Exim is an Open source mail transfer agent(MTA) which is responsible for receiving and delivering the mail. Exim has been ported to Linux system as well as windows system.Exim can run on any TCP/IP network.Exim handling thousand of of mail per hour.Exim is designed to deliver email without queuing.
Now we see how to install Exim server on cent OS 6:
Please follow the steps to install the Exim server on Cent OS – 6
Step 2: First of all update your cent OS 6.
# yum update
Step 3: Now download the confortable repository file on your server.
# wget https://epel.mirror.net.in/epel/6/x86_64/epel-release-6-8.noarch.rpm
Step 4: Install the downloaded repository with help of rpm command.
# rpm -ivh epel-release-6-8.noarch.rpm
Step 5: Install exim-myql by using yum command.
# yum install exim-mysql -y
Step 6: Now stop the Postfix and start Exim server.
# chkconfig postfix off
Step 7: Now set Exim as default MTA
# alternatives –config mta
this command will show below output and select number 2
There are 2 programs which provide ‘mta’.
*+ 1 /usr/sbin/sendmail.postfix
Enter to keep the current selection[+], or type selection number: 2
Step 8: To set auto start on boot time.
# chkconfig exim on
# /etc/init.d/exim start
Step 9: You can check Exim installation path by using below mentioned command.
# whereis exim
Step 10: If you want know the version of exim then us e the below mentioned command
# exim -bV | head -1
Step 11: Install mail package.
#yum install mailx
Step 12: Check by your exim server by sind the mail.
# mail -s “Test Email” [email protected] < /dev/null
Step 13: Now check log of exim. If it shows below mentioned message then it has working fine.
2014-01-18 10:09:07 1WxGXz-a010DH-L0 <= [email protected] U=root P=local S=573
2014-01-18 10:09:10 1WxGXz-a010DH-L0 => [email protected] R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [126.96.36.199] X=UNKNOWN:ECDHE-RSA-AES128-GCM-SHA256:128
2014-01-18 10:09:10 1WxGXz-a010DH-L0 Completed