diff options
author | Amin Bandali <bandali@gnu.org> | 2023-02-20 11:10:19 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2023-02-20 11:10:19 -0500 |
commit | 7598435441b039065b9384cab29f8c3cae308ae8 (patch) | |
tree | ecd21bcd9374b25acd88ad0bb87ac5418f0680e9 /.config/dovecot | |
parent | 702404f7838fd3cc8f73ae00d363099a7fcdbc03 (diff) | |
download | configs-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.sieve | 4 |
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; |