Displaying 20 results from an estimated 1000 matches similar to: "Shared Mailbox Questions"
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`),
 
2012 Jul 16
0
ACL with MySQL dict => full table scans
Hi!
I'm just installing ACL support on 2.1.6.
When a user changes these ACLs, this results in a full table scan on
the dictionary, that tells dovecot who shares with whom.
Here's what queries I see when I run
$ doveadm acl delete -u user1 shared/user2/folder user=user1
1: SELECT dummy,to_user,from_user FROM imap_acl_shares
2: SELECT dummy,from_user FROM imap_acl_anyone
3: BEGIN
4:
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
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
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.
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 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
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 
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 =
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
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 Oct 06
4
Significant performance problems
Hi all,
I'm sure my issues are a result of misconfiguration, but I'm hoping 
someone can point me in the right direction. I'm getting pressure to 
move us back to GroupWise, which I desperately want to avoid :-/
We're running dovecot 1.2.9 on Ubuntu 10.4 LTS+postfix. The server is a 
VM with 1 vCPU and 4GB of RAM. We serve about 10,000 users with anywhere 
from 500-1000 logged in
2014 Jun 04
0
R: Info about sharing mail folder
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 3 Jun 2014, Gianluca Calloni wrote:
> In folder /var/vmail/example.com/user_a i've a dovecot-acl file with "
> user=test at example.com lrwstipekxa "
>
> IN mysql table user_shares i set:
>
> +---------------------+------------------+-------+
> | from_user           | to_user          | dummy |
>
2014 Jun 03
3
R: Info about sharing mail folder
HI Steffen.
In folder /var/vmail/example.com/user_a i've a dovecot-acl file with "
user=test at example.com lrwstipekxa "
IN mysql table user_shares i set:
+---------------------+------------------+-------+
| from_user           | to_user          | dummy |
+---------------------+------------------+-------+
| user_a at example.com  | test at example.com | 1     |
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 
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
#