Dovecot 2.2.22 - doveadm via socket not working
Hello,
(my) doveadm is no longer working if I use the -S socket_path.
# doveadm quota get -S mbx7:542 -u myaccount doveadm(myaccount): Error: doveadm server disconnected before handshake: EOF doveadm(myaccount): Error: mbx7:542: Command quota get failed for jobsanzl: EOF Quota name Type Value Limit %
The server logs: Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: USER environment is missing and -u option not used Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: master: service(doveadm): child 31599 returned error 64
Any hints?
--Andreas
! Andreas Jobs Network Operation Center ! ! Ruhr-Universitaet Bochum ! ! One Day I Will Find This Peer Guy and Then I Will Reset HIS Connection !
On 22.03.2016 01:33, Andreas Jobs wrote:
Hello,
(my) doveadm is no longer working if I use the -S socket_path.
# doveadm quota get -S mbx7:542 -u myaccount doveadm(myaccount): Error: doveadm server disconnected before handshake: EOF doveadm(myaccount): Error: mbx7:542: Command quota get failed for jobsanzl: EOF Quota name Type Value Limit %
The server logs: Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: USER environment is missing and -u option not used Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: master: service(doveadm): child 31599 returned error 64
Any hints?
--Andreas Hi!
I can confirm this bug exists, I'll take a look.
Aki
On 22.03.2016 01:33, Andreas Jobs wrote:
Hello,
(my) doveadm is no longer working if I use the -S socket_path.
# doveadm quota get -S mbx7:542 -u myaccount doveadm(myaccount): Error: doveadm server disconnected before handshake: EOF doveadm(myaccount): Error: mbx7:542: Command quota get failed for jobsanzl: EOF Quota name Type Value Limit %
The server logs: Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: USER environment is missing and -u option not used Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: master: service(doveadm): child 31599 returned error 64
Any hints?
--Andreas Hi!
This has been now fixed in master in commits
https://github.com/dovecot/core/commit/7b98fc3ad1392e60f750211538fa8e502755e... https://github.com/dovecot/core/commit/fcb8a4a04df3de83cf41b548440e8d42ff24f... https://github.com/dovecot/core/commit/619994941f9d9e8e2d108eb3f9f9821a35f60...
Aki Tuomi Dovecot Oy
Hi,
On Wed, Mar 23, 2016 at 11:29:41AM +0200, Aki Tuomi wrote:
This has been now fixed in master in commits
https://github.com/dovecot/core/commit/7b98fc3ad1392e60f750211538fa8e502755e... https://github.com/dovecot/core/commit/fcb8a4a04df3de83cf41b548440e8d42ff24f... https://github.com/dovecot/core/commit/619994941f9d9e8e2d108eb3f9f9821a35f60...
Thank you for the patches. I'm now getting some other errors in the logs:
doveadm quota get -S localhost:542 -u myaccount
is showing Mar 24 01:36:26 doveadm(myaccount): Fatal: mail-storage-service: seteuid(4294967295) failed: Invalid argument
and
doveadm mailbox status -u myaccount -S localhost:542 messages '*'
is showing
Mar 24 01:37:43 doveadm(127.0.0.1): Fatal: Client sent invalid command. Usage: mailbox status [-u <user>|-A] [-S
Without the '-S ...' they are working as expected.
Regards, Andreas
! Andreas Jobs Network Operation Center ! ! Ruhr-Universitaet Bochum ! ! One Day I Will Find This Peer Guy and Then I Will Reset HIS Connection !
participants (2)
-
Aki Tuomi
-
Andreas Jobs