spamassassin related question

Discussion in 'General' started by Ovidiu, Dec 9, 2011.

  1. Ovidiu

    Ovidiu Active Member

    following the perfect server for debian (with ISPCFG3) is spamassassin activated automatically?

    I just had a look at /etc/spamassassin/ and the following lines were commented:

    # rewrite_header Subject *****SPAM*****
    # required_score 5.0
    # use_bayes 1

    so now I was wondering whether I need to manually uncomment these lines or if an ISPCFG3 install uses a different config file for spamassassin?
  2. pititis

    pititis Member

    Yes sure. Ispconfig use amavis + libraries from spamassassin. You can ignore this issue
  3. Ovidiu

    Ovidiu Active Member

    ok, so no more config files editing - everything gets done by ispcfg via the policies.

    thanks for confirming
  4. bruno_floyd

    bruno_floyd New Member

    i'm still receiving quite a lot of spam on my emails.

    I have activated the spam filter for a couple of users, i'm using the permissive rule, which should only allow bad headers to pass, but i still get a lot of spam on those accounts.

    In one of them, i've created a Junk folder and all spam i'm storing there, twice a day i run the command

    sa-learn --dbpath /var/lib/amavis/.spamassassin --spam /mail/domain/user/.Junk/cur

    It says that it learnt tokens from the messages, but i still receive the spam :(

    I'm kinda lost here cause i didn't get what i have to do to really block the spam i'm getting
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The permissive rule has a very high spam score, this means this rule not preconfigured for high spam filter rates. You will get much better spam filtering results with the rule 'normal'.
  6. bruno_floyd

    bruno_floyd New Member

    Ok i just changed it i'll see how it goes now.

    Also, that command i was running i found somewhere on the internet, does it help on anything?

    What is the best way to train and make my spamfilter more effective?
  7. till

    till Super Moderator Staff Member ISPConfig Developer



    command daily on the shell e.g. as cronjob and restart amavis afterwards. The spamfilter trains iteslf automatically based on the filtered emails. This training might not have started yet because the score of the policy you selected was too high. If you still get too many spam after a few days, you can reduce the score (tag level 2) in the normal policy to 3.501
  8. bruno_floyd

    bruno_floyd New Member

    This is what i get when i run the update command:

    config: warning: description exists for non-existent rule AWL

    channel: lint check of update failed, channel failed

    Is that correct?
  9. bruno_floyd

    bruno_floyd New Member

    Now the messages are being marked as SPAM but still flooding the mailboxes. I have chosen the "Move spam to Junk directory" but they are not going there...

    I have changed the Junk directory name to portuguese on my file on Roundcube, does this affect it somehow?
  10. bruno_floyd

    bruno_floyd New Member

    Any inputs about this? I'm still getting a lot of SPAM on my mailboxes.

Share This Page