michael at euroinfissi.eu
2009-Nov-14 14:22 UTC
[Dovecot] IMAP folders' codepages problem ?
Hi! I probably have a problem with the imap folders codepages. I use polish email clients such as MS Outlook and Windows Mail. The clients try to create folders like Wiadomo?ci-?mieci but Dovecot creates Wiadomo&AVs-ci-&AVs-mieci This happens on two different dovecot installations 1: Installation A # 1.2.6: /etc/dovecot.conf # OS: Linux 2.6.30.9-96.fc11.x86_64 x86_64 Fedora release 11 (Leonidas) info_log_path: /var/log/maillog protocols: imaps ssl_listen: * ssl: required ssl_cert_file: /etc/pki/certs/dovecot/dovecot.pem ssl_key_file: /etc/pki/certs/dovecot/dovecot_key.pem ssl_cipher_list: ALL:!ADH!LOW:!SSLv2:!EXP:+HIGH:+MEDIUM disable_plaintext_auth: yes verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_privileged_group: dovecot_mail mail_debug: yes mail_plugins: autocreate quota imap_quota expire lda: postmaster_address: root at localhost auth default: passdb: driver: sql args: /etc/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot-sql.conf plugin: autocreate: Trash autosubscribe: Trash quota: dict:user::proxy::quota quota_rule: *:storage=1048576 quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80 expire: Trash 7 INBOX 365 expire_dict: proxy::expire dict: quota: mysql:/etc/dovecot-dict-quota.conf expire: mysql:/etc/dovecot-dict-expire.conf 2: Installation B # 1.1.19: /usr/local/dovecot/etc/dovecot.conf # OS: Linux 2.6.22.14-72.fc6 x86_64 Fedora Core release 6 (Zod) base_dir: /usr/local/dovecot/var/run/dovecot/ log_path: /usr/local/dovecot/var/log/dovecot_log info_log_path: /usr/local/dovecot/var/log/dovecot_log protocols: imaps ssl_cert_file: /usr/local/ssl/certs/dovecot/certificate_04102009.crt ssl_key_file: /usr/local/ssl/certs/dovecot/privateKey_04102009.key ssl_cipher_list: ALL:!ADH!LOW:!SSLv2:!EXP:+HIGH:+MEDIUM verbose_ssl: yes login_dir: /usr/local/dovecot/var/run/dovecot/login login_executable: /usr/local/dovecot/libexec/dovecot/imap-login login_user: dovecot_login mail_privileged_group: dovecot_mail mail_plugins: expire quota imap_quota trash lda: postmaster_address: root at localhost hostname: filemon mail_plugins: expire quota mail_plugin_dir: /usr/local/dovecot/lib/dovecot/lda sendmail_path: /usr/sbin/sendmail auth_socket_path: /usr/local/dovecot/var/run/dovecot/auth-master auth default: mechanisms: plain login debug: yes passdb: driver: passwd-file args: /usr/local/dovecot/etc/passwd.dovecot userdb: driver: passwd-file args: /usr/local/dovecot/etc/passwd.dovecot socket: type: listen master: path: /usr/local/dovecot/var/run/dovecot/auth-master mode: 384 user: mail plugin: quota: dict:user::proxy::quotadict quota_rule: *:storage=5G:messages=2000 quota_rule2: Trash:storage=1G:messages=1000 quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80 trash: /usr/local/dovecot/etc/dovecot-trash.conf expire: Trash 7 Spam 7 INBOX 180 Sent 180 auth_socket_path: /usr/local/dovecot/var/run/dovecot/auth-master expire_dict: proxy::expire dict: quotadict: mysql:/usr/local/dovecot/etc/dovecot-dict-quota.conf expire: mysql:/usr/local/dovecot/etc/dovecot-dict-expire.conf Please help :-) What should I do to have the right codes for the folder names? Best regards Michael Lattari
On Sat, Nov 14, 2009 at 03:22:58PM +0100, michael at euroinfissi.eu wrote:> Hi! > > I probably have a problem with the imap folders codepages. I use polish > email clients such as MS Outlook and Windows Mail. The clients try to > create folders > > like Wiadomo?ci-?mieci but Dovecot creates Wiadomo&AVs-ci-&AVs-mieciNo, this is exactly what the client passes to Dovecot. The IMAP standard allows only plain ASCII in foldernames and therefor uses a modified UTF-7 encoding for non-ASCII characters. See section 5.1.3 of RFC 3501. Geert -- Geert Hendrickx -=- ghen at telenet.be -=- PGP: 0xC4BB9E9F This e-mail was composed using 100% recycled spam messages!