[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 [0x80530df] -> dovecot/imap lehnertr 85.178.5.225 LSUB [0x8053537] -> dovecot/imap lehnertr 85.178.5.225 LSUB [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 [0x8056fa5] -> dovecot/imap lehnertr 85.178.5.225 LSUB [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@charite.de | http://www.charite.de
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)
- Timo Sirainen tss@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@charite.de | http://www.charite.de
- Ralf Hildebrandt Ralf.Hildebrandt@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
-- 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@charite.de | http://www.charite.de
Am 18. Februar 2012 19:49 schrieb Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
- Ralf Hildebrandt Ralf.Hildebrandt@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
- Chris xchris89x@googlemail.com:
Some stats:
# Name =================== 2 .Entw&-APw-rfe 9 .Entw&,,0-rfe 91 .Entw&APw-rfe
Use something like "Entwuerfe" and not "Entwürfe".
Haha. Tell that to my users. By default, everybody gets a "Drafts" folder anyway.
I'm not sure which program insists on creating "Entwü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@charite.de | http://www.charite.de
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ralf Hildebrandt said the following on 18/02/12 20:04:
I'm not sure which program insists on creating "Entwürfe"
Outlook? ;)
Ciao, luigi
/ +--[Luigi Rosa]-- \
It is apparent to me that the possibilities of the aeroplane, which two or three years ago were thought to hold the solution to the [flying machine] problem, have been exhausted, and that we must turn elsewhere. --Thomas Edison, 1895 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8/+EUACgkQ3kWu7Tfl6ZSbogCgvIReVrSzSLg8LhtyW6d4usqh vYUAn3Br/ACxznjJ9lH0yQ5lXwLPkWvJ =OMT5 -----END PGP SIGNATURE-----
I'm not sure which program insists on creating "Entwürfe"
Outlook? ;)
Isn't it always? I hate this shit.
-- 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@charite.de | http://www.charite.de
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ralf Hildebrandt said the following on 18/02/12 20:15:
I'm not sure which program insists on creating "Entwürfe"
Outlook? ;)
Isn't it always? I hate this shit.
Giulty by suspicion.
Ciao, luigi
/ +--[Luigi Rosa]-- \
Airplanes are interesting toys but of no military value. --Marechal Ferdinand Foch, Professor of Strategy, Ecole Superieure de Guerre, 1904 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8//zUACgkQ3kWu7Tfl6ZRZJgCgpZJr3p0D39ssa6glFlFnH4/X WjMAnRapaPUmf9szE1iC5YajT9/oDpXq =bmTJ -----END PGP SIGNATURE-----
2012/2/18 Luigi Rosa lists@luigirosa.com:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ralf Hildebrandt said the following on 18/02/12 20:04:
I'm not sure which program insists on creating "Entwürfe"
Outlook? ;)
Yes... M$ Outlook crap do this :)
-- Chris
Am 18.02.2012 19:59, schrieb Chris:
Use something like "Entwuerfe" and not "Entwürfe".
Come on ... software having problems with non-ASCII-stuff in 2012 is just broken by design. Hence there should be no reason to use 'ue' instead of ü anywhere.
- René
(P.S.: The intention of this mail was not to blame dovecot at all -- because at least until now, umlauts work exceptionally good here.)
-- Chris
2012/2/18 René Neumann lists@necoro.eu:
Am 18.02.2012 19:59, schrieb Chris:
Use something like "Entwuerfe" and not "Entwürfe".
Come on ... software having problems with non-ASCII-stuff in 2012 is just broken by design. Hence there should be no reason to use 'ue' instead of ü anywhere.
Dovecot has no problems with non-ASCII stuff.
The german language is broken by design ... ß ä ö ü... :-)
-- Chris
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�rfe
http://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).
- Timo Sirainen tss@iki.fi:
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�rfe
http://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).
I think that's very likely. I'll update later on. Thanks again.
-- 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@charite.de | http://www.charite.de
participants (5)
-
Chris
-
Luigi Rosa
-
Ralf Hildebrandt
-
René Neumann
-
Timo Sirainen