projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* .config/dovecot/canonical.sieve: Add bugzilla and gnome-releases.
[~bandali/configs]
/
.config
/
dovecot
/
canonical.sieve
diff --git
a/.config/dovecot/canonical.sieve
b/.config/dovecot/canonical.sieve
index
70ffe5f
..
5b32d11
100644
(file)
--- a/
.config/dovecot/canonical.sieve
+++ b/
.config/dovecot/canonical.sieve
@@
-36,12
+36,24
@@
if address :is "from" "gitlab@salsa.debian.org" {
stop;
}
stop;
}
+if address :is "from" "bugzilla-daemon@mozilla.org" {
+ fileinto :create "bugzilla";
+ stop;
+}
+
+if address :is "to" "ftp-release-notifications@gnome.org" {
+ fileinto :create "gnome-releases";
+ stop;
+}
+
if address :is "from" "notifications@github.com" {
keep;
stop;
}
if address :is "from" "notifications@github.com" {
keep;
stop;
}
-if header :regex "list-id" "<([a-z_0-9-]+)[.@]" {
+if allof (header :regex "list-id" "<([a-z_0-9-]+)[.@]",
+ not address :regex :localpart "from" "^(no)?reply")
+{
set :lower "listname" "${1}";
fileinto :create "l.${listname}";
stop;
set :lower "listname" "${1}";
fileinto :create "l.${listname}";
stop;