Add to Favourites Add to Favourites    Print this Article Print this Article

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

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
wget -O /etc/exim.transports.pre.conf
wget -O /etc/

and edit your 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 = *

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.

Was this answer helpful?

Also Read