We tested this on Ubuntu 16x, 18x, 20x / Vesta CP /Hestia CP/ Exim4

Goto your mailjet dashboard

Take note of your Username (API Key) & Password (Secret Key)

Goto Mailjet senders list > Add whole domain names to approve the any-emials@your-domains What areas need to be touched on your server side ?

Only one File : /etc/exim4/exim4.conf.template

What options need to change ?

begin authenticators

Add the below additional entries into that file.

Under >> begin authenticators

driver = plaintext
public_name = LOGIN
client_send = : Username (API Key):Password (Secret Key)

Under >> begin routers

driver = manualroute
domains = ! +local_domains
transport = mailjet_smtp
route_list = * in.mailjet.com:587;

Under >> begin transports

driver = smtp
port = 587
hosts_require_auth = *
hosts_require_tls = *

Finally – Restart your exim4 / MTA

service exim4  restart
One thought on “How to configure Exim4 as smarthost with Mailjet”
  1. [fmyykjpro146.html]Neostigmine[] sold under the brand name Bloxiverz, among others, is a medication used to treat myasthenia gravis, Ogilvie syndrome, and urinary retention without the presence of a blockage. It is also used in anaesthesia to end the effects of non-depolarising neuromuscular blocking medication. It is given by injection either into a vein, muscle, or under the skin.[3] After injection effects are generally greatest within 30 minutes and last up to 4 hours

Leave a Reply

Your email address will not be published. Required fields are marked *