[Dovecot] Sub-Subfolder from public folders

Torsten Harenberg harenberg at physik.uni-wuppertal.de
Fri Jun 10 12:04:16 EEST 2011


Dear all,

I just moved from an old cyrus instance to a brand new dovecot installation. Everything worked pretty well so far.

The only small problem I have is:

we have public folders, so I defined 

namespace {
  type = public
  separator = .
  prefix = public.
  location = maildir:/var/mail/public:INDEX=%u/public
  subscriptions = no
  list = children
}

And I define ACLs for the folders inside.

This works, but the some of these folders have sub-folders and these cannot be seen by (what I have tested is Apple Mail, Thunderbird, Outlook and squirrelmail).

File system looks like this:

mail# cd /var/mail/public/.icecube-c                      
mail# ls -l .ice*
.icecube-hard:
total 232
drwxrwxrwx  2 root  wheel     512 Jun  9 13:07 cur
-rwxrwxrwx  1 root  wheel     167 Jun  9 13:07 dovecot-keywords
-rwxrwxrwx  1 root  wheel  105179 Jun  9 13:07 dovecot-uidlist
drwxrwxrwx  2 root  wheel  123904 Jun  9 13:07 new
drwxrwxrwx  2 root  wheel     512 Jun  9 13:07 tmp

.icecube-soft:
total 2214
drwxrwxrwx  2 root  wheel      512 Jun  9 13:06 cur
-rwxrwxrwx  1 root  wheel      167 Jun  9 13:07 dovecot-keywords
-rwxrwxrwx  1 root  wheel  1019250 Jun  9 13:07 dovecot-uidlist
-rwxrwxrwx  1 root  wheel        0 Jun  9 13:06 maildirfolder
drwxrwxrwx  2 root  wheel  1195008 Jun  9 13:07 new
drwxrwxrwx  2 root  wheel      512 Jun  9 13:07 tmp
mail# ls 
.icecube-hard    .icecube-soft    cur              dovecot-acl      dovecot-keywords dovecot-uidlist  new              subscriptions    tmp

Maybe anybody can help with this?

Full dovecot -n attached.

Thanks again and best regards,

   Torsten


--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg at physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><> 


mail# dovecot  -n                                                              
# 2.0.13: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.1 amd64  ffs
auth_debug = yes
auth_verbose = yes
base_dir = /var/run/dovecot/
mail_debug = yes
mail_gid = 6
mail_location = maildir:/var/mail/user/%u/Maildir
mail_plugins = acl
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 {
  list = children
  location = maildir:/var/mail/public:INDEX=%u/public
  prefix = public.
  separator = .
  subscriptions = no
  type = public
}
passdb {
  args = /usr/pkg/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = dovecot
    user = dovecot
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
ssl_cert = </etc/certificates/mail.physik.uni-wuppertal.de.crt
ssl_key = </etc/certificates/mail.physik.uni-wuppertal.de.key
userdb {
  args = /usr/pkg/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = sieve
}
protocol lda {
  mail_plugins = sieve
}
protocol imap {
  mail_plugins = acl imap_acl
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
}



More information about the dovecot mailing list