[Dovecot] Prayer, Maildir and Folders whose names begin with "."

Chris Wakelin c.d.wakelin at reading.ac.uk
Fri Mar 9 19:54:22 EET 2007



Timo Sirainen wrote:
> On Fri, 2007-03-09 at 17:35 +0000, Mike Brudenell wrote:
>> Q.  Can anyone confirm that you can't create Maildir folders called
>>      ".somename"?
> 
> Yep. If you want that, there's really no other way than to modify the
> sources for now. src/lib-storage/index/maildir/maildir-storage.h and
> change MAILDIR_FS_SEP and MAILDIR_FS_SEP_S to something else.
> 
> Then if you also want to hide the .Prayer mailbox.. Well, you could
> actually use ACL plugin and create a global ACL for ".Prayer" mailbox
> which gives owner all the rights except "l".

We don't use maildir so this hasn't been an issue for us. You can
configure the settings folder name within Prayer, of course, by editing
prayer.cf.

I actually wanted "dotfiles" to be allowed to be visible (i.e. decided
by the client), and at one time had a patch do allow this (when Dovecot
hid all dotfiles to prevent access to ".imap"). I guess you're worried
that a user will delete the folder? There are rare cases where access to
client configs stored in folders has been useful, e.g. things like
copying and pasting address books.

In any case, Timo's suggestion of a global ACL, together with renaming
the folder "prayer.config" or something sounds good!

Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list