Re: Sieve: UTF-7 changes in 2.3.12p2?
Zitat von Rob Mueller <[EMAIL PROTECTED]>: > >> The mail is delivered to the INBOX (user.fri) >> The delivery is tried to user.fri.t&-APY-ster, NOT user.fri.t&APY-ster >> >> Any hints where the error occurs? > > Yes. > > Sieve scripts are in utf-8. You now have to use the true utf-8 name of the > folder in your sieve script, and it's automatically converted to the > modified utf-7 folder name internally. > > This change is noted in the changelog for 2.3.11 > > --- > The Sieve compiler now translates UTF-8 mailbox names used in fileinto to > modified UTF-7 so that messages will be successfully inserted into the > mailbox. > --- > > The old way of using the modified utf-7 form in the sieve script was really > wrong and hacky. > > Rob > > PS. It would be nice if http://cyrusimap.web.cmu.edu/imapd/changes.html was > kept up to date or removed... it's very old. Is this a bad joke or am I missing something? Sieve scripts of most non-English-speakers are intentionally broken due to a BC breaking change in a bugfix release version? Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve: UTF-7 changes in 2.3.12p2?
> Is this a bad joke or am I missing something? Sieve scripts of most > non-English-speakers are intentionally broken due to a BC breaking > change in a bugfix release version? I'm afraid you're not missing anything. It bit us as well :( Fortunately for us, there weren't that many people with non-english folder names with filter rules, but for other people, this could be a pretty nasty change. The change is actually the correct "fix", but dropping it in without any large "warning" in the changelog or release announcement is pretty rough. Fixing all the existing sieve scripts shouldn't be too hard though. A perl 1-liner could almost do it... perl -pi -e 'use Encode; use Encode::IMAPUTF7; s/\bfileinto\s+"([^"]*)"/$f=$1;from_to($f,"IMAP-UTF-7","utf-8");$f;/ge;' /path/to/sievescripts/* You'll need to recompile the script as well. Completely untested, but should get you on the way. Rob Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve: UTF-7 changes in 2.3.12p2?
>> Is this a bad joke or am I missing something? Sieve scripts of most >> non-English-speakers are intentionally broken due to a BC breaking >> change in a bugfix release version? > > I'm afraid you're not missing anything. It bit us as well :( > > Fortunately for us, there weren't that many people with non-english folder > names with filter rules, but for other people, this could be a pretty nasty > change. > > The change is actually the correct "fix", but dropping it in without any > large "warning" in the changelog or release announcement is pretty rough. > > Fixing all the existing sieve scripts shouldn't be too hard though. A perl > 1-liner could almost do it... But it needs to fix the tool generating the sieve scripts, too. Like Hordes's filter module. Jan, could you give a quick hint where to look for this? Frank -- E-Mail: [EMAIL PROTECTED] http://www.tu-chemnitz.de/~fri/ Work: Computing Services, Chemnitz University of Technology, Germany Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
server side archiving & grooming of mail stores
hi all, i'm looking for direction on how to move messages of a certain age from one mailbox to an archive mailbox. are there server side utilities to do this? many thanks charles Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html