Displaying 20 results from an estimated 4000 matches similar to: "ACL with MySQL dict => full table scans"
2012 Aug 29
1
ACL MySQL dict: to_user==from_user entries
Hi!
We run dovecot 2.1.6 with ACL support and MySQL dict for
shared/shared-boxes/user/$to/$from.
When a user does a SETACL (via IMAP) to himself he is added as $to and
$from to the MySQL dict. Se for example this IMAP conversation:
5 GETACL INBOX
* ACL "INBOX" "user at domain" lrwstipekxacd
5 OK Getacl completed.
6 SETACL INBOX user at domain lrwstipekxacd
6 OK Setacl
2013 Jan 24
0
Again ACL Postgres dict trouble, no update and raw backtrace
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have ACL-dict-postgres trouble again. Eventually a session does not
update the ACL dictionary no longer.
I execute (for testing) this script:
for a in $(seq 1 ${1-4}); do
echo 3-$a deleteAcl Junk dvtest1
sleep 30
echo 3-$a SetAcl Junk dvtest1 kxilrsc
sleep 30
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`),
2009 Jun 25
2
Dovecot v1.2rc6 dict-server socket path problem & pgsql crash
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I find this in the logs:
2009-06-25 14:10:37 IMAP(dvtest) [29566]: Error:
net_connect_unix(/usr/local/dovecot-1.2.rc6acl-hook2/var/run/dovecot/dict-server)
failed: Permission denied
2009-06-25 14:10:37 IMAP(dvtest) [29566]: Error: acl: dict iteration
failed, can't update dict
although base_dir is just /var/run/dovecot/ .
Dovecot v1.2
2012 Jun 24
2
dict Panic after upgrade to 2.1.7
Hello,
after upgrade my mailsystem to dovecot version 2.1.7, dovecot doesn't work
properly. something went wrong in dict service connecting the postgres
backend. that happens not on every connection. the db connection data are
correct, no difference connecting via tcp or linux socket.
dovecot log entries:
Jun 23 23:19:10 mx dovecot: dict: Panic: file driver-pgsql.c: line 84
2010 Sep 06
2
need help with shared mailboxes
I have some problems with setting shared mailboxes . I use dovecot
1.2.11 with following namespaces :
mail_location: maildir:~
namespace:
type: private
separator: .
inbox: yes
list: yes
subscriptions: yes
namespace:
type: private
separator: .
prefix: INBOX.
hidden: yes
list: no
subscriptions: yes
namespace:
type: shared
separator: .
prefix: shared.%%n.
2018 Apr 07
0
sharing a folder with all users in a domain
Hello,
I'm wanting to make a shared folder that anyone in a domain can get
to, but not anyone in any other domain.
Here's my dovecot shared namespace:
namespace {
type = shared
separator = /
prefix = shared/%%u/
location = maildir:%%h:INDEX=~/shared/%%u
subscriptions = no
list = yes
}
The dovecot-dict-sql.conf.ext file has:
map {
pattern =
2009 Aug 07
2
Listing shared mailboxes with a domainpart
Hy!
I am currently configuring a new mailserver using postfix and dovecot
1.2.1. The filesystem strucutre in my spool directory is
user1/
user2/
domain/info/
domain/office/
user1 and unser2 are ordinary users mailboxes, the latter two contain
the virtual mailboxes for info at domain and office at domain as created by
postfix. I want these virtual mailboxes (all of them are in maildir
format) to
2010 Jun 10
1
Shared Mailbox Questions
Hi All,
I've pored over the wiki, read through the archive, and have what I believe should be a working set-up, but I can't seem to get my shared namespace to work correctly. Any guidance would be much appreciated.
I started off using a flat file for acl_shared_dict and ran into the same problem recently reported with the shared-database file getting chown'd to the first user to
2015 Jul 24
0
possible patch for ACL SQL ERROR: duplicate key value violates unique constraint "user_shares_pkey"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm using Postgres as dict backend now and then I get this error, when
someone changed ACLs, actually for some reason some users, who get
permission from other users, get this error quite often:
dict: Error: sql dict: commit failed:
ERROR: duplicate key value violates unique constraint "user_shares_pkey"
(query: INSERT INTO
2017 Apr 29
0
configuration sanity check
Hello,
Can I get a sanity check on this configuration? It's a database setup
of Dovecot 2.2 with Postfix.
I'm having issues and i'd like to know if there's anything glaringly
wrong with my configuration?
With the password hash situation, should I go with SHA512,
SHA512-CRYPT or the SSHA512-CRYPT?
Thanks.
Dave.
# 2.2.29.1 (e0b76e3): /usr/local/etc/dovecot/dovecot.conf
#
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 acl with
2014 Nov 26
0
Shared mailboxes using SQL
I recently tried to change from the simple file to a SQL dictionary for
ACL. While the Wiki instructions seemed fairly clear I was having
errors. After some further digging, and a little thinking - I read the
errors and tried to infer what was happening.
I have some IMAP groups configured for sharing. And I guessed the
example dictionary didn't allow for them. Looking at my existing
2020 Apr 15
0
How to specify pattern for share folder using ACL vfile
My `90-acl.conf` file looks like:
plugin {
#acl = vfile:/etc/dovecot/global-acls:cache_secs=300
#acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
acl = vfile
}
# To let users LIST mailboxes shared by other users, Dovecot needs a
# shared mailbox dictionary. For example:
plugin {
#acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
2010 Jun 17
1
Shared mailboxes errors
Hello list,
I'm implementing shared mailboxes on live system and after enabling acl plugin I got errors in my log:
Jun 17 15:50:33 dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/
I have no clue why this happening, users don't know about new functionality they just use imap as before. Also dict database begin to fill up by records like:
select * from
2018 Mar 28
1
Dovecot quota
Hello,
I'm running Dovecot on a FreeBSD system with Postfix in a virtual user
setup, with Mysql. I am trying to understand the quota configuration.
I've got a Mysql database with an accounts table with a quota field.
I've also got two other tables one quota (currently has nothing in it
an empty set), and quota2 messages and bytes which has one entry. My
goal is to have different
2009 Oct 06
1
Debugging IMAP ACLs
Hello,
I upgraded my server to 1.2.4 and now I'm trying to implement ACL support to
use with Bynari Insight Connector. Starting out with the wiki page on shared
namespaces from http://wiki.dovecot.org/SharedMailboxes/Shared I tried to
implement shared mailbox support so that my customers can enjoy more
exhange-like qualities with outlook.
However I am not sure if the ACLs or Shared
2010 Jan 12
1
expire plugin doesn't find mail location
Hi!
After searching for hours now, I give up and have to ask here. I try
to use the expire plugin but it always tries to expire my mails
instead of the mails of the user.
I read about the "Mail location setting problem (v1.1-v1.2) and
configured a "mail" extra field in the userdb, but that doesn't have
the effect I want.
I have not idea, what I could try out more, so I ask
2010 Oct 06
1
Shared folder again !
Hello all,
First of all sorry for this, it has been discussed many times, but i can
not make it work.
I tried for a long time now.
I do something wrong, but i do not know what.
First of all, i have virtual users, with virtual domains.
Mail is stored in /usr/local/virtual/domain name/user
So if my domain is domain.com and my e-mail address is johan at domain.com
the directory is
2010 Oct 11
2
Shared folders, please help.!
Hello all,
First of all sorry for this, it has been discussed many times, but i can
not make it work.
I tried for a long time now.
I do something wrong, but i do not know what.
First of all, i have virtual users, with virtual domains.
Mail is stored in /usr/local/virtual/domain name/user
So if my domain is domain.com and my e-mail address is johan at domain.com
the directory is