On Fri, 24 May 2013, Stephan Bosch wrote:

On 5/24/2013 9:59 AM, Osric Wilkinson wrote:
I'm using checkpassword (http://wiki.dovecot.org/AuthDatabase/CheckPassword)
as an authentication method for managesieve, however when the checkpassword
script exits with code 111 ("Temporary authentication failure") managesieved
outputs a message that is wrong per rfc5804:

$ nc localhost 4190
S: "IMPLEMENTATION" "Dovecot Pigeonhole"
S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress
S: comparator-i;ascii-numeric relational regex imap4flags copy include
S: variables body enotify environment mailbox date ihave"
S: "NOTIFY" "mailto"
S: "SASL" "PLAIN"
S: "STARTTLS"
S: "VERSION" "1.0"
S: OK "Dovecot ready."

C: AUTHENTICATE "PLAIN" "AHRlc3QAdGVzdA=="

S: NO [TRYLATER] "Temporary authentication failure. [hathor:2013-05-24
S: 07:56:09]"

That last server line should be "NO (TRYLATER)" (that is, round brackets
rather than square brakets).

Oh, that is a very stupid bug. After login it does use correct response codes. I wonder why nobody noticed this before, because it emerged in Pigeonhole v0.2 for Dovecot v2.0.

This fixes it upstream:

http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/d4ae981567e1

I'm in the middle of packaging 2.1.16 and pigeonhole 0.3.5 which includes this patch. There will be a backport for wheezy users.

--
Jaldhar H. Vyas <[email protected]>


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to