[PATCH] avoid removing of data when user removed a maildir

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Jun 23 00:18:55 BST 2016


On Mon, Jun 20, 2016 at 10:41:37PM +0200, Łukasz Żarnowiecki wrote:
> On Fri, Jun 17, 2016 at 08:05:46PM +0200, Nicolas Sebrecht wrote:

> > When a maildir is removed it must be considered new for the sync. However, the
> > local cache of the folder remains. This means the sync of the folder removes all
> > the missing emails.
> 
> I actually did that several times and I did not loose any emails.
> 
> > WARNING: I did NOT tested this specific use case. I'm confident the changes
> > should work correctly. At least, this did not hurt my usual syncs.
> 
> I will try to verfiy that tomorrow.  Hope it will work as always ;)

Tested! I confirm the bug is there and the patch fixes this issue.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list