[Dovecot] Problems with acl and shared namespace [solved]

Udo Lembke udo.lembke at albertbauer.com
Wed Jul 6 17:22:44 EEST 2011


The problem with not reconiced acl-files are solved.

It's an bad idea to use a link from one shared/public area to another.

Am 05.07.2011 12:47, schrieb Udo Lembke:
>
> ...
> The public shared area are symlinked below the archiv-area:
> ls -lsa archiv/example.org/test4/
> insgesamt 16
> 4 drwx------ 3 dovecot dovecot 4096  5. Jul 11:40 .
> 4 drwx------ 3 dovecot dovecot 4096  5. Jul 11:27 ..
> 4 drwx------ 2 dovecot dovecot 4096  5. Jul 11:27 archiv
> 4 -rw------- 1 dovecot dovecot  108  5. Jul 11:40 dovecot-acl-list
> 0 lrwxrwxrwx 1 root    root      16  5. Jul 11:27 public -> 
> /var/data/public
>

After removing the link, the list command show the right result:
> The problem is, that the acls are not reconiced - the acl should 
> forbid an access, but access is possible.
>
> This show the telnet imap-session:
> . list "" "*"
> * LIST (\HasNoChildren) "/" "Drafts"
> * LIST (\HasNoChildren) "/" "Spam"
> * LIST (\HasNoChildren) "/" "Sent"
> * LIST (\HasNoChildren) "/" "Trash"
> * LIST (\HasNoChildren) "/" "INBOX"
> * LIST (\Noselect \HasChildren) "/" "public"
> * LIST (\Noselect \HasChildren) "/" "archiv/test4 at example.org"
> * LIST (\Noselect \HasChildren) "/" "archiv/test4 at example.org/public"
> * LIST (\Noselect \HasChildren) "/" 
> "archiv/test4 at example.org/public/kunde_2"
> * LIST (\HasNoChildren) "/" 
> "archiv/test4 at example.org/public/kunde_2/Kundenmails"
> * LIST (\Noselect \HasChildren) "/" 
> "archiv/test4 at example.org/public/kunde_3"
> * LIST (\HasNoChildren) "/" 
> "archiv/test4 at example.org/public/kunde_3/Kundenmails"
> * LIST (\Noselect \HasNoChildren) "/" "archiv/test4 at example.org/archiv"
> . OK List completed.

. list "" "*"
* LIST (\HasNoChildren) "/" "Drafts"
* LIST (\HasNoChildren) "/" "Spam"
* LIST (\HasNoChildren) "/" "Sent"
* LIST (\HasNoChildren) "/" "Trash"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "public"
* LIST (\Noselect \HasChildren) "/" "archiv/test4 at example.org"
* LIST (\Noselect \HasNoChildren) "/" "archiv/test4 at example.org/archiv"
. OK List completed.


Udo


More information about the dovecot mailing list