Spamassassin settings

Discussion in 'General' started by ikt, Dec 3, 2012.

  1. ikt

    ikt New Member


    If I wish to change a value of a score in spamassassin, where does one change this?

    I have changed in /root/.spamassassin/user_prefs to no avail.

    Many thanks
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You changed it in the spamassassin file of the root user, but root is not running spamassassin so this file is never read. Change it in /etc/spamassassin/ instead.
  3. ikt

    ikt New Member

    thanks :):)
  4. ikt

    ikt New Member

    Still not picking it up.

    score RCVD_IN_BRBL_LASTEXT 5.0
    score URIBL_PH_SURBL 5.0
    score URIBL_BLACK 5.0
    score URIBL_DBL_SPAM 3.0

    is what I added to /etc/spamassassin/

    and URIBL_PH_SURBL=0.61 is what came through on the test email.

    Any ideas?
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you restart amavisd after you changed the values?
  6. ikt

    ikt New Member

    Yup, then rebooted the whole server just to be sure.



    If these help.

    edit edit: I mean I can see it picking up the rules correctly, so I don't understand where it's going wrong ... it's now working...


    edit edit edit edit: ok the fix is you make a file called in /etc/spamassassin with your scores in it, then reboot spamassassin and amavis.
    Last edited: Dec 3, 2012

Share This Page