[Dovecot] Subfolders of Inbox with LAYOUT=fs

Keith Edmunds kae at midnighthax.com
Mon Aug 5 14:48:35 EEST 2013


We've just converted to LAYOUT=fs. Some users had subfolders under Inbox,
and for those users some MUAs no longer show those folders.

The directory structure is that the cur, tmp and new folders are in the
'location' directory, but the subfolders are in
$location/INBOX/$foldername.

I am suspicious of this:

12 list "" INBOX
* LIST (\HasNoChildren) "/" "INBOX"
12 OK List completed.

I have tried moving the cur, tmp and new folders to $location/INBOX, and
changing 'location' in dovecot.conf, but the subfolders still do not show.

Question: is it legitimate to have subfolders of INBOX when using
LAYOUT=fs? If so, what am I missing?

Thanks,
Keith

Config:

# dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1 ext3
lda_mailbox_autocreate = yes
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_home = /home/%u
mail_location = maildir:/home/imapmail/%u:LAYOUT=fs
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 = yes location = maildir:/home/imapmail/%u:LAYOUT=fs
  prefix = 
  separator = /
  type = private
}
namespace {
  hidden = no
  list = children
  location =
maildir:/home/imapmail/public:INDEX=/home/imapmail/public.indexes/%u.index:LAYOUT=fs
prefix = public/ separator = /
  subscriptions = no
  type = public
}
passdb {
  driver = pam
}
plugin {
  acl = vfile
  acl_shared_dict = file:/home/imapmail/shared-mailboxes
  fts = squat
  home = /home/%u
  sieve = /home/sieve/%u.sieve
  sieve_dir = /home/sieve/%u
}
protocols = imap sieve
service auth {
  user = root
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl_cert = </etc/dovecot/TCL_IMAPS_server.crt
ssl_key = </etc/dovecot/TCL_IMAPS_server.key
userdb {
  args = uid=imapmail gid=imapmail
  driver = static
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_plugins = acl imap_acl fts fts_squat
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  mail_plugins = sieve
}


-- 
"You can't live a perfect day without doing something for someone 
who will never be able to repay you."


More information about the dovecot mailing list