The files in the tmp directory were not showing up in my mailbox. I resolved both using the following technique. Anyone can see the solution in the archives if they run into the same situation.
Create a temporary mailbox (.INBOX.tmp_email). For each mailbox that had an issue, Items 1) and 2) below) Move in Linux (mv command) all suspect files from 1) and 2) below into the .INBOX.tmp_email/cur directory. Use mail client to move the messages from tmp_email mailbox to the <original mailbox>. Verify in Linux that the files are correctly formatted in the <original mailbox>/cur directory Everything is running smoothly now. David > On Nov 29, 2020, at 4:09 PM, Aki Tuomi <aki.tu...@open-xchange.com> wrote: > > Not sure if this actually has any impact, do you get an error? > > Aki > >> On 29/11/2020 20:02 David Morsberger <da...@mmpcrofton.com> wrote: >> >> >> Ping - anyone know how I should clean up my “mess”? :) >> >> >> >>> On Nov 26, 2020, at 7:42 PM, David Morsberger <da...@mmpcrofton.com> wrote: >>> >>> >>> I had to restore many thousands of dovecot emails from a crashed Mac Server >>> to a new Ubuntu server. After completing I am noticing a few things that >>> may be okay or may need to be fixed. >>> >>> 1) a couple of mailboxes have a lot (one has 102462) emails in the tmp >>> directory. The files do not have the standard Mairdir++ filename format. An >>> example: >>> 1581262582.M397740P72267.mini.mmpcrofton.com >>> (http://1581262582.m397740p72267.mini.mmpcrofton.com/) (missing the stuff >>> at the end,,S=,W=:2,S) >>> >>> 2) I see files in the cur directory that do not have the Maildir++ format. >>> An example: >>> 1601287326.V810Ie80087M240104.mmp-mail.mmpcrofton.com >>> (http://1601287326.v810ie80087m240104.mmp-mail.mmpcrofton.com/):2,S. (do >>> not have the,S=,W= values and the second value, V810Ie80087M240104, is >>> longer that the other file names) >>> >>> >>> How do I get the emails in (1) out of tmp? >>> >>> Do I need to convert the emails in (2)? >>> >>> David >>