[Dovecot] ACL enabled Public folder dovecot

kumar shantanu
Fri, 17 Jun 2011 15:57:45 -0000

Hi Gregory,

this is the output from dovecot -n

# 1.1.20: /etc/dovecot.conf
# OS: Linux 2.6.18-194.32.1.el5 i686 CentOS release 5.5 (Final) ext3
base_dir: /var/run/dovecot/
protocols: imap imaps
listen: *:143
ssl_listen: *:943
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_greeting: READY.
login_processes_count: 2
mail_location: maildir:/mail/%d/%n/Maildir
mail_debug: yes
namespace:
  type: public
  separator: /
  prefix: Public/
  location: maildir:/var/mail/public
  list: yes
namespace:
  type: private
  separator: /
  location: maildir:/mail/%d/%n/Maildir
  inbox: yes
  list: yes
  subscriptions: yes
lda:
  postmaster_address: postmaster at example.com
auth default:
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  userdb:
    driver: passwd
  userdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
plugin:
  acl: vfile


Thanks
Shantanu

On Fri, Jun 17, 2011 at 9:24 PM, Gregory Finch <gfinch at ldmltd.ca>
wrote:

> On 2011-06-17 8:29 AM, kumar shantanu wrote:
> > Hi All,
> >
> > I am trying to do ACL enabled Public folder on dovecot version 1.1.20,
> but
> > the ACL thing is not working, the public folder is visible and
accessible
> to
> > everyone.
> >
> >
> >  My dovecot config for public folder is like
> >
> > ########
> > namespace public {
> >   separator = /
> >   prefix = Public/
> >   location = maildir:/var/mail/public
> >   subscriptions = no
> > }
> > plugin {
> >    acl = vfile
> > }
> > #########
> >
> > and I have my dovecot-acl file in /var/mail/public/.test which reads
> > **
> > user=test at mydomain.com    lrw
> > **
> > but every user can see the public folders and subscribe to it, which I
> don't
> > want :(
> >
> > Can someone please suggest.
> >
> >
> > Thanks in Advance,
> > Shantanu
> >
> suggestion #1: post the output of dovecot -n
>
> -Greg
>
>