Thursday, 13 February 2014

Remote smtp setup in exim

 - Copied default exim.conf from other cpanel server and added the below entries as client updated and restarted exim. Mails started working fine.

In exim.conf:
--------------
begin authenticators
mailjet_login:
driver = plaintext
public_name = LOGIN
client_send = : APIKey : APISecret [ Corrsponding key values here ]

* Only include the begin authenticators if it does not exist already, if it does just paste the rest below it.

2) Add a route in the Router Configuration:
send_via_mailjet:
driver = manualroute
domains = ! +local_domains
transport = mailjet_smtp
route_list = "* in.mailjet.com::587 byname"
host_find_failed = defer
no_more

3) Add a transport to the Transport Configuration:
mailjet_smtp:
driver = smtp
hosts = in.mailjet.com
hosts_require_auth = in.mailjet.com
hosts_require_tls = in.mailjet.com

No comments:

Post a Comment