[Dovecot] dovecot 2.1.rc1 and folders with umlauts

Mike Constabel listen at constabel.net
Wed Dec 7 19:05:05 EET 2011


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(test1 at 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(test1 at 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(test1 at in-preetz.de): Debug: Effective uid=1000, gid=1000, home=/mailspool1/in-preetz.de/test1
Dec 07 17:42:53 imap(test1 at in-preetz.de): Debug: quota: No quota setting - plugin disabled
Dec 07 17:42:53 imap(test1 at 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(test1 at in-preetz.de): Debug: fs: root=/mailspool1/in-preetz.de/test1/mdbox, index=, control=, inbox=, alt=
Dec 07 17:42:53 imap(test1 at in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1
Dec 07 17:43:02 imap(test1 at 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(test1 at in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1
Dec 07 17:44:19 imap(test1 at 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(test1 at in-preetz.de): Debug: Namespace : Using permissions from /mailspool1/in-preetz.de/test1/mdbox: mode=0700 gid=-1
Dec 07 17:44:19 imap(test1 at 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(test1 at 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(test1 at 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(test1 at 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 at 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_listener sieve {
    address = 192.168.10.117
    port = 4190
  }
}
service pop3-login {
  inet_listener pop3 {
    address = 192.168.10.117
    port = 110
  }
  inet_listener pop3s {
    address = 192.168.10.117
    port = 995
    ssl = yes
  }
}
ssl_ca = </etc/postfix/psw-ssl/ssl.ca-bundle
ssl_cert = </etc/postfix/psw-ssl/ssl.crt
ssl_key = </etc/postfix/psw-ssl/ssl.key
userdb {
  args = username_format=%Lu /etc/imap.userdb
  driver = passwd-file
}
protocol lda {
  mail_plugins = quota notify mail_log
}
protocol imap {
  imap_logout_format = bytes=%i/%o
  mail_plugins = quota notify mail_log imap_quota
}
protocol pop3 {
  mail_plugins = quota notify mail_log
}






dovecot -n for working 2.0.13:

# 2.0.13 (537d4b6d9a7a): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-686 i686 Debian 6.0.2 
auth_debug = yes
auth_mechanisms = plain login cram-md5
auth_verbose = yes
debug_log_path = /var/log/dovecot/dovecot-debug.log
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot/dovecot.log
mail_location = mdbox:~/mdbox
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 = yes
  location = 
  prefix = 
  separator = /
  type = private
}
passdb {
  args = /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
}
protocols = " imap lmtp sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = /etc/imap.userdb
  driver = passwd-file
}
protocol imap {
  mail_plugins = " autocreate"
}




More information about the dovecot mailing list