Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MailScanner + Exim

Discussion in 'E-mail Discussion' started by gal3ler, Apr 6, 2006.

  1. gal3ler

    gal3ler Active Member

    Joined:
    Dec 7, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    We're currently using Chirpy's MailScanner + Exim for our outgoing mail gateway. I was wondering if anyone had any good settings for Exim + MailScanner for a very busy server. The server is:

    Dual Xeon 2.4Ghz
    4GB RAM
    RHEL 4

    MailScanner is just having a hard time keeping up with scanning all of the incoming messages and I was wondering if there's a way to increase it's performance along with Exim to have them handle more messages.
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    6
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    A couple of things to get you started:

    1. Use the dictionary attack ACL and make sure all :blackhole: are changed to :fail: in /etc/valiases/*

    2. If you get a lot of RBL hits, it might be a good idea to offload RBL rejection directly into an exim ACL rather than having MailScanner do it

    3. Run a local caching DNS server if you aren't already and be sure that it is the first listed nameserver IP address (i.e. that of your server) at the top of /etc/resolv.conf

    4. Reducing the number of children down to 2 in MailScanner.conf can help with load, but can adversely affect the speed of delivery if a queue builds up
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. gal3ler

    gal3ler Active Member

    Joined:
    Dec 7, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Yeah right now the children is set to 20 heh

    Lots of email going through this test gateway.

    How do these look:

    Max Children = 20
    Queue Scan Interval = 6


    Max Unscanned Bytes Per Scan = 1000000
    Max Unsafe Bytes Per Scan = 500000
    Max Unscanned Messages Per Scan = 90
    Max Unsafe Messages Per Scan = 5


    Max Normal Queue Size = 1500
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I would suggest 20 is way too high. I would never set it above 5 and then only on a 4GB server. 3 is usually perfectly sufficient for most web server usage.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice