Closed brong closed 14 years ago
From: Larry Greenfield
Sieve scripts, and the sieve library (sieve_interface.h) deal with UTF-8 and UTF-8 only. lmtpd needs to translate from UTF-8 to mUTF7 when performing a fileinto so that users don't need to see the yuckiness that is mUTF7.
From: Larry Greenfield
adding Mark Keasling, who showed interest in fixing.
the method we discussed was to add a function call to mboxname.c to convert UTF-8 to mUTF7. it might also validate the mailbox name at that time.
From: Larry Greenfield
fixing summary
Attachment-Id: 111 From: Mark Keasling Type: text/plain File: lldiffs
Patch to convert sieve_fileinto() names from utf8 to utf7
Attachment-Id: 112 From: Mark Keasling Type: text/plain File: lldiffs
Patch to convert sieve_fileinto() names from utf8 to utf7
From: Larry Greenfield
(From update of attachment 112) two things: i don't understand when a caller would want to pass NULL as the first parameter to mboxname_utf8toutf7(); it looks like it'll inevitably return NULL in that case and no useful work will be performed.
From: Ken Murchison
Add code to do UTF-8 to mUTF-7 conversion at script compile time, rather than at execution time. Probably needs some further testing.
From: Larry Greenfield Bugzilla-Id: 1710 Version: 2.1.x Owner: Ken Murchison