Caution: This documentation refers to a deprecated version of the Mailjet API. It is not compatible with your account.
Please check the API v3 documentation for an updated version of this content.
Install
Edit file: /etc/exim4/update-exim4.conf
dc_eximconfig_configtype='smarthost' dc_other_hostnames='' dc_local_interfaces='127.0.0.1' dc_readhost='receiver' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='in.mailjet.com:587' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='true' dc_mailname_in_oh='true' dc_localdelivery='mail_spool'
Edit file (create on if needed): /etc/exim4/exim4.conf.localmacros :
MAIN_TLS_ENABLE=1
Edit file: /etc/exim4/passwd.client :
*:mailjetapikey:mailjetsecretkey
Execute the following commands:
update-exim4.conf /etc/init.d/exim4 restart
It should be enough. Send a test email. If you meet issues, see: /var/log/exim4/mainlog