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.

MailScanner / Exim Question

Discussion in 'E-mail Discussions' started by gal3ler, Nov 18, 2005.

  1. gal3ler

    gal3ler Active Member

    Joined:
    Dec 7, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Would it be possible if we setup a basic server, installed exim, mailscanner, etc and setup a cronjob to copy all of the email accounts from each cPanel box and changed all the MX entries to point to it that it could handle all of the email for us? We want to setup a great spam solution but not on each server as that will increase the load on all of our servers. Then if the email gets too high for the one server, we can make a dns pool and start out pointing the MX entries to mail.something.com but that mail.something.com can have multiple A entries pointing to each internal mail server we have.

    Would this be possible?

    If so, where would the email accounts have to be copied from so Exim can allow the customer to login etc
     
  2. gal3ler

    gal3ler Active Member

    Joined:
    Dec 7, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    or even setting up just a gateway


    -> [Mail Gateway] -> [Checked for Virus/Spam] -> [cPanel Server] -> [Inbox]


    Something like that. Has anyone done this before?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, you can do that. The way it would work is:

    1. Setup a server separate from your cPanel hosting servers

    2. Setup that server to relay email for all the domains that you want to scan

    3. Change all the MX records of the domains to point to that server

    4. Setup smart routers on that server to forward email to the cPanel servers

    How you setup those smart routers will depend entirely on which MTA you choose. If you use a separate cPanel server as the email gateway, then do a search on these forums for smart router for information on how to do that with exim.

    Be aware that with that setup local email (i.e. to and from domains on the same server) will not be scanned as it will be delivered locally rather than going off-server.
     
Loading...

Share This Page