Cant use doveadm to set ACL . [request for help]
Hi, i keep getting error for using doveadm acl get commands.
Below is the output for grep 'socket_path' :-
grep 'socket_path' /etc/dovecot/dovecot.conf auth_socket_path = /var/run/dovecot/auth-master auth_socket_path = /var/run/dovecot/auth-master
[root@mail root]# doveadm acl get -u bob@mydomain.net -S /var/run/dovecot/auth-master -m Inbox doveadm(bob@mydomain.net): Error: doveadm server sent invalid handshake: VERSION 1 1 doveadm(bob@mydomain.net): Error: /var/run/dovecot/auth-master: Internal failure for bob@mydomain.net ID Global Rights
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 8 May 2015, Kevin Laurie wrote:
grep 'socket_path' /etc/dovecot/dovecot.conf
first: use doveconf -n | grep 'socket_path' or in this case better: doveconf -a | grep 'socket_path'
auth_socket_path = /var/run/dovecot/auth-master auth_socket_path = /var/run/dovecot/auth-master
[root@mail root]# doveadm acl get -u bob@mydomain.net -S /var/run/dovecot/auth-master -m Inbox
Why you use -S ?? doveadm should detect the correct socket itself.
doveadm(bob@mydomain.net): Error: doveadm server sent invalid handshake: VERSION 1 1 doveadm(bob@mydomain.net): Error: /var/run/dovecot/auth-master: Internal failure for bob@mydomain.net ID Global Rights
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVVBMOXz1H7kL/d9rAQJgLAf+K3envFbMg06DtDT2BOZsUqeU9l8ibuFK I13T/MJMqWqbkHYitDRXVkYz6cOMW14QPGSKMrmRIYiKb8IipJIi7Za17u6lSsmt PozDmPLqome6RoofxJbcB9ZM2mzd8xP3DnOILuPyIkPN6K7fN2yGarTZ3UTzLjni SrP3R7AIngYa2WbM1jhMiX6uTrX6EGuGAuOrwJJNtMqHobtf4HGIvPB1P5GSOM6X ubLKbUA9T2O+aPDnAXL6kUHOAh9lxZ7rmQFS8rN2UVUNr3vFyODBBy/s4RpOvSID ebo5QS0LAmNzEyXC1fNqdHWcGZL9FaO5Bmc/pxb6GcT6rc1V2lqhAQ== =5a1D -----END PGP SIGNATURE-----
participants (2)
-
Kevin Laurie
-
Steffen Kaiser