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.

What are optimal setting for Spamd Startup Configuration on a busy server?

Discussion in 'General Discussion' started by EdRooney, Dec 1, 2004.

  1. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    What are optimal setting for Spamd Startup Configuration on a busy server?
    maxchildren=?
    allowedips=127.0.0.1
    maxconnperchild=?
     
  2. RandyO

    RandyO Well-Known Member

    Joined:
    Jun 17, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    How about settings for ANY server? I dont see any docs on this at all yet
     
  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
    I would imagine that the standard settings are the optimal on average. It's impossible to say beyond the default settings as it will be indivdual to each and every server. Have a play and settle on what works for you. Alternatively, don't use the spamd approach ;)
     
  4. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    What are the standard settings?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    From /scripts/RestartSrv.pm:

    Code:
        my $cpspamdconf = "/etc/cpspamd.conf";
        my $spamdoptions = "";
        my $allowedips = "--allowed-ips=127.0.0.1";
        my $maxconnperchild = "";
        my $maxchildren = "--max-children=5";
        my $pidfile = "--pidfile=/var/run/spamd.pid";
        my $localonly = "";
        my $timeouttcp = "";
        my $timeoutchild = "";
     
     
  6. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    WHat does this mean:
    my $maxconnperchild = "";

    Unlimited?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No idea. You really do need to do some work yourself rather than having everyone else do it for you :rolleyes: . Go have a look over on:
    http://www.spamassassin.org
     
  8. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    Ok, thanks i didnt know spamd was made by spam assassin.
     
  9. JohnBB

    JohnBB Member

    Joined:
    Dec 12, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi !

    I'd be very interested to see a reply to EdRooney's original question in post #1 here.
    Anyone who would be so kind to share his settings?

    John
     
  10. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    As chirpy stated, each server is different, the standard (default) settings would be the start but each and every server needs to be "optimized" individually as what would be ideal for one may not be for the other.
     
  11. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    I am going with
    maxchildren=10
    allowedips=127.0.0.1
    maxconnperchild=5
     
Loading...

Share This Page