The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' started by kieranmullen, Feb 10, 2008.

  1. kieranmullen

    kieranmullen Well-Known Member

    Joined:
    Aug 25, 2005
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Portland, OR USA
    Just a thought. The filtering isnt working so well on another email server.

    How could one setup a domain just to filter email for another email server?

    KM
     
  2. Bima

    Bima Member

    Joined:
    Jan 2, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  3. kieranmullen

    kieranmullen Well-Known Member

    Joined:
    Aug 25, 2005
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  4. Bima

    Bima Member

    Joined:
    Jan 2, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page