linux:centos:email:dovecot:sieve:add-email-rule
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
linux:centos:email:dovecot:sieve:add-email-rule [2018/09/15 20:37] – created odefta | linux:centos:email:dovecot:sieve:add-email-rule [2018/09/15 21:52] – odefta | ||
---|---|---|---|
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.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1