Hi, I've a broken IMAP server, which doesn't support pipelining and fails on dovecot's attempt to do this ([C] is dovecot's imapc, [S] is the IMAP server): [C] 24 LOGIN "user" "pass" [S] 23 OK [C] 25 SELECT "INBOX" [C] 23 UID FETCH 2 (INTERNALDATE) [S] 25 OK [S] 23 BAD No mailbox selected Sadly, fixing the server would be a hard task, turning off pipelining in dovecot's imapc (which already supports many workarounds for different servers) could be easy... ... except I can see no place to do this in imapc (only in pop3c and imap proxy, which I guess doesn't apply here). If I'm right, may I ask for a knob for such dumb servers? Thanks,
On 08.09.2017 14:50, Nagy, Attila wrote:> Hi, > > I've a broken IMAP server, which doesn't support pipelining and fails > on dovecot's attempt to do this ([C] is dovecot's imapc, [S] is the > IMAP server): > > [C] 24 LOGIN "user" "pass" > [S] 23 OK > [C] 25 SELECT "INBOX" > [C] 23 UID FETCH 2 (INTERNALDATE) > [S] 25 OK > [S] 23 BAD No mailbox selected > > Sadly, fixing the server would be a hard task, turning off pipelining > in dovecot's imapc (which already supports many workarounds for > different servers) could be easy... > > ... except I can see no place to do this in imapc (only in pop3c and > imap proxy, which I guess doesn't apply here). > > If I'm right, may I ask for a knob for such dumb servers? > > Thanks,For proxy, use proxy_nopipelining Aki
On 09/08/2017 01:53 PM, Aki Tuomi wrote:> > On 08.09.2017 14:50, Nagy, Attila wrote: >> Hi, >> >> I've a broken IMAP server, which doesn't support pipelining and fails >> on dovecot's attempt to do this ([C] is dovecot's imapc, [S] is the >> IMAP server): >> >> [C] 24 LOGIN "user" "pass" >> [S] 23 OK >> [C] 25 SELECT "INBOX" >> [C] 23 UID FETCH 2 (INTERNALDATE) >> [S] 25 OK >> [S] 23 BAD No mailbox selected >> >> Sadly, fixing the server would be a hard task, turning off pipelining >> in dovecot's imapc (which already supports many workarounds for >> different servers) could be easy... >> >> ... except I can see no place to do this in imapc (only in pop3c and >> imap proxy, which I guess doesn't apply here). >> >> If I'm right, may I ask for a knob for such dumb servers? >> >> Thanks, > For proxy, use proxy_nopipelining >Are you sure it works with imapc? I've tried it, and dovecot still does the above.