Displaying 2 results from an estimated 2 matches for "2b0a".
Did you mean:
20a
2020 May 26
2
doveadm: extra lines?
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
2020 May 27
0
doveadm: extra lines?
...gging, and the issue appears to manifest only when doveadm sends back an error code.
Here is a ?user? and a ?kick?, both of which fail with error codes:
> echo -ne 'VERSION\tdoveadm-server\t1\t0\nD\tharry\tuser\nD\t\tkick\tharry\n' | nc -U /var/run/dovecot/doveadm-server | xxd
0000000: 2b0a 0a2d 5553 4147 450a 0a2d 0a0a 2d4e +..-USAGE..-..-N
0000010: 4f54 464f 554e 440a 0a2d 0a OTFOUND..-.
Here is an ?auth?/?lookup? and a ?kick?, both of which fail, but only the ?kick? gives back an error code:
> echo -ne 'VERSION\tdoveadm-server\t1\t0\nD\tharry\tauth\tlookup\nD...