Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Mon, 12 Dec 2011, Timo Sirainen wrote: > On Sat, 2011-12-10 at 15:10 +0100, Mike Constabel wrote: > > > OK, this should do it, hopefully without breaking anything: > > > http://hg.dovecot.org/dovecot-2.1/rev/ab696ead12cc > > > > > > > This works for me with a litte problem. > > > > > > If I create in TB folder like "moe" (without special chars) the > > folder will be created, subscribed and TB shows the folder > > instantly. > > > > But if I create a folder like "mö" (with special chars) the > > folder will be created, subscribed and *TB doesn't show the > > folder*. I must unsubscribe and subscribe it in TB to show it in > > folder pane. > > http://hg.dovecot.org/dovecot-2.1/rev/b9fcac239aed should fix it. > Yes, it works. Thanks. Mike
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Sat, 2011-12-10 at 15:10 +0100, Mike Constabel wrote: > > OK, this should do it, hopefully without breaking anything: > > http://hg.dovecot.org/dovecot-2.1/rev/ab696ead12cc > > > > This works for me with a litte problem. > > > If I create in TB folder like "moe" (without special chars) the > folder will be created, subscribed and TB shows the folder > instantly. > > But if I create a folder like "mö" (with special chars) the > folder will be created, subscribed and *TB doesn't show the > folder*. I must unsubscribe and subscribe it in TB to show it in > folder pane. http://hg.dovecot.org/dovecot-2.1/rev/b9fcac239aed should fix it.
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
Hi, Timo Sirainen schrieb am Saturday, den 10. December 2011: > On Thu, 2011-12-08 at 11:19 +0200, Timo Sirainen wrote: > > On Thu, 2011-12-08 at 09:55 +0100, Mike Constabel wrote: > > > > > As you see there is a second "-" in the name: > > > > > > "T&APw-r" != "T&-APw-r" > > > > Oh, right, it's broken in the "fs" layout. With "maildir++" layout it > > works. And looks like this isn't going to be an easy fix. The fs layout > > listing code is horrible.. Maybe I'll just try rewriting it. > > OK, this should do it, hopefully without breaking anything: > http://hg.dovecot.org/dovecot-2.1/rev/ab696ead12cc > This works for me with a litte problem. If I create in TB folder like "moe" (without special chars) the folder will be created, subscribed and TB shows the folder instantly. But if I create a folder like "mö" (with special chars) the folder will be created, subscribed and *TB doesn't show the folder*. I must unsubscribe and subscribe it in TB to show it in folder pane. Mike
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Thu, 2011-12-08 at 11:19 +0200, Timo Sirainen wrote: > On Thu, 2011-12-08 at 09:55 +0100, Mike Constabel wrote: > > > As you see there is a second "-" in the name: > > > > "T&APw-r" != "T&-APw-r" > > Oh, right, it's broken in the "fs" layout. With "maildir++" layout it > works. And looks like this isn't going to be an easy fix. The fs layout > listing code is horrible.. Maybe I'll just try rewriting it. OK, this should do it, hopefully without breaking anything: http://hg.dovecot.org/dovecot-2.1/rev/ab696ead12cc
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Thu, 2011-12-08 at 09:55 +0100, Mike Constabel wrote: > As you see there is a second "-" in the name: > > "T&APw-r" != "T&-APw-r" Oh, right, it's broken in the "fs" layout. With "maildir++" layout it works. And looks like this isn't going to be an easy fix. The fs layout listing code is horrible.. Maybe I'll just try rewriting it.
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
Hi, Timo Sirainen schrieb am Thursday, den 08. December 2011: > On Wed, 2011-12-07 at 18:05 +0100, Mike Constabel wrote: > > > if I try to crate a folder in Thunderbird 8 which contains > > umlauts this happens: > > > > - Create folder "Tür" > > - Thunderbird show T&APw-r in folder list > > I can't reproduce. Is it possible this is a TB bug? Try talking IMAP > protocol directly: > > /usr/local/libexec/dovecot/imap -u user@domain > a list "" T* > > If it lists: > > * LIST (\HasNoChildren) "." "T&APw-r" > > Then Dovecot is working correctly. I get: # /usr/lib/dovecot/imap -u te...@in-preetz.de Debug: Loading modules from directory: /usr/lib/dovecot/modules Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Debug: auth input: te...@in-preetz.de uid=1000 gid=1000 home=/mailspool1/in-preetz.de/test1 quota_rule=*:storage=500M Debug: Added userdb setting: plugin/quota_rule=*:storage=500M Debug: Effective uid=1000, gid=1000, home=/mailspool1/in-preetz.de/test1 Debug: quota: No quota setting - plugin disabled Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Debug: fs: root=/mailspool1/in-preetz.de/test1/mdbox, index=, control=, inbox=, alt= Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS FUZZY SPECIAL-USE QUOTA] Logged in as te...@in-preetz.de a list "" T* * LIST (\HasNoChildren) "/" "T&-APw-r" * LIST (\HasChildren) "/" "Trash" * LIST (\HasNoChildren) "/" "Trash/T&-APw-r" a OK List completed. As you see there is a second "-" in the name: "T&APw-r" != "T&-APw-r" With my old server: # telnet 192.168.10.102 143 Trying 192.168.10.102... Connected to 192.168.10.102. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready. A login aaa bbb A OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk QUOTA] Logged in a list "" T* * LIST (\HasNoChildren) "/" "Trash" * LIST (\HasNoChildren) "/" "Test-1" * LIST (\HasNoChildren) "/" "T&APw-r" a OK List completed. Mike
Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Wed, 2011-12-07 at 18:05 +0100, Mike Constabel wrote: > if I try to crate a folder in Thunderbird 8 which contains > umlauts this happens: > > - Create folder "Tür" > - Thunderbird show T&APw-r in folder list I can't reproduce. Is it possible this is a TB bug? Try talking IMAP protocol directly: /usr/local/libexec/dovecot/imap -u user@domain a list "" T* If it lists: * LIST (\HasNoChildren) "." "T&APw-r" Then Dovecot is working correctly. > drwx-- 3 vmail vmail 4,0K 7. Dez 17:45 T&APw-r This is correct. > On another server with > > # 2.0.13 (537d4b6d9a7a): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-5-686 i686 Debian 6.0.2 > > an an server with > > # 1.2.16: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 5.0.9 > > umlauts are working. It wouldn't be impossible for TB to be simply confused with this setup for some reason :)
[Dovecot] dovecot 2.1.rc1 and folders with umlauts
Hi, if I try to crate a folder in Thunderbird 8 which contains umlauts this happens: - Create folder "Tür" - Thunderbird show T&APw-r in folder list In log: Dec 07 17:45:39 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/T&APw-r doesn't exist yet, using default permissions Dec 07 17:45:39 imap(te...@in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 # ll /mailspool1/in-preetz.de/test1/mdbox/mailboxes/ insgesamt 32K drwx-- 8 vmail vmail 4,0K 7. Dez 17:45 . drwx-- 4 vmail vmail 4,0K 7. Dez 17:45 .. drwx-- 3 vmail vmail 4,0K 29. Nov 11:11 Drafts drwx-- 3 vmail vmail 4,0K 29. Nov 11:04 INBOX drwx-- 3 vmail vmail 4,0K 29. Nov 11:11 Junk drwx-- 3 vmail vmail 4,0K 29. Nov 11:11 Sent drwx-- 3 vmail vmail 4,0K 7. Dez 17:45 T&APw-r drwx-- 4 vmail vmail 4,0K 7. Dez 17:44 Trash If I click in TB on the folder, TB gives an empty message, the log shows: Dec 07 17:42:53 imap(te...@in-preetz.de): Debug: Effective uid=1000, gid=1000, home=/mailspool1/in-preetz.de/test1 Dec 07 17:42:53 imap(te...@in-preetz.de): Debug: quota: No quota setting - plugin disabled Dec 07 17:42:53 imap(te...@in-preetz.de): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Dec 07 17:42:53 imap(te...@in-preetz.de): Debug: fs: root=/mailspool1/in-preetz.de/test1/mdbox, index=, control=, inbox=, alt= Dec 07 17:42:53 imap(te...@in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 Dec 07 17:43:02 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/&ANY-de doesn't exist yet, using default permissions Dec 07 17:43:02 imap(te...@in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 Dec 07 17:44:19 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/&-ANY-de doesn't exist yet, using default permissions Dec 07 17:44:19 imap(te...@in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 Dec 07 17:44:19 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/Trash/&-ANY-de doesn't exist yet, using default permissions Dec 07 17:44:24 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/Trash/T&APw-r doesn't exist yet, using default permissions Dec 07 17:45:39 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/T&APw-r doesn't exist yet, using default permissions Dec 07 17:45:39 imap(te...@in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1 On another server with # 2.0.13 (537d4b6d9a7a): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-686 i686 Debian 6.0.2 an an server with # 1.2.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 5.0.9 umlauts are working. Is there an problem with my config or with the rc1? thanks, Mike dovecot -n for not working 2.1.rc1: # 2.1.rc1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 6.0.3 auth_cache_size = 1 M auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login cram-md5 auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot/dovecot-debug.log default_client_limit = 2600 disable_plaintext_auth = no hostname = mx4.constabel-it.de info_log_path = /var/log/dovecot/dovecot-info.log log_path = /var/log/dovecot/dovecot.log mail_debug = yes mail_location = mdbox:~/mdbox mail_plugins = quota notify mail_log mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = prefix = separator = / type = private } passdb { args = scheme=PLAIN username_format=%u /etc/imap.userdb driver = passwd-file } plugin { autocreate = Trash autocreate2 = Junk autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Sent autosubscribe4 = Drafts sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = postmaster@localhost protocols = " imap lmtp sieve pop3" service auth { inet_listener { address = 192.168.10.117 port = 12345 } } service imap-login { inet_listener imap { address = 192.168.10.117 port = 143 } inet_listener imaps { address = 192.168.10.117 port = 993 ssl = yes } } service lmtp { inet_listener lmtp { address = 192.168.10.117 port = 24 } } service managesieve-login { inet_list