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.

Default score for Spam Assassin

Discussion in 'General Discussion' started by 10101, Sep 25, 2007.

  1. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    We've enabled SpamAssassin globally and I've noticed that the default score is 5 which is a little low, I would rather it be set to say 8 to give the end user the chance to reduce it if they need to.

    Is there a way to change this setting globally? If not, why not cpanel team?

    Thanks.
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Try putting the following into /etc/mail/spamassassin/local.cf :

    Code:
    required_score                8
    
    - Mike
     
  3. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Mike. Will that override customers custom settings in their cpanel?
     
  4. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    If you have SpamAssassin enabled globally in Exim Configuration Editor within WHM, I do not believe /home/<accountname>/.spamassassin/user_prefs is used and thus changing the value in /etc/mail/spamassassin/local.cf would work.

    However, if you do not have spamassassin enabled globally in Exim Configurator within WHM and instead you just enable spamassassin on a per-domain basis from that customer's control panel, then you'd have to modify the /home/<accountname>/.spamassassin/user_prefs for each domain.

    Also, I think that if you modify /usr/share/spamassassin/user_prefs.template so that it includes required_score 8, then new accounts that have spamassassin set up on them individually will get that default score.

    Mike
     
    #4 mtindor, Sep 25, 2007
    Last edited: Sep 25, 2007
Loading...

Share This Page