From f4fb04ee200ff9d36e97dde2f79c5c1f04ed7998 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 27 Sep 2021 14:39:48 -0400 Subject: [PATCH] mail: add bz2 & update docs --- .config/mail/dovecot-lda.conf | 4 ++-- .config/mail/filters.siv | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/mail/dovecot-lda.conf b/.config/mail/dovecot-lda.conf index 3774a62..a1f3117 100644 --- a/.config/mail/dovecot-lda.conf +++ b/.config/mail/dovecot-lda.conf @@ -7,8 +7,8 @@ protocol lda { } plugin { - # http://wiki2.dovecot.org/Pigeonhole/Sieve - # http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration + # https://doc.dovecot.org/configuration_manual/sieve/pigeonhole_sieve_interpreter/ + # https://doc.dovecot.org/configuration_manual/sieve/configuration/ sieve = ~/.config/mail/filters.siv # sieve_extensions = vnd.dovecot.debug } diff --git a/.config/mail/filters.siv b/.config/mail/filters.siv index 3d2a96a..5139280 100644 --- a/.config/mail/filters.siv +++ b/.config/mail/filters.siv @@ -1,4 +1,5 @@ -# http://thsmi.github.com/sieve-reference/en/ +# https://thsmi.github.com/sieve-reference/en/ +# NB: Don't need to manually compile this as getmail will do it automatically. require "fileinto"; require "imap4flags"; @@ -106,6 +107,10 @@ if anyof ( header :contains "List-Id" "", # bitpim header :contains "List-Id" "", + # bzip2 + header :contains "List-Id" "", + header :contains "To" "bzip2-devel@sourceware.org", + header :contains "Cc" "bzip2-devel@sourceware.org", # chrome header :contains "List-Id" "", # cldr -- 2.39.5