Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
4.3.1.3.2. Examples of filters in WebMail.Online
Move messages to folder
To move messages with a subject like "New order #XXXX" to the "Orders" folder, create a filter with the following settings:
- Scope — complies with all specified rules.
- Conditions — Subject, contains, the text you are looking for (in the example, "New order").
- Actions — Move message to, target folder (in the example, "Orders").
Delete messages with files
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:
- Scope — complies 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 ofzip). - Additional settings (⚙️):
- search scope modifier — raw.
- comparison method — Case insensitive (ascii-casemap).
- Actions — the required action (in the example, Delete message).
Delete messages from sender in specific domain zone
To delete messages from senders in the .RU domain zone, create a filter with the following settings:
- Scope — complies with all specified rules.
- Conditions — Sender, match regular expression, a regular expression used to determine the sender's domain zone (in the example,
\.ru$; other domains can be specified instead ofru). - Actions — the required action (in the example, Delete message).
"Disable" mailbox
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:
- Scope — all messages.
- Actions:
- Delete message.
- Additional action (➕):
- Reply with message.
- Message subject — the subject of the auto-reply message (the
subjectheader). - Message text — the text of the auto-reply message.
- Sender email — the sender address of the auto-reply (the
fromheader).- ⚠️ 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.