[Users] Reset the last email collected from a server

claws at waghornswood.net.nz claws at waghornswood.net.nz
Sun Jul 3 23:46:24 UTC 2022


On Sun, 3 Jul 2022 21:39:10 -0000
Paul <paul at claws-mail.org> wrote:

> On Mon, 4 Jul 2022 09:31:10 +1200
> claws at waghornswood.net.nz wrote: 
> 
> > I recently had a hard drive problem that resulted in loosing a week
> > of mail. Its still on the servers not not too bad.
> >  How do I reset the last collected date or last email collected per account?
> > I have looked at folderlist.xml but nothing in there to me stands out as a
> > pointer for the last received email.  
> 
> Remove the file which corresponds to the mail server and account in
> ~/.claws-mail/uidl/
> 
> with regards
> 
> Paul
> _______________________________________________


Thanks Paul.
That pointed me in the right direction but would have resulted in a ~32 Gb
DLoad !
I used  date -d "jun 27 2022" +%s  to give me the epoch 1656244800 rounded
that to 1656240000 to make it easy. 

The contents of the files in .claws-mail/uidl/ seem to be in 2 formats:

either, 0000fee55562250a        1655700502      0
or,     1546719342.H724227P21971.walker.smtp.mailx.hosts.xx 1655700502  0
or both.

I deleted all the lines in each file that came after 1656240000 did a mail
run. I didn't get the date quite right so deleted 629 duplicate messages in
352 folders ! I also collected 135 messages that were missing.

Excellent  
Thank you very much
                Oscar 


More information about the Users mailing list