[Dovecot] doveadm mailbox list shows file system directories as mailboxes
Hello.
In our dovecvot we use mbox format with the default filesystem layout.
Therefore it is not possible to have mailboxes which are subfolders of
other mailboxes containing messages.
The command "doveadm mailbox list" includes the file system
directories, that contain only subfolders, as normal mailboxes in the
output:
archiv archiv/daemon archiv/dovecot
Did I miss something in the dovecot configuration or is there a bug in
the command "doveadm mailbox list"?
# 2.0.13: /opt/local/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4v
auth_verbose = yes
disable_plaintext_auth = no
listen = imap.hrz.uni-giessen.de localhost
mail_fsync = always
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = mail_log notify
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
mmap_disable = yes
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
hidden = yes
list = no
location =
prefix = Mail/
separator = /
subscriptions = yes
type = private
}
Thanks, Jürgen
Hochschulrechenzentrum der | Mail: Juergen.Obermann@hrz.uni-giessen.de Justus-Liebig-Universitaet | WWW: http://www.uni-giessen.de/obermann/ Heinrich-Buff-Ring 44 | Tel: 0641-99-13054 (0641-99-13001) D-35392 Giessen, Germany | Fax: 0641-99-13009
Jürgen Obermann <Juergen.Obermann@hrz.uni-giessen.de> writes:
Hello. In our dovecvot we use mbox format with the default filesystem layout. Therefore it is not possible to have mailboxes which are subfolders of other mailboxes containing messages. The command "doveadm mailbox list" includes the file system directories, that contain only subfolders, as normal mailboxes in the output:
archiv archiv/daemon archiv/dovecot
Did you perhaps do a 'doveadm mailbox subscribe' with a wildcard and the shell expanded it?
micah
On Thu, 2011-09-22 at 11:52 +0200, Jürgen Obermann wrote:
Hello. In our dovecvot we use mbox format with the default filesystem layout. Therefore it is not possible to have mailboxes which are subfolders of
other mailboxes containing messages. The command "doveadm mailbox list" includes the file system
directories, that contain only subfolders, as normal mailboxes in the
output:archiv archiv/daemon archiv/dovecot
Did I miss something in the dovecot configuration or is there a bug in
the command "doveadm mailbox list"?
It's more like a feature.. For example if there exists "archiv" directory without children, I don't think it should be invisible in the list. Maybe there could be a new parameter to hide \Noselect mailboxes.
participants (3)
-
Jürgen Obermann
-
Micah Anderson
-
Timo Sirainen