Create autoreply with http api

2023-10-11 Thread cyril . leclerc
Hi, 

Is it possible to activate autoreply from http api : 
https://doc.dovecot.org/admin_manual/doveadm_http_api/ on mailbox ?

because on evolution client we could not activate out of office, autoreply, 
with http api and sieve commands, is it possible to achieve it fron our web 
application ?

thank you
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: How to use http api doveadm to manage acl permissions

2023-10-01 Thread Cyril Leclerc
It is present only on last version because first it is not returned
from the http api GET then when i execute the command it says the id is
not existing (testing other commands working)

the dovecot version is :

2.3.20 (80a5ac675d)

version come form docker machine on this link
: 
https://docker-mailserver.github.io/docker-mailserver/v12.1/config/advanced/override-defaults/dovecot/
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
yes it is zorking now and command available

so if i want to give all access to te...@test.com INBOX to te...@test.com this 
command is not good

[
[
"aclSet",
{
"user":"te...@test.com",
"mailbox":"te...@test.com/INBOX",
"right":"lrw"
},
"tag1"

]
]

based on 

{"command":"aclSet", "parameters":[
{"name":"allUsers","type":"boolean"},
{"name":"socketPath","type":"string"},
{"name":"user","type":"string"},
{"name":"transFlags","type":"integer"},
{"name":"userFile","type":"string"},
{"name":"mailbox","type":"string"},
{"name":"id","type":"string"},
{"name":"right","type":"array"}
]},
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
it seems the plugin is not installed on docker machine how i can install the 
plugin to have the acl commands available ?because now it is not existing, i 
have version 2.3.20 and command return unknow command
thanks
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
thank you , 

but why we dont see the commands here 

https://doc.dovecot.org/admin_manual/doveadm_http_api/ ?

other question with sieve and http api can we manage autoreply with the api ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: How to use http api doveadm to manage acl permissions

2023-09-23 Thread cyril . leclerc
Yes off course i ve done that but not found, moreover it should be available in 
the api documentation ?

this is the content off the get call is there a command for acl with maybe not 
ACL word inside ?

[
{
"command": "mailboxMutf7",
"parameters": [
{
"name": "toUtf8",
"type": "boolean"
},
{
"name": "fromUtf8",
"type": "boolean"
},
{
"name": "name",
"type": "array"
}
]
},
{
"command": "serviceStop",
"parameters": [
{
"name": "service",
"type": "array"
}
]
},
{
"command": "serviceStatus",
"parameters": [
{
"name": "service",
"type": "array"
}
]
},
{
"command": "sisDeduplicate",
"parameters": [
{
"name": "rootDir",
"type": "string"
},
{
"name": "queueDir",
"type": "string"
}
]
},
{
"command": "sisFind",
"parameters": [
{
"name": "rootDir",
"type": "string"
},
{
"name": "hash",
"type": "string"
}
]
},
{
"command": "processStatus",
"parameters": [
{
"name": "service",
"type": "array"
}
]
},
{
"command": "stop",
"parameters": []
},
{
"command": "reload",
"parameters": []
},
{
"command": "statsDump",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "reset",
"type": "boolean"
},
{
"name": "fields",
"type": "string"
}
]
},
{
"command": "statsAdd",
"parameters": [
{
"name": "name",
"type": "string"
},
{
"name": "filter",
"type": "string"
},
{
"name": "exporter",
"type": "string"
},
{
"name": "exporterInclude",
"type": "string"
},
{
"name": "description",
"type": "string"
},
{
"name": "fields",
"type": "string"
},
{
"name": "groupBy",
"type": "string"
}
]
},
{
"command": "statsRemove",
"parameters": [
{
"name": "name",
"type": "string"
}
]
},
{
"command": "oldstatsDump",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "type",
"type": "string"
},
{
"name": "filter",
"type": "string"
}
]
},
{
"command": "oldstatsReset",
"parameters": [
{
"name": "socketPath",
"type": "string"
}
]
},
{
"command": "penalty",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "netmask",
"type": "string"
}
]
},
{
"command": "kick",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "force",
"type": "boolean"
},
{
"name": "mask",
"type": "array"
}
]
},
{
"command": "who",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "separateConnections",
"type": "boolean"
},
{
"name": "mask",
"type": "array"
}
]
},
{
"command": "directorStatus",
"parameters": [
{
"name": "socketPath",
"type": "string"
},
{
"name": "user",
"type": "string"
},
{
"name": "tag",
"type": "string"
   

Re: How to use http api doveadm to manage acl permissions

2023-09-19 Thread cyril . leclerc
hi, 

yes i alredy executed but nothing with "acl" name or "permissions" so how i can 
find the good command ?

thank you
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


How to use http api doveadm to manage acl permissions

2023-09-17 Thread cyril . leclerc
I started the http api on dovecot configuration but following the documentation 
available here :

https://doc.dovecot.org/admin_manual/doveadm_http_api/

I dont see anything regarding the acl permissions ? do we have to use a 
specific command ? how to manage a user acl permissions ( change the content of 
dovecot-acl file ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-14 Thread cyril . leclerc
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 ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-14 Thread Cyril Leclerc
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 

___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-13 Thread Cyril Leclerc
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
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-13 Thread Cyril Leclerc
is the http api is automatically up ? do we have to make something ? if
i want to try on the docker machine ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-06 Thread cyril . leclerc
how it seems great i will take a look maybe it is better !
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: ACL management from SQL

2023-09-05 Thread cyril . leclerc
UP ?

or any current tool managing acl permission ? evolution client no, thunderbird 
only old version etc...
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Dovecot with Postfix "no SASL authentication mechanisms"

2023-09-03 Thread cyril . leclerc
so you have to check, when it is put on on and same error it means the sasl 
service could not be started,  check if the service is UP on your server, then 
in log if there is any error about this topic, 

then if i am not wrong when you put yes it means now you need smtp 
authentication  to connect on server on client mail conf, i dont know exactly 
your conf

why you need sasl ? do you really need it ? if yes it has to be configured 
every where no ?

m...@example.com in smtpd authentication have to use authentication (with 
username and password) than you have to configure in dovecot how to get 
user_query and password_query

try to look a full tuto and define if you need sasl or not ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Dovecot with Postfix "no SASL authentication mechanisms"

2023-09-03 Thread cyril . leclerc
hello, 

you have this smtpd_sasl_auth_enable = no

in your config

it should be smtpd_sasl_auth_enable=yes
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


ACL management from SQL

2023-08-29 Thread cyril . leclerc
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.

1. It is really not possible at all to manage acl permissions fron SQL like the 
shared box itself ?

2. 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 ?
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org