Hello

I've got issues using filters. Although a filter matches a message,
the message remains in the INBOX. In the log file
a...@skwar.xyz.sieve.log, I find this:

sieve: info: started log at 2025-04-14 18:15:31 +0200.
error: msgid=<1051036477.1870592.1744647326...@mail.yahoo.com>: fileinto 
action: failed to store into mailbox '🎗 Social Networks/🏔🚴 Draussen': Mailbox 
doesn't exist: 🎗 Social Networks/🏔🚴 Draussen.

Yes, the folders are **really** named "🎗 Social Networks" and
"🏔🚴 Draussen" 😜 I like emojis, makes it easier for me to find
things again 🙂

The filter rule for this is:

require ["regex","imap4flags","fileinto"];
if anyof (address :regex :comparator "i;octet" "from" 
".*@(yahoo\\.com|bergportal\\.ch|freezetag\\.com|garmin\\.com|geocaching\\.com|komoot\\.de|munzee\\.com|quaeldich\\.de|spontacts\\.com|squadrats\\.com|strava\\.com|update\\.strava\\.com|velocity\\.ch|wandrer\\.earth)$",
 address :regex :comparator "i;octet" ["to", "cc"] 
"hiking-buddies@acc\\.alexs77\\.rodeo|carving\\.fleshed313@alexs77\\.foobar\\.vip|com\\+wandrer\\.earth@skwar\\.me|squadrats\\.com@acc\\.alexs77\\.rodeo",
 address :regex :comparator "i;octet" "from" 
"hikingbuddiest...@gmail.com|email.meetup.com") {
    fileinto "🎗 Social Networks/🏔🚴 Draussen";
    stop;
}


In this case, it matches on "<whatever>@yahoo.com".

Why did it not find the folder?

I created the folder and rule in SOGo 5.12.0 from mailcow 2025-03b.

bd36093fccaa:/var/vmail/sieve# dovecot --version
2.3.21.1 (d492236fa0)

Should the Emojis somehow be encoded, so that the filter would work?

Cheers,
Alexander

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to