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.

How to selectively activate spamd in some accounts?

Discussion in 'E-mail Discussions' started by Kent Brockman, Mar 31, 2008.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi there people.

    I love Spamfighter cause it does a very good work filtering spam, but since we determined the high level of resources consumed by spamd was responsible for the "can't fork" memory failures I've decided to turn it off to leverage server performance, leaving filtering on Exim ACLs' hands, which are doing well their work. Although, 1/10 domains are getting lots of spam that cannot be filtered by Exim.

    My question is about how to activate SpamAssassin for only those accounts that really need it, and without compromising memory consumption.

    I'm using WHM 11.15.0 cPanel 11.18.3-S21703
    CENTOS Enterprise 4.6 i686 on virtuozzo - WHM X v3.1.0


    Please review these steps in order to advice me if anything could not work as I expect:
    1) Activated spamd at Service Manager
    2) Activated option: "SpamAssassin Spam Filter" at Tweak Settings > Mail
    3) Activated option: "SpamAssassinTM: Reject mail with a spam score is greater then 20.0 at SMTP time." at Exim Configuration Editor > ACL Options
    4) DEACTIVATED option: "SpamAssassinTM: Enable for all users without the option for users to shut off per account." at Exim Configuration Editor > SpamAssassinTM Options
    5) Login to the spammed domain's cPanel and Activated the SpamAssassin usage.

    Will this prevent Spamassassin from filtering spam in the domains where it's still deactivated?
    Will this proccess now consume less memory than when protecting all the domains?
    Anybody has more clues about it?
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    thanks verdon, but a solution using Spamassassin will be much more appreciated :)
     
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Hi Kent

    configserver's solution still uses spamassasin, as well as a few other things. It also provides a nice interface for more granular control over spamassasin on a user by user basis. It's the only means I am aware of.

    Good luck :)
     
  5. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yep, but i am actually near from getting a high memory consumption. That's another reason why ain't feeling empathy to add more addons to my server.
    The method I described in my first post it is working but the solely effect of activating SpamAssassin even for one domain, makes it get the memory usage at 90%. (I am working with 1 GB RAM).
    I don't really know if there is any way to fine tuning spamd to make it work more smoothly.
     

Share This Page