View Issue Details

IDProjectCategoryView StatusLast Update
0001111SOGoWeb Mailpublic2014-03-05 01:53
Reporterfrancis Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.3.5 
Target Version1.3.6 
Summary0001111: Sieve filter - Can't file into folder with special characters
Description

This bug happen with Cyrus-IMAP. If I choose the "file into" action with a folder with special characters, Cyrus reports a "Mailbox does not exist" when the filter matches.

cyrus/lmtp[26582]: sieve runtime error for sogo1 id <60c9-4d441400-13-7b950e80@158797587>: Fileinto: Mailbox does not exist

In this example, the script was :

if anyof (address :contains ["to", "cc"] "sogo1@inverse.ca") {
fileinto "BoƮte";
}

while it should be :

if anyof (address :contains ["to", "cc"] "sogo1@inverse.ca") {
fileinto "Bo&AO4-te";
}

TagsNo tags attached.

Relationships

has duplicate 0002622 closedludovic Wrong UTF-7 encoding names of mail folders in Sieve filters 

Activities

francis

francis

2011-02-01 17:19

administrator   ~0002065

Fixed in revision 127d7e0f27ce8654d56f5744a2db77f6e533bf38.

wsourdeau

wsourdeau

2011-02-01 22:39

viewer   ~0002069

Last edited: 2011-02-01 22:43

That is wrong. Sieve filters must use UTF-8. It's the filtering daemon that should perform the proper conversion. Reference: rfc3028

ludovic

ludovic

2011-02-02 01:20

administrator   ~0002070

See this thread:

http://old.nabble.com/Sieve-UTF-8-fileinto-%28russian%29-td26807159.html

Cyrus requires folder to be in mUTF-7.
Dovecot requires folder to be in UTF-8.

Cyrus has an option:

sieve_utf8fileinto: 0

If enabled, the sieve engine expects folder names for the fileinto action in scripts to use UTF8 encoding. Otherwise, modified UTF7 encoding should be used.

francis

francis

2011-02-03 18:36

administrator   ~0002080

Good to know.

This Cyrus parameter has been introduced in version 2.3.13.

francis

francis

2011-02-03 18:52

administrator   ~0002081

Rolled back. No more support for Cyrus 2.2.x .. :/

Issue History

Date Modified Username Field Change
2011-01-31 20:04 francis New Issue
2011-02-01 17:19 francis Note Added: 0002065
2011-02-01 17:19 francis Status new => resolved
2011-02-01 17:19 francis Resolution open => fixed
2011-02-01 17:19 francis Assigned To => francis
2011-02-01 22:39 wsourdeau Note Added: 0002069
2011-02-01 22:43 wsourdeau Note Edited: 0002069
2011-02-02 01:20 ludovic Note Added: 0002070
2011-02-03 18:36 francis Note Added: 0002080
2011-02-03 18:52 francis Note Added: 0002081
2014-03-05 01:53 francis Relationship added has duplicate 0002622