possible to use cpanel just to filter mail for another email server?

Bima

Member
Jan 2, 2002
15
0
301
It is possible to have mail filtered and then pushed to another server. The solution I have in mind requires root access and some modifications to the Exim configuration, though.

Marek
 

kieranmullen

Well-Known Member
Aug 25, 2005
165
0
166
Portland, OR USA
Thank you for your response. I do have root access.

basically we had surbl filtering which worked better than anything else setup on the windows email servers and would like to use the surbl filter built in into spam assassin until we get the windows server fixed.
 

Bima

Member
Jan 2, 2002
15
0
301
You should be able to achieve that by adding this directive in the ROUTERS CONFIGURATION section:

Code:
smart_host_remote_domain:
  driver = manualroute
  route_list = remote_domain 123.123.123.123
  transport = remote_smtp
"remote_domain" is the domain on the other server
"123.123.123.123" is the IP address of the server that handles mail for the remote domain

I believe this will work if you have SpamAssassin checking mail at the SMTP session level and not when the message is actually accepted.

Marek