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.

1 Mail server for multiple cPanel boxes (advise needed !)

Discussion in 'E-mail Discussions' started by VIPsNET, Oct 23, 2006.

  1. VIPsNET

    VIPsNET Active Member

    Jun 13, 2002
    Likes Received:
    Trophy Points:
    due to increased amount of spam I'm thinking of setting up a new dedicated box for incoming mail. This box would accept email for domains hosted on my production servers, scan the email for viruses, RBLs etc and then deliver the message to cPanel box.

    Has anyone done this already ?

    I pretty much figurred out how to do this:

    1. I change MX for domain names hosted on server 1 , 2 ,3
    2. The email go to 4th server which will do spam tests
    3. The email is then relayed after tests to correct server

    I was thinking of using manualroutes:

    transport = remote_smtp
    driver = manualroute
    domains = ! +local_domains : +relay_to_domains
    route_data = ${lookup{$domain} lsearch{/etc/mail/manual_routes}}

    and then I would add an entry for each domain name that the email should not be relayed to MX server but to

    I did not test it yet but can someone please tell me if the domain name would be first scanned by ie MailScanner, SpamAssassin and then relayed or Exim would not do anything to such incoming email and just relay it to correct server ?

    If you guys have any suggestions how to set up new box with antispam system for multiple cPanel boxes and then deliver the scanned message to correct server please let me know.

    Paid help is also appreciated ;)

Share This Page