sieve and utf-8 MIME/base64 content

Robert Stepanek rsto at
Mon Feb 19 08:42:44 EST 2018

On Mon, Feb 19, 2018, at 14:33, Eugene M. Zheganin wrote:
> But my users kind of demand more and more :), now they want not only the 
> header/body search, but also sorting out the letters to the folders that 
> contain the localized symbols. So, it's working fine when a folder is 
> named 'Junk e-mail', but when it's named 'Спам', this stops working. Of 
> course, the workaround is to determine on-disk name of the folder, this 
> can be done by ls'ing the folder name on the disk, but only few users 
> can ssh to server, so the rest have a choice of either using latin names 
> for folders or to ask their system engineer. So I wanted to ask - is 
> there any more elegant solution ?

The folder name either needs to be in UTF-8 or modified UTF-7 encoding (aka IMAP UTF-7). If you want to use UTF-8, you'll need to enable the sieve_utf8fileinto option in imapd.conf (see


More information about the Info-cyrus mailing list