------ Original Message ------
From "Peter Humphrey" <
[email protected]>
To
[email protected]
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.
<html><head>
<style id="signatureStyle" type="text/css"><!--#x9fdf1401839041e #xe61c1979f7dd4eaeb9a72a2370c0e757 p
{margin: 0px;}
#x9fdf1401839041e #xe61c1979f7dd4eaeb9a72a2370c0e757
{font-family: "Segoe UI"; font-size: 12pt;}
#x9fdf1401839041e #xe61c1979f7dd4eaeb9a72a2370c0e757 p
{margin: 0px;}
</style><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] { list-style-position: inside;}
body { font-family: Consolas; font-size: 11pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius: 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
._em_placeholder {color: gray; border-bottom: 1px dotted lightblue;} ._em_placeholder:before{color:gray; content: '{{ ';} ._em_placeholder:after{color:gray; content: ' }}';}
</style></head>
<body><div>------ Original Message ------</div><div>
<div>From "Peter Humphrey" <<a href="mailto:
[email protected]">
[email protected]</a>></div>
<div>To <a href="mailto:
[email protected]">
[email protected]</a></div>
<div>Date 02.06.2025 11:52:34</div>
<div>Subject [gentoo-user] Recovering mail</div></div><div x-em-quote=""><br /></div>
<div id="x25588eb4fe99460" class="plain"><blockquote cite="4994515.GXAFRqVoOG@cube" type="cite" class="cite2">
<div class="plain_line">Greetings,</div>
<div class="plain_line"> </div>
<div class="plain_line">My user's .maildir has overfilled and so I've lost some emails. However, I have</div>
<div class="plain_line">a cron job running every five minutes to rsync .maildir to /mnt/mailbu. The</div>
<div class="plain_line">question is: can I just copy mailbu over .maildir?</div></blockquote><span><div id="x25588eb4fe99460" class="plain"><span><br /></span></div><div id="x25588eb4fe99460" class="plain"><span>There might be some duplicates depending
on e.g. the message state,</span></div><div id="x25588eb4fe99460" class="plain"><span>which is encoded in the filename.</span></div><div id="x25588eb4fe99460" class="plain"><br /></div><div id="x25588eb4fe99460" class="plain"><span>Try rsync -avn /mnt/
malibu/ ~/.maildir for a dry-run that should</span></div><div id="x25588eb4fe99460" class="plain"><span>tell you what would be copied. If the results look reasonable</span></div><div id="x25588eb4fe99460" class="plain"><span>stop dovecot and kmail, run
again without the -n, start dovecot.</span></div><div id="x25588eb4fe99460" class="plain"><span><br /></span></div><div id="x25588eb4fe99460" class="plain"><span>At least that's what I would do to fix my maildir.</span></div><div id="x25588eb4fe99460"
class="plain"><span><br /></span></div><div id="x25588eb4fe99460" class="plain"><span>Good luck,</span></div><div id="x25588eb4fe99460" class="plain"><span>s.</span></div><br /></span><blockquote cite="4994515.GXAFRqVoOG@cube" type="cite" class="cite2"><
div class="plain_line"><br /></div>
<div class="plain_line"> </div>
<div class="plain_line">The mail chain is fetchmail (POP3) > postfix > dovecot > kmail (IMAP4).</div>
<div class="plain_line"> </div>
<div class="plain_line">--</div>
<div class="plain_line">Regards,</div>
<div class="plain_line">Peter.</div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
</blockquote></div>
</body></html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)