Re: replication newbie: some beginner questions

2020-04-25 Thread Stefan G. Weichinger
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 use

Re: replication newbie: some beginner questions

2020-04-22 Thread Aki Tuomi
> On 22/04/2020 17:13 Benny Pedersen wrote: > > > 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:port > > what doeveconf config makes that command line work ? Something like this: on target host do

Re: replication newbie: some beginner questions

2020-04-22 Thread Benny Pedersen
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:port what doeveconf config makes that command line work ?

Re: replication newbie: some beginner questions

2020-04-22 Thread Stefan G. Weichinger
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)

Re: replication newbie: some beginner questions

2020-04-22 Thread Aki Tuomi
> On 22/04/2020 11: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 n

Re: replication newbie: some beginner questions

2020-04-22 Thread 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 i

Re: replication newbie: some beginner questions

2020-04-22 Thread 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). What irritates me: on the new server I find less files in /home/vmail than on the old server. So something

Re: replication newbie: some beginner questions

2020-04-22 Thread Stefan G. Weichinger
Am 21.04.20 um 11:49 schrieb Stefan G. Weichinger: > I will connect both dovecots to the same instance of mariadb which > should let them know about all the existing mailboxes ... and then I > will see. > > My question around the sieve-scripts is still open ... I assume I will > maybe try to repl

Re: replication newbie: some beginner questions

2020-04-21 Thread Stefan G. Weichinger
Am 17.04.20 um 03:37 schrieb @lbutlr: > On 15 Apr 2020, at 07:50, Stefan G. Weichinger > wrote: >> So I think about how to get the mailboxes from A to B. >> >> We use one UID afaik: >> >> mail_home = /home/vmail/%d/%u mail_location = maildir:~ >> >> I read about dsync and wonder: >> >> * does

Re: replication newbie: some beginner questions

2020-04-16 Thread @lbutlr
On 16 Apr 2020, at 19:37, @lbutlr wrote: > (dovevot mailers under a email user) vmail user, thank you autocorrect. -- "Are you pondering what I'm pondering?" "I think so, Larry, and um, Brain, but how can we get seven dwarves to shave their legs?”

Re: replication newbie: some beginner questions

2020-04-16 Thread @lbutlr
On 15 Apr 2020, at 07:50, Stefan G. Weichinger wrote: > So I think about how to get the mailboxes from A to B. > > We use one UID afaik: > > mail_home = /home/vmail/%d/%u > mail_location = maildir:~ > > I read about dsync and wonder: > > * does it make sense in this case to set up replication

Re: replication newbie: some beginner questions

2020-04-16 Thread Stefan G. Weichinger
Am 15.04.20 um 20:36 schrieb Ralph Seichter: > * Stefan G. Weichinger: > >> does it make sense in this case to set up replication and let the >> servers replicate at first while still running on the old server? > > If you use "dsync over TCP connections" [1], you can set up your new > server with

Re: replication newbie: some beginner questions

2020-04-15 Thread Ralph Seichter
* Stefan G. Weichinger: > does it make sense in this case to set up replication and let the > servers replicate at first while still running on the old server? If you use "dsync over TCP connections" [1], you can set up your new server without users noticing it (with the exception of extra server

replication newbie: some beginner questions

2020-04-15 Thread Stefan G. Weichinger
At a customer we run dovecot-2.3.10 along with postfix and mariadb, using postfixadmin as GUI. Now I plan to migrate to a new hardware (bigger machine) and in the same step to migrate from Gentoo Linux to Debian Linux. So I think about how to get the mailboxes from A to B. We use one UID afaik