Custom spamsassin scores, where to define them

Discussion in 'ISPConfig 3 Priority Support' started by rob_morin, Sep 16, 2016.

  1. rob_morin

    rob_morin Member

    Hello all, i was wondering where would i define custom spam scores? IE i want to make MSPIKE_H2 higher than it is and some others too... I have been trying different things like putting the scores in local.cf but not matter where that file is or what I put in there it never works. Is there an ISPCONFIG way to do it?
    Thanks...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In /etc/spamassassin/local.cf , don't forget to restart amavisd after you changed that file.
     
  3. rob_morin

    rob_morin Member

    Ya, that did not work last time i tried it, but i will try again....
     
  4. rob_morin

    rob_morin Member

    Ok, i think i got it,, SA reads all rules in alphabetical order, its recommend to create a file called zzzlocal.cf in /etc/spamassassin as that guarantees its read last , hence your mods are read last and overrides all others. :)
     

Share This Page