linux:centos:email:dovecot:sieve:add-email-rule
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:centos:email:dovecot:sieve:add-email-rule [2018/09/15 21:21] – odefta | linux:centos:email:dovecot:sieve:add-email-rule [2018/09/15 21:52] – odefta | ||
---|---|---|---|
Line 3: | Line 3: | ||
=== Move spam mails to inbox Spam 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 [" | + | require [" |
- | + | ||
- | if header :contains " | + | if header :contains " |
- | fileinto :create " | + | fileinto :create " |
- | stop; | + | 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