[Dovecot] problems with public (sub)folders

frederik.schmid at gmx.net frederik.schmid at gmx.net
Wed Mar 9 19:25:56 EET 2011


Hi,

i am trying to share a maildir++ mailbox to other users but i can only subscribe to the root directory. The subfolders of the public mailbox do not appear in the exported list.

Does anyone has an idea how i can share the subfolders too without creating symlinks for every single folder?

Best,
Frederik



>>>>> ls -lA /var/mail/public
.user01 -> /var/mail/user01/Maildir


>>>>> ls -A /var/mail/user01/Maildir/ (shortened)
.Drafts,.Templates,.Sent,.Trash,.Spam
new,cur,tmp
dovecot.*
.subfolder
.subfolder.test1
.subfolder.test1.xyz
.subfolder.test2
.subfolder.test3


>>>>> doveconf -n
# 2.0.11 (2cb0fb910441): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0 
auth_master_user_separator = *
auth_username_format = %Ln
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
first_valid_gid = 100
first_valid_uid = 1000
hostname = xxx
last_valid_gid = 50000
last_valid_uid = 50000
listen = *
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir
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
namespace {
  inbox = yes
  location = 
  prefix = 
  separator = .
  type = private
}
namespace {
  hidden = yes
  inbox = no
  list = no
  location = 
  prefix = INBOX.
  separator = .
  type = private
}
namespace {
  hidden = no
  inbox = no
  list = children
  location = maildir:/var/mail/public
  prefix = public.
  separator = .
  subscriptions = no
  type = public
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
  pass = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin/autocreate = Trash
plugin/autocreate2 = Spam
plugin/autocreate3 = Sent
plugin/autocreate4 = Drafts
plugin/autocreate5 = Templates
plugin/autocreate6 = Spam
plugin/autosubscribe = Trash
plugin/autosubscribe2 = Spam
plugin/autosubscribe3 = Sent
plugin/autosubscribe4 = Drafts
plugin/autosubscribe5 = Templates
plugin/autosubscribe6 = Spam
plugin/sieve = ~/.main.sieve
plugin/sieve_before = /etc/dovecot/sieve/move-spam.sieve
plugin/sieve_dir = ~/sieve
postmaster_address = postmaster at xxx
protocols = imap lmtp sieve
service anvil {
  client_limit = 2048
}
service imap-login {
  client_limit = 1024
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  process_limit = 1024
  process_min_avail = 16
}
service lmtp {
  inet_listener lmtp {
    address = *
    port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl = required
ssl_cert = </etc/dovecot/cert/xxx
ssl_key = </etc/dovecot/cert/xxx
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = " sieve"
}
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_max_userip_connections = 100
  mail_plugins = " autocreate"
}

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


More information about the dovecot mailing list