Re: imap proxy and untagged commands

2013-03-14 Thread Timo Sirainen
Hi, On Wed, 2013-03-13 at 18:48 +0400, Maxim Dounin wrote: > > In real world Dovecot can already send some extra untagged replies if > > there is some trouble (e.g. heavy load) with its authentication process. > > What happens is: > > > > S: * OK Waiting for authentication process to respond.. >

imap proxy and untagged commands

2013-03-13 Thread Timo Sirainen
Hi, I noticed that the IMAP proxying code currently doesn't ignore extra untagged replies from the backend server. For example this would be a valid session: S: * OK Server ready S: * NO We're having some load issues C: a login {4} S: * OK foo S: + OK S: * OK bar C: user pass S: * OK almost done