Preventing spam in Russian language

Spam, junk, or unsolicited bulk emails can come from different sources with messages that are mostly commercial.

They are not only annoying, but they can also be dangerous as they may include phishing links or attachments containing malware. At times, you may receive spam emails in the Russian language.

This topic provides instructions to block spam emails that contain messages in Russian.

To add a rule to ignore every email that contains Russian characters in the subject line or body, please follow the steps below:

  1. Log in to your GFI HelpDesk instance and go to the admin area.
  2. Under Email Parser, click Rules.
  3. Click Rules

  4. Click on the New button on the right side of the screen.
  5. Click New

  6. Enter the rule title. Make sure that the following options are enabled:
    • Email parser rule enabled
    • Stop processing other rules

    Enable - Email parser rule enabled and Stop processing other rules

  7. Click Insert Criteria and enter the following settings:
    • Subject - Regular Expression - /[А-Яа-яЁё]/u - OR
    • Body - Regular Expression - /[А-Яа-яЁё]/u - OR
    • Furthermore, if only one of the email queues is affected by the spam emails, you can add an extra condition: Email Queue - Equal to - [myqueue]@[myqueue] - AND
  8. Click Insert criteria

  9. Under the Actions tab, enable the following options (select Yes):
    • Ignore email,
    • Do not send autoresponder
    • Do not process notification rules
  10. Actions tab

  11. Click Insert to save the changes.
  12. Click insert


Additionally, the email queue can be restricted to accept emails only from registered users. This email queue accepts only emails from the users with an existing user account. Hence, non-registered users cannot send you emails (to this queue), and they are prompted to create an account first. For more information, please refer to the Restricting Email Queue article.