Displaying 14 results from an estimated 14 matches for "anyone_shar".
Did you mean:
anyone_shares
2013 Jan 24
0
Again ACL Postgres dict trouble, no update and raw backtrace
...FAULT '1', -- always '1' currently
# primary key (from_user, to_user)
# );
# COMMENT ON TABLE user_shares IS 'User from_user shares folders to user to_user.';
#
# CREATE INDEX to_user
# ON user_shares (to_user); -- because we always search for to_user
#
# CREATE TABLE anyone_shares (
# from_user varchar(100) not null,
# dummy char(1) DEFAULT '1', -- always '1' currently
# primary key (from_user)
# );
# COMMENT ON TABLE anyone_shares IS 'User from_user shares folders to anyone.';
map {
pattern = shared/shared-boxes/user/$to/$from
table...
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
doveadm acl add ...
doveadm acl debug shows an error:
doveadm acl debug -u my at example.net shared/other at example.net/INBOX
doveadm(my at example.net): Info: Mai...
2013 Feb 20
1
Connection leak in sqlpool for ACL Dict Postgres in v2.1.15 (14907:b96df105ec55) and v2.2.beta1 (15857:07dfd4391d22)
...en "H2\t0\t0\t\tacl\nI1\tshared/shared-boxes/\n"
sleep 1
) | socat - unix:/var/run/dovecot2.2/dict
done
I interprete H2-I1..-bang.log.gz (logged with v2.1) so, that each time
the ACL dict is iterated, driver_sqlpool_query_s() is executed two
times, once for user_shares and once for anyone_shares. I guess that
the user_shares one is never finished, so that the sqlpool keeps
that slot in "busy" state until timeout.
The information about the slots of the log lines
0x9886d0 1. state=3 to_recon=(nil) ready=0 |driver_sqlpool_query_s end
is generated by:
conns = array_get(&d...
2015 Jul 24
0
possible patch for ACL SQL ERROR: duplicate key value violates unique constraint "user_shares_pkey"
...iar technique to the quota problem, I added a trigger. The
idea is to use the condition dummy ISNULL to detect, that the function was
triggered from the INSERT of the function itself, hence, breaking the
recursive triggers. This assumes that dummy is never NULL from Dovecot.
The same applies to anyone_shares, just remove the to_user field from the
function.
Does somebody see something wrong with my hack?
=============
CREATE FUNCTION insert_sharing() RETURNS trigger
LANGUAGE plpgsql
AS $$
BEGIN
IF NEW.dummy IS NULL THEN
-- ugly kludge: we came here from this function, really do...
2018 Apr 07
0
sharing a folder with all users in a domain
.../%%u
subscriptions = no
list = yes
}
The dovecot-dict-sql.conf.ext file has:
map {
pattern = shared/shared-boxes/user/$to/$from
table = user_shares
value_field = dummy
fields {
from_user = $from
to_user = $to
}
}
map {
pattern = shared/shared-boxes/anyone/$from
table = anyone_shares
value_field = dummy
fields {
from_user = $from
}
}
and in my global acl file I have:
shared/office@ user at domain.com lrwstipekxa
shared/office@ user2 at domain.com lrwstipekxa
Thanks.
Dave.
2010 Oct 20
1
Error: sql dict iterate question
Hi Timo,
perhaps silly question...
should i care of this ?
dovecot: dict: Error: sql dict iterate: Invalid/unmapped path:
shared/shared-boxes/anyone/
dovecot 2.0.5
--
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
2012 Jun 24
2
dict Panic after upgrade to 2.1.7
...expire_stamp
fields {
username = $user
mailbox = $mailbox
}
}
# acl
map {
pattern = shared/shared-boxes/user/$to/$from
table = user_shares
value_field = dummy
fields {
from_user = $from
to_user = $to
}
}
map {
pattern = shared/shared-boxes/anyone/$from
table = anyone_shares
value_field = dummy
fields {
from_user = $from
}
}
--
e: ckubu at so36.net
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
.../messages
table = quota2
username_field = username
value_field = messages
}
map {
pattern = shared/shared-boxes/user/$to/$from
table = user_shares
value_field = dummy
fields {
from_user = $from
to_user = $to
}
}
map {
pattern = shared/shared-boxes/anyone/$from
table = anyone_shares
value_field = dummy
fields {
from_user = $from
}
}
dovecot-sql.conf.extdriver = mysql
connect = host=SocketLocation dbname=DBName user=UserName password=PasswordHere
default_pass_scheme = SHA512-CRYPT
password_query = SELECT username AS user, domain, password FROM
accounts WHERE usern...
2017 Apr 29
0
configuration sanity check
...mailboxes
map {
pattern = shared/shared-boxes/user/$to/$from
table = user_shares
value_field = dummy
fields {
from_user = $from
to_user = $to
}
}
# To share mailbox to anyone uncomment acl_anyone=allow in
# 90-acl.conf
map {
pattern = shared/shared-boxes/anyone/$from
table = anyone_shares
value_field = dummy
fields {
from_user = $from
}
}
dovecot-last-login.conf
connect = host=/tmp/mysql.sock dbname=dbname user=user password=password
# Last Login
map {
pattern = shared/last-login/$user
table = virtual_users
username_field = user
value_field = lastlogin
field...
2018 Feb 15
2
ACLs, shared, public, virtual mailboxes not working
...mailboxes
map {
pattern = shared/shared-boxes/user/$to/$from
table = user_shares
value_field = dummy
fields {
from_user = $from
to_user = $to
}
}
# To share mailbox to anyone uncomment acl_anyone=allow in
# 90-acl.conf
map {
pattern = shared/shared-boxes/anyone/$from
table = anyone_shares
value_field = dummy
fields {
from_user = $from
}
}
global-acls
public/TestFolder user=user lrwstipekxa
2018 Feb 15
2
ACLs, shared, public, virtual mailboxes not working
...>>
>> fields {
>> from_user = $from
>> to_user = $to
>> }
>> }
>>
>> # To share mailbox to anyone uncomment acl_anyone=allow in
>> # 90-acl.conf
>> map {
>> pattern = shared/shared-boxes/anyone/$from
>> table = anyone_shares
>> value_field = dummy
>>
>> fields {
>> from_user = $from
>> }
>> }
>>
>> global-acls
>> public/TestFolder user=user lrwstipekxa
>
>
2018 Feb 15
0
ACLs, shared, public, virtual mailboxes not working
...table = user_shares
> value_field = dummy
>
> fields {
> from_user = $from
> to_user = $to
> }
> }
>
> # To share mailbox to anyone uncomment acl_anyone=allow in
> # 90-acl.conf
> map {
> pattern = shared/shared-boxes/anyone/$from
> table = anyone_shares
> value_field = dummy
>
> fields {
> from_user = $from
> }
> }
>
> global-acls
> public/TestFolder user=user lrwstipekxa
2018 Feb 15
0
ACLs, shared, public, virtual mailboxes not working
...om_user = $from
> >> to_user = $to
> >> }
> >> }
> >>
> >> # To share mailbox to anyone uncomment acl_anyone=allow in
> >> # 90-acl.conf
> >> map {
> >> pattern = shared/shared-boxes/anyone/$from
> >> table = anyone_shares
> >> value_field = dummy
> >>
> >> fields {
> >> from_user = $from
> >> }
> >> }
> >>
> >> global-acls
> >> public/TestFolder user=user lrwstipekxa
> >
> >