[Dovecot] ACL enabled Public folder dovecot

Gregory Finch gfinch at ldmltd.ca
Fri Jun 17 19:25:39 EEST 2011


As per the top of http://wiki1.dovecot.org/ACL you need to set
mail_plugins in order to use acls, as acl support is via a plugin, not a
core piece of dovecot.

-Greg

On 2011-06-17 8:57 AM, kumar shantanu wrote:
> 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
>>
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110617/c697d464/attachment.bin>


More information about the dovecot mailing list