[Dovecot] Expunged message reappeared, giving a new UID

Simon Fraser srf at sanger.ac.uk
Thu Aug 8 11:21:17 EEST 2013


On Tue, 2013-08-06 at 19:15 +0300, Timo Sirainen wrote:

> > Presumably it's thinking the "-r /tmp/dsync-rawlog" is a mail location?
> > I've tried changing its location in the appends, but it doesn't make a
> > difference. 
> 
> Oops, I messed up the parameter order. It was supposed to have -s state but now it had -s -r rawlog state. New patch should work better.

I ran two tests: one using 'doveadm expunge' and one deleting the
message using mutt. Since the hosts mentioned so far have a copy of my
full mailbox on, I re-ran the tests (with the same results) on a test
server with a fresh mailbox on, so there was no extra folder
synchronisation in there to fill up the rawlog. 

Those log entries are too big for the mailing list (70k+), so are here:

'doveadm expunge' dsync-rawlog node A
http://pastebin.com/LtUnENPv

'doveadm expunge' dsync-rawlog node B
http://pastebin.com/QaWLyZq2

imap expunge dsync-rawlog node A
http://pastebin.com/SuFdWn0w

imap expunge dsync-rawlog node B
http://pastebin.com/Ex66s7hq

Mail logs on both contain entries like this:
Aug  6 18:04:37 dcot2a dovecot: master: Dovecot v2.2.5 starting up (core
dumps disabled)
Aug  6 18:04:38 dcot2a dovecot: doveadm: Error: Don't give mail location
with -d parameter

Simon.



-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 


More information about the dovecot mailing list