Jürgen Obermann
2011-Sep-22 09:52 UTC
[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 at 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
Micah Anderson
2011-Oct-07 15:34 UTC
[Dovecot] doveadm mailbox list shows file system directories as mailboxes
J?rgen Obermann <Juergen.Obermann at 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/dovecotDid you perhaps do a 'doveadm mailbox subscribe' with a wildcard and the shell expanded it? micah
Timo Sirainen
2011-Oct-18 14:31 UTC
[Dovecot] doveadm mailbox list shows file system directories as mailboxes
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.