You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_manual/groupware/mail.rst
+47-1Lines changed: 47 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -352,7 +352,7 @@ The mail app supports summarizing message threads that contain 3 or more message
352
352
Filtering and autoresponder
353
353
---------------------------
354
354
355
-
The Mail app has a simple editor for Sieve scriptsand an interface to configure autoresponders. Sieve has to be enabled in the :ref:`account settings <mail-account-settings>`.
355
+
The Mail app has a editor for Sieve scripts, an interface to configure autoresponders and an interface to configure filters. Sieve has to be enabled in the :ref:`account settings <mail-account-settings>`.
356
356
357
357
Autoresponders
358
358
~~~~~~~~~~~~~~
@@ -361,6 +361,52 @@ Autoresponders
361
361
362
362
The autoresponder is off by default. It can be set manually, or follow the system settings. Following system settings means that the long absence message entered on the :ref:`Absence settings section <groupware-absence>` is applied automatically.
363
363
364
+
Filter
365
+
~~~~~~
366
+
367
+
.. versionadded:: 4.1
368
+
369
+
Mail 4.1 includes a simple editor to configure filter rules.
370
+
371
+
372
+
.. note:: Importing existing filters is not supported. However, all existing filters will remain active and unchanged. We recommend backing up your current script through the Sieve script editor as a precaution.
373
+
374
+
How to Add a New Filter
375
+
^^^^^^^^^^^^^^^^^^^^^^^
376
+
377
+
1. Open your account settings.
378
+
2. Verify that Sieve is enabled for your account (see Sieve server settings).
379
+
3. Click on Filters.
380
+
4. Select New Filter to create a new rule.
381
+
382
+
How to Delete a Filter
383
+
^^^^^^^^^^^^^^^^^^^^^^
384
+
385
+
1. Open your account settings.
386
+
2. Ensure that Sieve is enabled for your account (see Sieve server settings).
387
+
3. Click on Filters.
388
+
4. Hover over the filter you wish to delete, then click the trash icon.
389
+
390
+
391
+
Tests
392
+
^^^^^
393
+
394
+
Tests are applied to incoming emails on your mail server, targeting fields such as subject (the email\'s subject line), from (the sender), and to (the recipient). You can use the following operators to define conditions for these fields:
395
+
396
+
- **is**: An exact match. The field must be identical to the provided value.
397
+
- **contains**: A substring match. The field matches if the provided value is contained within it. For example, "report" would match "port".
398
+
- **matches**: A pattern match using wildcards. The "*" symbol represents any number of characters (including none), while "?" represents exactly one character. For example, "*report*" would match "Business report 2024".
399
+
400
+
Actions
401
+
^^^^^^^
402
+
403
+
Actions are triggered when the specified tests are true. The following actions are available:
404
+
405
+
- **fileinto**: Moves the message into a specified folder.
406
+
- **addflag**: Adds a flag to the message.
407
+
- **stop**: Halts the execution of the filter script. No further filters with will be processed after this action.
0 commit comments