[exim] cpanel exim remote smtp exclude dedicated IPs

Pàgina inicial
Delete this message
Reply to this message
Autor: Raul Predescu - CTO
Data:  
A: Exim-users
Assumpte: [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 ?