I'm currently using a relay service (mailchannels and sendgrid) to send about 200k messages per month of our cPanel services, but I'd like to route only messages that have HOTMAIL recipients (because they're the main reason for us to relay mails.. our messages are never delivered on mailbox using our ips -- GMAIL and all other providers are delivered without problems).
This is how my config looks like:
SECTION: AUTH sendgrid_login: driver = plaintext public_name = LOGIN client_send = : USER : PW
Section: PREROUTERS send_via_sendgrid: driver = manualroute domains = ! +local_domains transport = sendgrid_smtp route_list = "* smtp.sendgrid.net::587 byname" host_find_failed = defer no_more
Section: TRANSPORTSTART sendgrid_smtp: driver = smtp hosts = smtp.sendgrid.net hosts_require_auth = smtp.sendgrid.net hosts_require_tls = smtp.sendgrid.net
I know that I should change the PREROUTERS section and out some condition there, but don't know how!
Any help will be appreciated.