In every case it looks like the size reported by “du” is smaller on the mirror. Some examples:
on the server:
on the mirror:
Looking at one of those directories, /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09, there are more files on the server than on the mirror:
server: ls -1 /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09 | wc -l
mirror: ls -1 /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09 | wc -l
Here is part of a context diff of the output of “ls -1” from mirror and server:
$ diff -c ls-1-mirror.out ls-1-mail.out
*** ls-1-mirror.out 2017-12-04 21:23:35.775993890 -0800
--- ls-1-mail.out 2017-12-04 21:24:31.109474252 -0800
*** 11,16 ****
--- 11,17 ----
*** 29,34 ****
--- 30,36 ----
Only the mirror is missing files; there are no files on the mirror that do not appear on the server. The directory in the output above is old archived mail, and is static; i.e. no changes were made on the server or the mirror while gathering this information. The “extra” files on the server are legitimate messages which should have been sent to the mirror.
I am running SurgeMail version 7.3c3-3 on both server and mirror. The mirror is a fresh installation (after a disk crash on the previous mirror hardware). The server has been running SurgeMail for many years and has been upgraded several times, most recently from version 6.3c to 7.3c-3 a few months ago.
One of the advantages of being disorderly is that
I am constantly making interesting discoveries.
> On Dec 4, 2017, at 5:03 PM, surgemail-support <email@example.com> wrote:
> It's a bit tricky (easier in next release)
> tellmail status | grep Resync
> Resync: Tot=2038 0.0/s, Resent=0 Prune=0 Dir=14 Th=4
> If the total isn't changing then it's finished.
> (in new builds it will say finished reliably and give a progress indicator too)
> On 5/12/2017 10:35 a.m., John Wilkes wrote:
>> How can I tell that the resync has completed?
> I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP.