[Users] [Bug 3901] Failure (race condition) with Dovecot

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Oct 24 13:11:05 CEST 2017


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3901

--- Comment #14 from Andrej Kacian <andrej at kacian.sk> ---
(In reply to comment #9)
> I still suspect there's a race condition because if I do;
> 
> user xxxx
> STAT
> 
> I get "-ERR Unknown command."

No, this is correct behavior from the server, as per RFC 1939 (section 3). The
STAT command simply is not available before you authenticate.

The fact that the negative response ends with a '.' instead of a ':' is due to
the fact that different session states are handled by different programs in
Dovecot:

vala dovecot # pwd
/usr/libexec/dovecot
vala dovecot # strings pop3-login | grep 'Unknown command'
Unknown command.
vala dovecot # strings pop3 | grep 'Unknown command'
-ERR Unknown command: %s
vala dovecot #

The question remains what exactly is being sent that Dovecot sees it as an
empty command. Perhaps a space, or some other whitespace character?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list