Start EXWM through DBus and fix pinentry-gnome3 annoyances
[~bandali/configs] / .config / dovecot / canonical.sieve
... / ...
CommitLineData
1require [ "regex", "variables", "fileinto", "envelope", "mailbox",
2 "imap4flags", "include" ];
3
4if address :is "from" "noreply+chat@canonical.com" {
5 fileinto :create "mattermost";
6 stop;
7}
8
9if address :is "from" "noreply+discourse@canonical.com" {
10 fileinto :create "discourse";
11 stop;
12}
13
14if address :is :domain "from" ["discourse.ubuntu.com", "forum.snapcraft.io"] {
15 fileinto :create "discourse";
16 stop;
17}
18
19if address :is "from" "jira@warthogs.atlassian.net" {
20 fileinto :create "jira";
21 stop;
22}
23
24if address :is :domain "from" "rt.canonical.com" {
25 fileinto :create "rt";
26 stop;
27}
28
29if address :matches :domain "from" ["launchpad.net", "*.launchpad.net"] {
30 fileinto :create "launchpad";
31 stop;
32}
33
34if address :is "from" "gitlab@salsa.debian.org" {
35 fileinto :create "salsa";
36 stop;
37}
38
39if address :is "from" "notifications@github.com" {
40 keep;
41 stop;
42}
43
44if header :regex "list-id" "<([a-z_0-9-]+)[.@]" {
45 set :lower "listname" "${1}";
46 fileinto :create "l.${listname}";
47 stop;
48}