linux:centos:email:dovecot:sieve:add-email-rule
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:centos:email:dovecot:sieve:add-email-rule [2018/09/15 17:37] – created odefta | linux:centos:email:dovecot:sieve:add-email-rule [2023/07/04 16:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Add sieve rule ====== | ====== Add sieve rule ====== | ||
| - | === Move spam mail to folder (and create it if not already exist) === | + | === Move spam mails to inbox Spam folder (and create it if not already exist) === |
| + | |||
| + | Edit / | ||
| - | Edit / | ||
| < | < | ||
| + | require [" | ||
| + | if header :contains " | ||
| + | fileinto :create " | ||
| + | stop; | ||
| + | } | ||
| </ | </ | ||
| + | |||
| + | Recompile sieve configuration: | ||
| + | sievec -D "/ | ||
| + | |||
| + | === Move emails with "Event alarm" subject to inbox EventAlarm folder === | ||
| + | |||
| + | Edit / | ||
| + | |||
| + | < | ||
| + | require [" | ||
| + | |||
| + | if header :contains " | ||
| + | fileinto :create " | ||
| + | stop; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Recompile sieve configuration: | ||
| + | sievec -D "/ | ||
linux/centos/email/dovecot/sieve/add-email-rule.1537033068.txt.gz · Last modified: 2023/07/04 16:36 (external edit)
