Re: sieve question

Masaru Nomiya <[email protected]> Fri, 03 Jul 2026 11:08:47 +0900
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
Hello,

In the Message; 

  Subject    : sieve question
  Message-ID : <[email protected]>
  Date & Time: Thu, 02 Jul 2026 20:40:33 +0200

[mh] == [email protected] has written:

mh>  Hi,

mh>  does anyone have any idea, what might be wrong with

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

mh>  in my sieve script?
mh>  It always gets to the else branch, when I get a mail from the bug list.
mh>  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.

How about this?

    header :regex "Subject" "\\s+VUL\-[0-9]:\\s+"
                     |
                     Y
    header :regex "Subject" "VUL\-[0-9]:\\s+"

In short, don't emails from ML start without a space?

Best Regards.

--
   Masaru Nomiya                     mail-to: nomiya @ ab.auone-net.jp

       "People need to manage the competing dynamics of relying on
	        generative AI and staying mindfully vigilant."
	       
         -- "Is AI ruining our skills? Early results are in  and they're 
	     not good" Nature --