19 Dec
2022
19 Dec
'22
5:59 a.m.
On 2022-12-13 00:42, John Stoffel wrote:
Maybe you're filtering the wrong way?
I use something like this and it's pretty good:
require ["fileinto", "envelope"]; require "imap4flags"; require "regex";
if header :contains "Sender" "linux-kernel-owner@vger.kernel.org" { fileinto "lkml"; } elsif header :contains "X-Mailing-List" "linux-kernel@vger.kernel.org" { fileinto "lkml"; } else { # The rest goes into INBOX # default is "implicit keep", we do it explicitly here keep; }
I'm sorry, question should have gone to roundcube list as it is roundcube plugin "manage_sieve" am using to make rules. Don't see "elsif" in rule options which is likely what I want.
I'll search for the sieve config file on Debian bullseye.
cheers mick