cPanel

Configure Mandrill on cPanel (Exim)

Configure Mandrill
Configure Mandrill

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.

 
*: smtp.mandrillapp.com

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 = : mail@yourdomain.com : API-Key

Change mail@yourdomain.com 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 info@grepitout.com