[Dovecot] LIST command -- quoting of folder names

Eric Abrahamsen eric at ericabrahamsen.net
Sun Jun 30 05:02:20 EEST 2013


If I open an imap connection to a local maildir installation like so:

/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/account/:LAYOUT=fs

And issue:

c list "" *

This is the result (this is a gmail account):

* LIST (\HasChildren) "/" [Gmail]
* LIST (\HasNoChildren) "/" [Gmail]/Spam
* LIST (\HasNoChildren) "/" [Gmail]/Starred
* LIST (\HasNoChildren) "/" [Gmail]/Trash
* LIST (\HasNoChildren) "/" [Gmail]/Drafts
* LIST (\HasNoChildren) "/" "[Gmail]/Sent Mail"
* LIST (\HasNoChildren) "/" [Gmail]/Important
* LIST (\HasNoChildren) "/" INBOX

Only "[Gmail]/Sent Mail" is quoted. This is messing up gnus, my MUA,
which truncates other folder names after the / separator.

Examples of testing I've seen online have shown all folder names quoted,
which would allow things to work correctly here. Is this something I can
affect with local configuration, or is there some other solution? Would
removing "LAYOUT=fs" affect this issue?

Thanks!
Eric

Output of dovecot -n:

# 2.2.4: /etc/dovecot/dovecot.conf
# OS: Linux 3.9.7-1-ARCH i686 Arch Linux 
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
protocols = imap



More information about the dovecot mailing list