Displaying 4 results from an estimated 4 matches for "shared_dict".
2009 Apr 07
2
Is there any more detailed docs about dict configuration
Hi,
I am looking for some help on dict configration. I'm trying to config
shared and public mailbox, and use sql as acl backend.
Here is my config:
table:
CREATE TABLE `shared_dict` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`from_user` char(50) NOT NULL,
`to_user` char(50) NOT NULL,
`status` int(10) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `from_user` (`from_user`),
KEY `to_user` (`to_user`)
)
dovecot-dict-sql.conf
map {
pattern = shared/shared-...
2006 Oct 24
4
Shared folders plans for the future
...ly perhaps this could
be made another lib-dict backend..
c) Brute force: Just assume everyone potentially have shared mailboxes.
Get the list of users by readdir()ing through /home (configurable).
I guess each of these could be made an option.. So something like:
namespace shared {
..
# a)
shared_dict = db:/var/lib/dovecot/shared-mailboxes.db
# b)
shared_dict = dir:/var/lib/dovecot/shared-mailboxes
# c)
shared_dict = bruteforce:/home
}
I'm currently also implementing a "mailbox list index", which contains a
list of all the user's mailboxes and some useful metadata for...
2015 Oct 29
2
Acl sql dict error, dict crashes
Hi,
I configured shared mailboxes and get an error when i use SQL as the
acl_shared_dict. It works when i use a file instead. With SQL as the
shared_dict, dict crashes.
I have enabled sql query logs on the mariadb server, the table
user_shares and anyone_shares are queried but there is no insert to the
empty tables.
The dovecot-acl files are created in the mailbox when i add an ac...
2015 Oct 29
0
Acl sql dict error, dict crashes
On 29 Oct 2015, at 12:15, Christian Kivalo <ml+dovecot at valo.at> wrote:
>
> Hi,
>
> I configured shared mailboxes and get an error when i use SQL as the acl_shared_dict. It works when i use a file instead. With SQL as the shared_dict, dict crashes.
>
> Oct 29 10:12:13 uschi dovecot: dict(27421): Panic: file dict-sql.c: line 670 (sql_dict_iterate): assertion failed: ((ctx->flags & DICT_ITERATE_FLAG_ASYNC) != 0)
http://hg.dovecot.org/dovecot-2.2/rev/4...