[Dovecot] dovecot-acl file location in rc18
Hi,
I'm trying to use ACL with dovecot rc18 but I don't understand where to store per-mailbox dovecot-acl file.
In dovecot.conf I have
mail_location = maildir:/var/vmail/%u/
and I do not use namespaces.
I have some "testuser" maildir with subdir ".test". When I put dovecot-acl file to the .test directory I get this error in my log file:
Error: IMAP(testuser): /var/vmail/testuser/.test/dovecot-acl is no longer kept in control directory, move it to the actual maildir (/var/vmail/testuser/.test) Error: child 28143 (imap) returned error 89
This error tells me to move dovecot-acl file from control dir to mail directory but these are the same for me (and I think it's Dovecot default for maildir). Where I should store per-mailbox dovecot-acl file in this case?
Regards,
Radek Zavicak
On Tue, 2007-01-23 at 12:26 +0100, Radek Zavicak wrote:
Error: IMAP(testuser): /var/vmail/testuser/.test/dovecot-acl is no longer kept in control directory, move it to the actual maildir (/var/vmail/testuser/.test)
Oh, great, I forgot to add a check to see if control_dir was different from maildir. Fixed: http://dovecot.org/list/dovecot-cvs/2007-January/007502.html
Guess I should release rc19 to fix this.
Hey Timo,
It's not *quite* fixed. I just did a test with rc19:
dovecot: Jan 24 13:16:18 Error: IMAP(ghuntress): /home/ghuntress/
Mailarchive/./dovecot-acl is no longer kept in control directory,
move it to the actual maildir (/home/ghuntress/Mailarchive)
The catch is that Mailarchive/ and Mailarchive/./ are technically the
same directory, and a separate control directory is not defined!
namespace private { separator = / prefix = CIW Archived/ location = maildir:%h/Mailarchive }
Would you recommend adding a / at the end of the location definition?
(note, the example in the config file does not have a trailing / )
-Garret
P.S. I reverted to rc17 for the time being.
On Jan 23, 2007, at 6:41 AM, Timo Sirainen wrote:
On Tue, 2007-01-23 at 12:26 +0100, Radek Zavicak wrote:
Error: IMAP(testuser): /var/vmail/testuser/.test/dovecot-acl is no longer kept in control directory, move it to the actual maildir (/var/vmail/testuser/.test)
Oh, great, I forgot to add a check to see if control_dir was different from maildir. Fixed: http://dovecot.org/list/dovecot-cvs/2007-January/007502.html
Guess I should release rc19 to fix this.
-- Garret W. Huntress System Administrator / System Developer
Geophysical Laboratory Carnegie Institution of Washington 5251 Broad Branch Road, NW Washington, DC 20015
Email: ghuntress@ciw.edu Phone: (202)-478-8973 AIM: Garret Huntress

On Wed, 2007-01-24 at 13:38 -0500, Garret Huntress wrote:
Hey Timo,
It's not *quite* fixed. I just did a test with rc19:
dovecot: Jan 24 13:16:18 Error: IMAP(ghuntress): /home/ghuntress/Mailarchive/./dovecot-acl is no longer kept in control directory, move it to the actual maildir (/home/ghuntress/Mailarchive)
The catch is that Mailarchive/ and Mailarchive/./ are technically the same directory, and a separate control directory is not defined!
Well, this fixes it:
http://dovecot.org/list/dovecot-cvs/2007-January/007522.html
You can also work around it by defining the controldir to the same maildir:
location = maildir:%h/Mailarchive:CONTROL=%h/Mailarchive
participants (3)
-
Garret Huntress
-
Radek Zavicak
-
Timo Sirainen