Q & A

  • GNULinux
  • 2 years ago

Steps:

#yum install exim system-switch-mail

After successful installation, we need to make some necessary configurations. Switch default MTA(Mail Transfer agent) to exim if it is sendmail or any other application by using system-switch-mail. Then stop sendmail service if it is running and disable in startup.

#service sendmail stop
#chkconfig  sendmail off

And start exim service and enable to start at boot time

#service exim start
#chkconfig exim on

If you want to enable manual routing for mail then ,add  the following  entry in “dnslookup” section in /etc/exim/exim.conf

driver = manualroute
domains= !+all
transport= remote_smtp
route_list=”* mail1.remoteserver.com;”

And restart exim

#service exim restart

Verify the configurations by sending test mail

#echo “test mail”|mail -s “$HOSTNAME” user1@domain.com

And check the mail received or not.

That’s it you are done with basic exim configuration