Hello,
I've smart_host_route in my exim_outgoing.conf, which I've to add everytime I upgrade/reinstall exim.
I tried using Exim configuration editor but it is not editable, this code sits below the sa_localuser entry.
I also tried to edit exim.conf.buildtest but it didn't work for me. If I am right, exim.conf.local stores the changes made through Exim configuration editor but I couldn't edit it, couldn't understand where exactly to put my code so it works properly.
This is my smart_host_route entry in exim_outgoing.conf
sa_localuser:
driver = accept
check_local_user
headers_add="${perl{gensaheader}{$local_part}}"
condition = "${perl{checkusersa}{$local_part}{$received_protocol}}"
domains = ! lsearch;/etc/userdomains
transport = local_sa_delivery
#my additional route
smart_host_route:
driver= manualroute
transport = remote_smtp
route_list = domain.com mail-1.domain.com bydns
How can I make this change permanent? I think I need to edit exim.conf.local but I am not really sure where to put it.
I've smart_host_route in my exim_outgoing.conf, which I've to add everytime I upgrade/reinstall exim.
I tried using Exim configuration editor but it is not editable, this code sits below the sa_localuser entry.
I also tried to edit exim.conf.buildtest but it didn't work for me. If I am right, exim.conf.local stores the changes made through Exim configuration editor but I couldn't edit it, couldn't understand where exactly to put my code so it works properly.
This is my smart_host_route entry in exim_outgoing.conf
sa_localuser:
driver = accept
check_local_user
headers_add="${perl{gensaheader}{$local_part}}"
condition = "${perl{checkusersa}{$local_part}{$received_protocol}}"
domains = ! lsearch;/etc/userdomains
transport = local_sa_delivery
#my additional route
smart_host_route:
driver= manualroute
transport = remote_smtp
route_list = domain.com mail-1.domain.com bydns
How can I make this change permanent? I think I need to edit exim.conf.local but I am not really sure where to put it.