If you use Exim 4 and you want to improve your email deliverability, choosing our turboSMTP Smart Host smtp relay provider is a smart idea. Here’s how to set up a smart host for your Exim.
Exim Smart host relay Configuration
dc_eximconfig_configtype='smarthost' dc_other_hostnames='' dc_local_interfaces='127.0.0.1' dc_readhost='your.server.name' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='pro.turbo-smtp.com::587' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='true' dc_mailname_in_oh='true'
You can find the previous configuration file at /etc/exim4/update-exim4.conf.conf. We use the file taken from Ubuntu Server 10.4 only as an example.
In /etc/exim4/exim4.conf.localmacros, enable the TLS:
MAIN_TLS_ENABLE = 1
In /etc/exim4/passwd.client put your user and password in order to allow Exim 4 to access to Turbo SMTP:
*:turboSMTPusername:turboSMTPpassword
Save and restart Exim:
$ /etc/init.d/exim4 restart
Exim Smart Host smtp relay provider with CPanel
If you work with CPanel but want turboSMTP as a smart host email relay to send your emails, please follow this path: Main > Service Configuration > Exim Configuration Editor > Advanced Editor. Paste the following code in the AUTH Box:
begin authenticators turbosmtp_login: driver = plaintext public_name = LOGIN client_send = : YourturboSMTPUsername : YourturboSMTPPassword
Now, include a route in the Router Configuration Box and a transport in the Transport Configuration Box:
send_via_turbosmtp: driver = manualroute domains = ! +local_domains transport = pro.turbo-smtp route_list = "* pro.turbo-smtp.com::587 byname" host_find_failed = defer no_more
turbosmtp_smtp: driver = smtp hosts = pro.turbo-smtp.com hosts_require_auth = <; $host_address hosts_require_tls = <; $host_address
Save and restart Exim
$ /etc/init.d/exim4 restart