[Dovecot] ACL in public folders

Keith Edmunds kae at midnighthax.com
Fri Aug 28 18:28:52 EEST 2009


[Sorry, sent to Timo at first attempt]

> With older versions you'd have to
> put the dovecot-acl file to each maildir separately

Thanks, but it still isn't clear to me. I have (the same, hardlinked)
dovecot-acl file in lots of different places:

--------------------------------------------------------------------------------
# tree /home/pubfolders2/ -a
/home/pubfolders2/
|-- .info
|   |-- cur
|   |-- dovecot-acl
|   |-- dovecot-shared
|   |-- new
|   |   `-- 1251457688.H922394P13547.magenta.tiger-computing.wbp
|   `-- tmp
|-- Maildir
|   `-- dovecot-acl
`-- dovecot-acl
--------------------------------------------------------------------------------

There isn't a 'maildir' folder as such for the public folders (I created
the one shown above in desperation just to see if Dovecot would look
there). Here's the dovecot.conf:

--------------------------------------------------------------------------------
protocols = imap imaps
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
namespace private {
   separator = /
   prefix =
   inbox = yes
}
namespace public {
   separator = /
   prefix = shared2/
   location = maildir:/home/pubfolders2:INDEX=~/Maildir/public2
   subscriptions = no
   list = children
}
mail_privileged_group = mail
mail_access_groups = pubfolders2
protocol imap {
  mail_plugins = acl
}

protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol managesieve {
}
auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}
dict {
}
plugin {
  acl = vfile
}
--------------------------------------------------------------------------------

That isn't working, so exactly where should the dovecot-acl file go for it
to work?

Thanks,
Keith


More information about the dovecot mailing list