Shrikant Lokhande's blog | Found on

Monday, September 21, 2009 Posted by Shrikant Lokhande 0 comments

I want you to take a look at: Shrikant Lokhande's blog

It's on, the largest, coolest and most active community of Indian bloggers!


How to change MTA on Centos5.3(RHEL based server)

Sunday, September 6, 2009 Posted by Shrikant Lokhande 0 comments
Here you can see, how to change MTA qmail to any other you can set as simple sendmail or postfix, exim or qmail.

[root@hostshot ~]#ll /etc/alternatives/mta
lrwxrwxrwx 1 root root 23 Aug 31 03:39 /etc/alternatives/mta -> /var/qmail/bin/sendmail

[root@hotshot ~]# alternatives --config mta

There are 4 programs which provide 'mta'.

Selection Command
*+ 1 /var/qmail/bin/sendmail
2 /usr/sbin/sendmail.exim
3 /usr/sbin/sendmail.postfix
4 /usr/sbin/sendmail.sendmail

Enter to keep the current selection[+], or type selection number: 2

[root@vh115sj ~]# /etc/init.d/qmail stop
Stopping : [root@hotshot ~]# /etc/init.d/exim restart
Shutting down exim: [ OK ]
Starting exim: [ OK ]

[root@hotshot ~]# echo " for shrikant " | mail -s " for shrikant "

;) Its done. Please comment if any issue.