------ Original Message ------
From "Peter Humphrey" <pe...@prh.myzen.co.uk>
To gentoo-user@lists.gentoo.org
Date 02.06.2025 11:52:34
Subject [gentoo-user] Recovering mail

Greetings,

My user's .maildir has overfilled and so I've lost some emails. However, I have
a cron job running every five minutes to rsync .maildir to /mnt/mailbu. The
question is: can I just copy mailbu over .maildir?

There might be some duplicates depending on e.g. the message state,
which is encoded in the filename.

Try rsync -avn /mnt/malibu/ ~/.maildir for a dry-run that should
tell you what would be copied. If the results look reasonable
stop dovecot and kmail, run again without the -n, start dovecot.

At least that's what I would do to fix my maildir.

Good luck,
s.



The mail chain is fetchmail (POP3) > postfix > dovecot > kmail (IMAP4).

--
Regards,
Peter.



Reply via email to