Configure Mandrill on cPanel (Exim)
Configure Mandrill on cPanel is quite a simple task. It will help you to avoid the situation of detecting your email as spam in main email service providers like Hotmail/Livemail/Outlook. It is a big problem for bulk email senders.
If you are running an e-commerce website, you need to send newsletters. To solve this issue, we can use transactional email or bulk email service such as Mandrill with Exim on cPanel/WHM server. The following tutorial will help you to SMTP relay via Mandrill on Exim.
Login to WHM
WHM >> Service Configuration >> Exim Configuration Manager >> Basic Editor
then go to: Mail >> Smarthost support and add the following.
Then go to:
WHM >> Service Configuration >> Exim Configuration Manager >> Advanced Editor
Search for “Section: AUTH“. Then add the following.
auth_login: driver = plaintext public_name = LOGIN hide client_send = : email@example.com : API-Key
Change firstname.lastname@example.org with your email and API-Key with Mandrill API Key.
Then search for “Section: PREROUTERS” & add the following code.
smart_route: driver = manualroute domains = ! +local_domains ignore_target_hosts = 127.0.0.0/8 transport = auth_relay route_list = * smtp.mandrillapp.com no_more
Then search for “Section: TRANSPORTSTART” & add the following code.
auth_relay: driver = smtp port = 587 hosts_require_auth = $host_address hosts_require_tls = $host_address
Save the configuration and send a test email. You can find something with *mandrill.com on the email header.
That’s it! Please let us know if you have any qustions.
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at email@example.com