On Tue, Dec 23, 2008 at 2:20 AM, Timo Sirainen tss@iki.fi wrote:
On Dec 23, 2008, at 4:51 AM, R A wrote:
Especially if you try to implement cloud-like services, where you have the possibility of links temporarily going down between servers, and mail can come in to any point, and be retrieved or moved at any point.
You really need transactions then, to track every mails change in time, and to replicate those when you get connectivity back. You "can" possibly do it by tracking dovecot logs and do the replication yourself with scripts, but using a database would probably be easier here.
I've also planned easy replication support for Dovecot. Also I don't think doing the SQL replication correctly and without losing any data on error conditions is as easy as you think.
+1 Needless to say, replication would be _very_ useful...