4.3.1.3.2. Examples of filters in WebMail.Online

To move messages with a subject like "New order #XXXX" to the "Orders" folder, create a filter with the following settings:

  • Scopecomplies with all specified rules.
  • ConditionsSubject, contains, the text you are looking for (in the example, "New order").
  • ActionsMove message to, target folder (in the example, "Orders").

Attention!

The filter does not support all file types. For example, it will not work for extensions .php or .exe.

To delete messages with zip files, create a filter with the following settings:

  • Scopecomplies with any of specified rules.
  • Conditions:
    • Message body, matches regular expression, regular expression for searching for a file with the desired extension (in the example, filename=.*.zip, other extensions can be specified instead of zip).
    • Additional settings (⚙️):
      • search scope modifierraw.
      • comparison methodCase insensitive (ascii-casemap).
  • Actions — the required action (in the example, Delete message).

To delete messages from senders in the .RU domain zone, create a filter with the following settings:

  • Scopecomplies with all specified rules.
  • ConditionsSender, match regular expression, a regular expression used to determine the sender's domain zone (in the example, \.ru$; other domains can be specified instead of ru).
  • Actions — the required action (in the example, Delete message).

To "disable" a [mail:boxes|mailbox]] without [mail:boxes:delete|deleting] it, you can [mail:clients:webmail-online:filters:setup|create]] a filter that will delete all incoming messages and send an auto-reply:

  • Scopeall messages.
  • Actions:
    • Delete message.
    • Additional action (➕):
      • Reply with message.
      • Message subject — the subject of the auto-reply message (the subject header).
      • Message text — the text of the auto-reply message.
      • Sender email — the sender address of the auto-reply (the from header).
        • ⚠️ Do not use other mailboxes in your domain or mailboxes in another domain, as this may cause delivery problems for the entire domain.
      • How often to send messages — empty.
Content