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" "[email protected]" {
fileinto "lkml";
}
elsif header :contains "X-Mailing-List"
"[email protected]"
{
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