Dear Andre, Ah ok. Didn't know that. Let me try it. Thanks! Kevin
On Fri, Feb 13, 2015 at 4:03 PM, André Peters <andre.peters@debinux.de> wrote:
Hi Kevin, You don't put anything into it by yourself. This file only helps Dovecot to lookup shares to prevent iterating through every users mailbox. When you create a share, Dovecot places a plain-text entry inside this file. When a user logs in, Dovecot asks its acl "database" in whose mail directory it should look for a share.
An entry could look like this: shared/shared-boxes/user/shared-for-user@domain.tld/shared-by@domain.tld
You don't have to put a .db ending to that file. You could name it shares.txt, too. Important: "file:".
André
Am 13.02.2015 um 08:47 schrieb Kevin Laurie:
Dear Andre,
Thanks for yr reply. What do i include in the file shared-mailboxes.db ? As in the input. Is it really plain text ? So for example i write into the file shared-mailbox.db :- shared@domain.net shared2@domain.net etc...
Is it like that or what kind of syntax needs to be used?
On Fri, Feb 13, 2015 at 12:45 PM, André Peters <andre.peters@debinux.de> wrote:
Hi,
that looks correct. I am not sure if this was necessary, but I "touched" the file before starting Dovecot... You also need to have the correct permissions set.
André
Am 13.02.2015 um 04:59 schrieb Kevin Laurie:
Hello,
I need help. i am trying to configure shared in boxes. I need to create a dictionary for shared inbox. how does 1 write shared-mailboxes.db dictionary? any example for the syntax/config? thanks kevin
Below is part of the config i am trying to achieve:-
plugin { acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db }