summaryrefslogtreecommitdiffstats
path: root/.config/dovecot
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2023-02-20 11:10:19 -0500
committerAmin Bandali <bandali@gnu.org>2023-02-20 11:10:19 -0500
commit7598435441b039065b9384cab29f8c3cae308ae8 (patch)
treeecd21bcd9374b25acd88ad0bb87ac5418f0680e9 /.config/dovecot
parent702404f7838fd3cc8f73ae00d363099a7fcdbc03 (diff)
downloadconfigs-7598435441b039065b9384cab29f8c3cae308ae8.tar.gz
configs-7598435441b039065b9384cab29f8c3cae308ae8.tar.xz
configs-7598435441b039065b9384cab29f8c3cae308ae8.zip
Update primary Canonical mail and a few other small tweaks
Diffstat (limited to '')
-rw-r--r--.config/dovecot/canonical.sieve4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/dovecot/canonical.sieve b/.config/dovecot/canonical.sieve
index 70ffe5f..ef510a4 100644
--- a/.config/dovecot/canonical.sieve
+++ b/.config/dovecot/canonical.sieve
@@ -41,7 +41,9 @@ if address :is "from" "notifications@github.com" {
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;