[Dovecot] Bug when a duplicated file is found

Timo Sirainen tss at iki.fi
Mon Feb 25 16:45:31 EET 2013


On 25.2.2013, at 12.41, Angel L. Mateo <amateo at um.es> wrote:

> Feb 13 23:08:05 myotis31 dovecot: imap(<user>): Warning: Fixed a duplicate: /home/alumnos/59/122559/Maildir/cur/1360169810.M670208P13643.myotis31,S=6282,W=6409:2, -> 1360793285.M721935P29136.myotis31
> 
> 	The problem with this is that we are using zlib plugin so messages are compressed. When the rename is done, the rename is to a name without the S=XXXX field (neither the W=XXX, although this field is less sensible), so the result is that user's can't access to any message after this one.
> 
> 	I think than in this situation, rename one of the files is a good solution (although it provokes duplicate mails, but this an expected/acceptable situation after the restore), but the rename should maintain the S= and W= fields (and even other maildir flags).

OK: http://hg.dovecot.org/dovecot-2.1/rev/cfd3f39102bd




More information about the dovecot mailing list