Pushing email for certain domains through spam filter/smart host

nerdzoll

Well-Known Member
Oct 4, 2004
106
0
166
Heya all,
I have been looking at the following thread http://forums.cpanel.net/f43/relay-all-mail-through-spam-filtering-appliance-155390.html as I have case where I would like to send email for certain sender domains through a spam filtering appliance (but not all).

In the above thread @cPanelTristan recommended the below to route all email to a smart host:
send_to_smart_host:
driver = manualroute
route_list = !+local_domains mailfilterserver.domain.com
transport = remote_smtp
-------

If we take the following case. I have a server and a spam filtering appliance but the spam filtering appliance only has a certain number of licenses and therefore there are only certain sender domains I want to filter through the smart host.

I.e. domain1.com, domain2.com and domain3.com exist on the server. Any email sent from domain1.com should be sent to the smarthost, however all other domains should not go through the smart host.

If anyone might be able to assist it would be greatly appreciated.
Cheers,
Stuart
 

nerdzoll

Well-Known Member
Oct 4, 2004
106
0
166
Thank you Michael, no matter how much ya search sometimes you just need the right search terms.
Muchly appreciated.
Cheers,
Stuart