[Dovecot] 'r' flag in ACL stomping on 'l' flag effect

Phil Edwards pedwards at precisionfc.com
Tue Sep 11 20:24:47 EEST 2007


Thank you for the fast reply!  I'm a novice when it comes to IMAP.


Timo Sirainen wrote:
 > On 11.9.2007, at 0.54, Phil Edwards wrote:
 >
 >> 2 list "" *
 >> * LIST (\Noselect \HasChildren) "." "Testing/"
 >> * LIST (\HasNoChildren) "." "Testing/TestTwo"
 >> * LIST (\HasNoChildren) "." "Testing/TestOne"
 >> 2 OK List completed.
 >> 3 subscribe "Testing/TestTwo"
 >> 3 NO Permission denied
 >
 > This isn't about ACL, this is because your hieraracy separator is "."
 > and "/" isn't then allowed in mailbox names. I've no idea how you've
 > managed to create mailboxes with "/" in them in the first place, or how
 > LIST is showing them. Any ideas? :)

They weren't created over IMAP; I couldn't get Dovecot+Thunderbird to
see the public area until I had created mailboxes by hand.  (That
restriction may be by design, and seems perfectly reasonable to me, so
I'm not complaining.)

The bits in the dovecot conf file are:

namespace shared {
    prefix = Testing/
    location = maildir:/......./Maildir
}

and in that Maildir are:
# ls -lFa
total 20
drwxr-s---  4 ... 4096 Sep 10 17:04 ./
drwxr-xr-t  4 ... 4096 Aug 24 16:20 ../
drwxrws---  5 ... 4096 Sep 10 18:04 .TestOne/
drwxrws---  5 ... 4096 Sep 10 17:16 .TestTwo/
-rw-rw----  1 ...    0 Aug 24 16:21 dovecot-shared
-rw-r--r--  1 ...   16 Sep 10 18:02 subscriptions
#

and 'subscriptions' consists of:
TestOne
TestTwo


 From what you've just said, I'm guessing that I need to go back and
add a 'separator=???' assignment to both the private and public
namespace blocks in the dovecot conf file.  Currently they're all just
using whatever the default is ("depends on the underlying mail storage
format", apparently a "." but it's a pain finding an authoritative
description).  I've been hesitant to change that from the default,
because I can find so little documentation on how those changes appear
to client software.


-- 
Phil Edwards




More information about the dovecot mailing list