I need exim to send all outbound email through a remote mail server


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Exim

I need exim to send all outbound email through a remote mail serverLast Modified: Feb 7, 2019, 7:11 pm
Note: If you're running exim.conf 4.5.7 or newer, you can use these 3 files for the related sections below:

wget -O /etc/exim.routers.pre.conf http://files.directadmin.com/services/SpamBlocker/smart_route/exim.routers.pre.conf
wget -O /etc/exim.transports.pre.conf http://files.directadmin.com/services/SpamBlocker/smart_route/exim.transports.pre.conf
wget -O /etc/exim.authenticators.post.conf http://files.directadmin.com/services/SpamBlocker/smart_route/exim.authenticators.post.conf

and edit your exim.authenticators.post.conf to set your smtp-auth user/pass.

If smtp-auth is not required, then edit exim.routers.pre.conf and change to use transport = remote_smtp.

Restart exim when done.



If you need to specify an outbound port other than 25, set it in the route_list option (/etc/exim.routers.pre.conf), eg:

route_list = * smtp.yourisp.com::587

where the double colons are correct.

If remote host doesn't require any authentication, may uncomment "transport = remote_smtp" line in /etc/exim.routers.pre.conf, and comment the "transport = auth_relay" one.
 
Related Helpfiles
How to update your exim.conf
Force exim to send email from a particular IP
How to setup exim as a backup MX server.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST