Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger:> iterate_query = SELECT username as user FROM mailboxOk, we enabled the 2 users and they synced (after a restart of one dovecot, btw). What irritates me: on the new server I find less files in /home/vmail than on the old server. So something is skipped or so. I try to compare now ..
On 2020-04-22 10:35, Stefan G. Weichinger wrote:> Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger: > >> iterate_query = SELECT username as user FROM mailbox > > Ok, we enabled the 2 users and they synced (after a restart of one > dovecot, btw). > > What irritates me: > > on the new server I find less files in /home/vmail than on the old > server. > > So something is skipped or so. > > I try to compare now ..# on the old doveadm quota recalc -A doveadm quota get -A # on the new doveadm quota recalc -A doveadm quota get -A then you can see with users missing data i dont know how to sync missing data, all i know is i use aid4mail that solves it for me, just one bug in it that it makes dupe mails if running aid4mail twice
> On 22/04/2020 11:35 Stefan G. Weichinger <lists at xunil.at> wrote: > > > Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger: > > > iterate_query = SELECT username as user FROM mailbox > > Ok, we enabled the 2 users and they synced (after a restart of one > dovecot, btw). > > What irritates me: > > on the new server I find less files in /home/vmail than on the old server. > > So something is skipped or so. > > I try to compare now ..You can also try running doveadm sync by hand. doveadm -Dv sync -u victim tcp:otherserver:port Aki
Am 22.04.20 um 10:43 schrieb Benny Pedersen:> On 2020-04-22 10:35, Stefan G. Weichinger wrote: >> Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger: >> >>> iterate_query = SELECT username as user FROM mailbox >> >> Ok, we enabled the 2 users and they synced (after a restart of one >> dovecot, btw). >> >> What irritates me: >> >> on the new server I find less files in /home/vmail than on the old >> server. >> >> So something is skipped or so. >> >> I try to compare now .. > > # on the old > doveadm quota recalc -A > doveadm quota get -A > > # on the new > doveadm quota recalc -A > doveadm quota get -A > > then you can see with users missing dataok, I try. On the new machine the results are there instantly (SSDs and fast CPU etc), the old one still calculates. "quota" plugin wasn't enabled, that might add some initial work. Heavy load now ... ~45 : I had to stop that now - I saw the first few lines of output and the values all are slightly different between the 2 servers. I will ask the admin there to compare mailboxes via client, in thunderbird for example.
On 2020-04-22 10:45, Aki Tuomi wrote:> You can also try running doveadm sync by hand. > doveadm -Dv sync -u victim tcp:otherserver:portwhat doeveconf config makes that command line work ?
Am 22.04.20 um 10:35 schrieb Stefan G. Weichinger:> Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger: > >> iterate_query = SELECT username as user FROM mailbox > > Ok, we enabled the 2 users and they synced (after a restart of one > dovecot, btw).All users synced. What if I disable the 2 users now (= inactive in postfixadmin) ? I assume the 2 dovecots would simply keep the mailboxes "as is" and not remove anything, correct? thanks ;-)