ACL management from SQL
Hello,
we are facing issue, we manage the shared folder from SQL table, but it was never working as we have to manage acl permission from the server itself, we want to manage permissions (read or write) from the same application we can share user mailbox but it is written in dovecot documentation that is not supported now, we tried to find a mail client that could manage it at least, but only thunderbird was able to do it (but in version 60) and not more today. We saw that roundcube could handle it but we use rainloop.
It is really not possible at all to manage acl permissions fron SQL like the shared box itself ?
I tried to set acl permissions from old version of thunderbird, when i made modification it tried to update the sharedbox table, i did not see the query executed but as we were working on a view, the update failed. Do you know what it tried to do ?
UP ?
or any current tool managing acl permission ? evolution client no, thunderbird only old version etc...
On 06/09/2023 09:40 EEST cyril.leclerc@mantiq.com wrote:
UP ?
or any current tool managing acl permission ? evolution client no, thunderbird only old version etc...
doveadm acl works too, but I understand that might not be what you want. Although you can use the doveadm http api to do ACL management, as well.
AKi
is the http api is automatically up ? do we have to make something ? if i want to try on the docker machine ?
On 13/09/2023 14:55 EEST Cyril Leclerc cyril.leclerc@mantiq.com wrote:
is the http api is automatically up ? do we have to make something ? if i want to try on the docker machine ?
service doveadm { inet_listener http { port = <port> } }
Aki
sorry i am newbie, it is not activated by default if we activated dovecot?
in what file it have to be configured can i test it locally with docker machine ? development ?
thanks
so i tried to configure it followinf this link
https://doc.dovecot.org/admin_manual/doveadm_http_api/#
with this conf:
service pop3 { # Max. number of POP3 processes (connections) #process_limit = 1024 }
doveadm_api_key = jemjoujou
service doveadm { unix_listener doveadm-server { user = vmail } inet_listener { port = 2425 } inet_listener_http { port = 8082 } } service auth {
but i have this error
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10- master.conf line 73: Unknown setting: service { inet_listener_http { inet_listener_http chown: cannot access '/usr/lib/dovecot/sieve- global/after/spam_to_junk.svbin': No such file or directory [ WARNING ] !! INSECURE !! SSL configured with plain text access - DO NOT USE FOR PRODUCTION DEPLOYMENT [ INF ] Starting daemons [ INF ] mail.equitativa.ae is up and running Sep 14 14:31:23 mail amavis[502]: starting. /usr/sbin/amavisd-new at mail.equitativa.ae amavisd-new-2.11.1 (20181009), Unicode aware, LC_CTYPE="C.UTF-8" Sep 14 14:31:23 mail amavis[502]: perl=5.032001, user=, EUID: 109 (109); group=, EGID: 111 111 (111 111) Sep 14 14:31:23 mail amavis[502]: Net::Server: Group Not Defined. Defaulting to EGID '111 111' Sep 14 14:31:23 mail amavis[502]: Net::Server: User Not Defined. Defaulting to EUID '109' Sep 14 14:31:23 mail amavis[502]: No ext program for .zoo, tried: zoo Sep 14 14:31:23 mail amavis[502]: No ext program for .doc, tried: ripole Sep 14 14:31:23 mail amavis[502]: No decoder for .F Sep 14 14:31:23 mail amavis[502]: No decoder for .doc Sep 14 14:31:23 mail amavis[502]: No decoder for .zoo
it was inet_listener http { port = 8082 }
with no underscore so now it is OK i couls access to the api put according to the documentation :
https://doc.dovecot.org/admin_manual/doveadm_http_api/
i dont see anything regarding the acl permissions ?
participants (3)
-
Aki Tuomi
-
Cyril Leclerc
-
cyril.leclerc@mantiq.com