sieve question

[email protected] Thu, 02 Jul 2026 20:40:33 +0200
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
Hi,

does anyone have any idea, what might be wrong with

  if anyof(
    # either: header :regex "Subject" "\\s+VUL\-[0-9]:\\s+"
    # or:
    header :contains "Subject" "VUL.0"
  ) {
    fileinto :create "Mailarchiv/nach Themen/Computer & Elektronik - System - linux - opensuse - bugs-vul";
  } else {
    fileinto :create "Mailarchiv/nach Themen/Computer & Elektronik - System - linux - opensuse - bugs";
  }

in my sieve script?
It always gets to the else branch, when I get a mail from the bug list.
If I copy the Subject line from the file in my dovecot maildir and send a mail manually with this subject it works as expected - the mail will be filed into bugs-vul.

TIA.

Bye.
Michael.
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed