Use Mandrill with Exim on cPanel/WHM to Solve SPAM email Issue

1. Login to WHM with a root access & browse to

WHM → Service Configuration → Exim Configuration Manager → Basic Editor

 

2. In “Mail → Smarthost support”, add the following

1
*: smtp.mandrillapp.com

 

3. Browse to

WHM → Service Configuration → Exim Configuration Manager → Advanced Editor

 

4. Search for – “Section: AUTH” & add the following code. Change youremail@yourdomain : api-key with your email & Mandrill API Key

1
2
3
4
auth_login:
driver = plaintext
public_name = LOGIN
<span class="IL_AD" id="IL_AD2">hide</span> client_send = : youremail@yourdomain : api-key

 

5. Search for – “Section: PREROUTERS” & add the following code.

1
2
3
4
5
6
7
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

 

6. Search for – “Section: TRANSPORTSTART” & add the following code.

1
2
3
4
5
auth_relay:
driver = smtp
port = 587
hosts_require_auth = $host_address
hosts_require_tls = $host_address

 

7. Save the new configuration.

8. Send a test email & you should see the email header should have something with *mandrill.com

  • 26 Users Found This Useful
Was this answer helpful?

Related Articles

Can i use your hosting for mailing lists only?

No, you may not.The only way we allow this is throgh VPS or Dedicated Hosting.Articled Created...

Maximum mail per hour?

The default is 200/...if you're using more you would have to contact our support team for...

Google Apps Email Walkthrough

The first thing you need to do to start using Google Apps is sign up for it. This is a premium...

How to Set Up Gmail For Your Own Domain(Picture Walkthrough)

Did you know that you can set up email accounts from your own domain using the power of the...