[exim] cpanel exim remote smtp exclude dedicated IPs

Top Page
Delete this message
Reply to this message
Author: Raul Predescu - CTO
Date:  
To: Exim-users
Subject: [exim] cpanel exim remote smtp exclude dedicated IPs
Hey guys

I want that my cpanel server to send all the email from the main IP of the server thru another mailserver, but all the other dedicated IPs ( like eth0:1 0:2 ... etc ) to be send locally thru exim.

I had something like this in the past:


driver = manualroute
domains = !+local_domains : -IP1 : -IP2
transport = remote_smtp_smart
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
headers_add = "${perl{mailtrapheaders}}"
route_list = * REMOTE_SMTP_SERVER_IP
host_find_failed = defer
no_more


But now it's not working. Someone with an idea ?