Skip to main content

Spamassasin filter foreign language emails

Comments

9 comments

  • cPanelMichael
    Hello, Could you let us know the specific changes you made to the /etc/mail/spamassassin/local.cf file? Thank you.
    0
  • nisamudeen97
    Hi, I just added the below line as extra in /etc/mail/spamassassin/local.cf, rest of the things are default. ok_languages en
    0
  • cPanelMichael
    Hello, You'd need to also enable the TextCat plugin referenced at: ImproveAccuracy - Spamassassin Wiki To do so, add the following line to the /etc/mail/spamassassin/init.pre file:
    loadplugin Mail::SpamAssassin::Plugin::TextCat
    Then, restart SpamAssassin via:
    /scripts/restartsrv_spamd
    Thank you.
    0
  • nisamudeen97
    Hi, Thanks for the update. I have done the same, but still emails with Chinese are coming and it is reaching inbox.
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • nisamudeen97
    Hi, Ticket is opened for the same. Ticket number # 8605173
    0
  • cPanelMichael
    Hello, To update, a symbolic link was created using the below commands to ensure the TextCat SpamAssassin plugin worked as expected:
    cd /var/lib/spamassassin/3.004001/ ln -s updates_spamassassin_org/languages languages
    Thank you.
    0
  • nisamudeen97
    Meanwhile it is not working still. Chinese emails are coming as usual to inbox. I have updated the same in ticket.
    0
  • keat63
    I once wrote a filter rule to block chinese emails. Take a look at all the chinese emails that your recieve and you'll start to spot a few common chinese characters. I copied and pasted a few in to a global filter rule, they almost stopped over night.
    0

Please sign in to leave a comment.