Spamassassin

Discussion in 'General' started by Hypnotize, Aug 17, 2020.

Tags:
  1. Hypnotize

    Hypnotize New Member

    Hi there,
    My server is starting to get overrun with spam (couple of hundred of spam emails weekly ).
    I'm using Centos 7.8 with ISPConfig 3.1.15p3.
    I've used "The Perfect Server - CentOS 7" tutorial for server setup with roundcube.
    All of my mailboxes are using "Normal" Spamfilter policy. I tinkered a little bit with Tag Levels and so far It manages to tag around 70% of all spam emails (My SPAM tag level is set to "1")
    Recently I learned that "SpamAssassin" has "learn" feature.
    Does ISPconfig automatically "feeds" spamassassin or how do I do that?

    Thanks a lot :)
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    what do you mean by getting overrun with spam?

    is it spam mail coming into local mailboxes?
    is it spam mail getting sent out from your server?
    are you using any RBL's like spamhaus?

    RBL's will block a lot of inbound spam before even getting to the email scanning stage.
    have you set the spamfilter policy on both the domain and each mailbox?
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    the spam tag level decides when the X-Spam header is added to the mail, the tag2 is when the email is marked as spam. I would set it to 3.5 or maybe even lower.
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    No, you have to set up something to feed it training messages. Start keeping a hand sorted corpus of spam and non spam messages, and setup a cron job to run sa-learn with those. Or there are other ways, but that is pretty simple.
     

Share This Page