Ralf Hildebrandt
2012-Feb-18 17:18 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
Today I encountered this after upgrading: Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfe Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x4104a) [0xb75cc04a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x410bb) [0xb75cc0bb] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb75cc9b7] -> dovecot/imap [lehnertr 85.178.5.225 LSUB]() [0x8052bac] -> dovecot/imap [lehnertr 85.178.5.225 LSUB](cmd_list_full+0x4af) [0x80530df] -> dovecot/imap [lehnertr 85.178.5.225 LSUB](cmd_lsub+0x17) [0x8053537] -> dovecot/imap [lehnertr 85.178.5.225 LSUB](command_exec+0x32) [0x8057c92] -> dovecot/imap [lehnertr 85.178.5.225 LSUB]() [0x8056c7d] -> dovecot/imap [lehnertr 85.178.5.225 LSUB]() [0x8056d95] -> dovecot/imap [lehnertr 85.178.5.225 LSUB](client_handle_input+0x135) [0x8056fa5] -> dovecot/imap [lehnertr 85.178.5.225 LSUB](client_input+0x60) [0x80578a0] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x44) [0xb75dafb4] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xce) [0xb75dbe5e] -> /usr/local/lib/dovecot/libdovecot.so.0 a) It should not PANIC (I think) b) How can I globally "fix" the folder names (preferably in such a way that I am able to switch back and forth between 2.0 and 2.1) -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
Timo Sirainen
2012-Feb-18 17:48 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
On 18.2.2012, at 19.18, Ralf Hildebrandt wrote:> Today I encountered this after upgrading: > > Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfe..> a) It should not PANIC (I think)Right.> b) How can I globally "fix" the folder names (preferably in such a way > that I am able to switch back and forth between 2.0 and 2.1)What does this look in filesystem? Is it not in mUTF-7? If the problem is in filesystem, rename it to mUTF7 (you can use doveadm mailbox mutf7)
Ralf Hildebrandt
2012-Feb-18 18:15 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
* Timo Sirainen <tss at iki.fi>:> On 18.2.2012, at 19.18, Ralf Hildebrandt wrote: > > > Today I encountered this after upgrading: > > > > Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfe > .. > > a) It should not PANIC (I think) > > Right. > > > b) How can I globally "fix" the folder names (preferably in such a way > > that I am able to switch back and forth between 2.0 and 2.1) > > What does this look in filesystem? Is it not in mUTF-7? If the problem > is in filesystem, rename it to mUTF7 (you can use doveadm mailbox > mutf7)# find /home -mindepth 5 -maxdepth 5 -type d -name .Entw* /home/h/o/hoffmanb/Maildir/.Entw&APw-rfe /home/h/d/hdaebrit/Maildir/.Entw&APw-rfe /home/h/e/hermel/Maildir/.Entw&APw-rfe /home/h/l/hlammert/Maildir/.Entw&APw-rfe ... /home/p/d/pdeindl/Maildir/.Entw&,,0-rfe /home/m/v/mviehweg/Maildir/.Entw&,,0-rfe /home/m/k/mkoehn/Maildir/.Entw&,,0-rfe -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
Ralf Hildebrandt
2012-Feb-18 18:49 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:> # find /home -mindepth 5 -maxdepth 5 -type d -name .Entw* > /home/h/o/hoffmanb/Maildir/.Entw&APw-rfe > /home/h/d/hdaebrit/Maildir/.Entw&APw-rfe > /home/h/e/hermel/Maildir/.Entw&APw-rfe > /home/h/l/hlammert/Maildir/.Entw&APw-rfe > ... > /home/p/d/pdeindl/Maildir/.Entw&,,0-rfe > /home/m/v/mviehweg/Maildir/.Entw&,,0-rfe > /home/m/k/mkoehn/Maildir/.Entw&,,0-rfeSome stats: # Name ================== 2 .Entw&-APw-rfe 9 .Entw&,,0-rfe 91 .Entw&APw-rfe -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
Chris
2012-Feb-18 18:59 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
Am 18. Februar 2012 19:49 schrieb Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:> * Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>: > >> # find /home -mindepth 5 -maxdepth 5 -type d -name .Entw* >> /home/h/o/hoffmanb/Maildir/.Entw&APw-rfe >> /home/h/d/hdaebrit/Maildir/.Entw&APw-rfe >> /home/h/e/hermel/Maildir/.Entw&APw-rfe >> /home/h/l/hlammert/Maildir/.Entw&APw-rfe >> ... >> /home/p/d/pdeindl/Maildir/.Entw&,,0-rfe >> /home/m/v/mviehweg/Maildir/.Entw&,,0-rfe >> /home/m/k/mkoehn/Maildir/.Entw&,,0-rfe > > Some stats: > > ? ? ?# ?Name > ? ?==================> ? ? ?2 .Entw&-APw-rfe > ? ? ?9 .Entw&,,0-rfe > ? ? 91 .Entw&APw-rfe >Use something like "Entwuerfe" and not "Entw?rfe". -- Chris
Timo Sirainen
2012-Feb-21 01:09 UTC
[Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
On 18.2.2012, at 19.18, Ralf Hildebrandt wrote:> Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfehttp://hg.dovecot.org/dovecot-2.1/rev/7d0d76df719f should fix this by removing the invalid entry from subscriptions file (probably broken client added it in some earlier Dovecot version that didn't disallow it).