On Sat, 2009-06-20 at 22:02 +0200, Ralf Hildebrandt wrote:
- Timo Sirainen <tss@iki.fi>:
On Jun 20, 2009, at 9:27 AM, Ralf Hildebrandt wrote:
Jun 20 15:00:13 postamt dovecot: IMAP(virus-al): /home/v/i/virus-al/Maildir/dovecot-uidlist: next_uid was lowered (70 -> 2)
Any idea why this happened? next_uid really shouldn't get lowered. Did
something e.g. restore an older dovecot-uidlist to the Maildir?virus-al is a mailbox that holds quarantined spam. I'm the only person accessing it AND when this happened, I was (as usual) the only person looking at the mailbox. I logged in using mutt from localhost via IMAP.
I checked: there are no scripts that (for example) delete files from the maildir
Is it possible that the entire virus-al mailbox gets deleted and recreated (while the mailbox is open)? Do you have any "UIDVALIDITY changed" lines in logs? Wonder if these would do something:
http://hg.dovecot.org/dovecot-1.2/rev/51aee73e49a5 http://hg.dovecot.org/dovecot-1.2/rev/5a4875e92829