doveadm: extra lines?

Felipe Gasper felipe at felipegasper.com
Wed May 27 02:07:52 EEST 2020


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(3<UNIX:[3158354->3156665]>, "\t\tkick\tmyssltest\n", 17) = 17
...
read(3<UNIX:[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


More information about the dovecot mailing list