27 May
2020
27 May
'20
1:07 a.m.
Hello,
I’m sending doveadm “kick” commands to doveadm-server via the doveadm protocol. When “kick” sends back a NOTFOUND error, though, it’s sending back additional output. strace shows:
write(3UNIX:[3158354-3156665]>, "\t\tkick\tmyssltest\n", 17) = 17 ... read(3UNIX:[3158354-3156665]>, "\n-NOTFOUND\n\n-\n", 8192) = 14
Going by the protocol documentation (https://wiki2.dovecot.org/Design/DoveadmProtocol), there appear to be 3 extra bytes at the end of the server’s response: "\n-\n".
Is this a bug in doveadm-server? Or am I misreading the protocol documentation?
Thank you!
cheers, -Felipe Gasper