Re: [Dovecot] BINARY FETCH conversion issue

2014-05-02 Thread Michael M Slusarz
Quoting Timo Sirainen : On 30.4.2014, at 0.27, Michael M Slusarz wrote: Not sure if this is an example of Cyrus' QP decoder being more robust (or lenient) than Dovecot's. Or whether this is intentional to return NIL for this kind of bad data. It was kind of intentional. Dovecot's istrea

Re: [Dovecot] BINARY FETCH conversion issue

2014-05-02 Thread Timo Sirainen
On 30.4.2014, at 0.27, Michael M Slusarz wrote: > Given this test message, with admittedly incorrect QP encoding: .. > Dovecot 2.2 returns this: > > C: 5 UID FETCH 4464 (BINARY.PEEK[1]) > S: * 1 FETCH (UID 4464 BINARY[1] NIL) > S: 5 OK Fetch completed. > > Contrast with, e.g., Cyrus 2.4: > > C