directadmin relay mail exim.routers.pre.conf

vi /etc/exim.routers.pre.conf

smart_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = “${perl{check_limits}}”
transport = remote_smtp
route_list = * another.smtp.server
no_more

service exim restart

Leave a Reply

Your email address will not be published. Required fields are marked *