[Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

Timo Sirainen tss at iki.fi
Mon Feb 13 23:44:47 EET 2012


On 13.2.2012, at 23.32, Timo Sirainen wrote:

> Perhaps a way for (trusted) clients to be able to do this? :)
> 
> a logout save
> * OK [SAVEDSTATE 1234567890]
> * BYE logged out
> a OK

Actually, this could probably be safely implemented by sending all of the state to the client as a string:

* OK [SAVEDSTATE base64-encoded-state]

There isn't a whole lot of state to be saved really. Mailbox GUID, UIDVALIDITY, HIGHESTMODSEQ gives the mailbox state. Then you have the language/etc. states. Clients could restore their earlier state from days ago, as long as Dovecot still has the necessary .log records available (similar to how QRESYNC works).



More information about the dovecot mailing list