Hanging doveadm-server processes with dsync replication

2022-02-10 Thread Sebastian Marske
Dear Dovecot mailing list, after updating Dovecot from 2.3.16 to 2.3.18 on a dsync-replicated server there are hanging doveadm-server processes piling up over time, eventually resulting in some of the affected users being shown as out of sync. Our setup is based on FreeBSD 13, ZFS and Dovecot (we

Re: Fwd: Dsync replication - delayed replication (Sync lock)

2022-01-30 Thread Aki Tuomi
d note as well that we are running Dovecot from the upstream Debian > > packages at https://repo.dovecot.org/ce-2.3-latest/debian/buster . > > > > Kind regards > > Daniel > > > > > > > > Forwarded Message > > Subject: Dsy

Re: Fwd: Dsync replication - delayed replication (Sync lock)

2022-01-25 Thread Claudio Corvino
Subject:Dsync replication - delayed replication (Sync lock) Date: Tue, 1 Sep 2020 16:17:15 +0100 From: Daniel Botting To: dovecot@dovecot.org Hi, *Our setup:* Two Debian 10 machines that are setup to replicate mail between them, we have round robin DNS setup so a user can

Re: dsync replication fails with No space left on device / Out of memory

2021-07-07 Thread Steven Varco
> Am 07.07.2021 um 10:34 schrieb @lbutlr : > > On 2021 Jul 05, at 02:00, Steven Varco wrote: >> I then increased the filesystem size and all the problems suddenly vanished. > > How large was your tmp before and after the change, out of curiosity? Before it was 128 MB which is admittedly quite

Re: dsync replication fails with No space left on device / Out of memory

2021-07-07 Thread @lbutlr
On 2021 Jul 05, at 02:00, Steven Varco wrote: > I then increased the filesystem size and all the problems suddenly vanished. How large was your tmp before and after the change, out of curiosity? -- -=> <=-

Re: dsync replication fails with No space left on device / Out of memory

2021-07-05 Thread Steven Varco
ee issue is something different. Increasing memory parameters > doesn't help- the sync only crashes later. > > Here, everything seems to be synced fine nevertheless. > > > > Am 02.07.21 um 02:56 schrieb Harlan Stenn: >> Inodes? df -i >> >> On 7/1/2021 5:07

Re: dsync replication fails with No space left on device / Out of memory

2021-07-02 Thread Jörg Faudin Schulz
fine nevertheless. Am 02.07.21 um 02:56 schrieb Harlan Stenn: Inodes? df -i On 7/1/2021 5:07 PM, Steven Varco wrote: Hi All Since I configured dsync replication I get strange errors in the maillog on my two mail dovecot nodes: PRIMARY: Jul 2 01:21:42 mx01.example.com dovecot: doveadm: Error:

Re: dsync replication fails with No space left on device / Out of memory

2021-07-01 Thread Aki Tuomi
enn: > > Inodes? df -i > > > > On 7/1/2021 5:07 PM, Steven Varco wrote: > >> Hi All > >> > >> Since I configured dsync replication I get strange errors in the maillog > >> on my two mail dovecot nodes: > >> > >> PRIMARY: >

Re: dsync replication fails with No space left on device / Out of memory

2021-07-01 Thread Harlan Stenn
Inodes? df -i On 7/1/2021 5:07 PM, Steven Varco wrote: > Hi All > > Since I configured dsync replication I get strange errors in the maillog on > my two mail dovecot nodes: > > PRIMARY: > Jul 2 01:21:42 mx01.example.com dovecot: doveadm: Error: > read(mx02.exampl

dsync replication fails with No space left on device / Out of memory

2021-07-01 Thread Steven Varco
Hi All Since I configured dsync replication I get strange errors in the maillog on my two mail dovecot nodes: PRIMARY: Jul 2 01:21:42 mx01.example.com dovecot: doveadm: Error: read(mx02.example.com) failed: read(size=3148) failed: Connection reset by peer (last sent=mail, last recv=mail (EOL

Re: Panic -Dsync Replication

2021-06-06 Thread Aki Tuomi
Hi, you can remove it or leave it. 2 seconds is pretty low timeout though, so maybe set it bit higher? Aki > On 07/06/2021 09:43 Antonino Sidoti wrote: > > > Hi Aki, > > Do I remove replication_sync_timeout=2? > > > Antonino Sidoti > > > > > > > > On 7 Jun 2021, at 4:41 pm, Aki Tuom

Re: Panic -Dsync Replication

2021-06-06 Thread Antonino Sidoti
Hi Aki, Do I remove replication_sync_timeout=2? Antonino Sidoti > On 7 Jun 2021, at 4:41 pm, Aki Tuomi wrote: > >> >> On 07/06/2021 09:36 Antonino Sidoti wrote: >> >> >> Hi, >> >> I am seeing this; >> >> Jun 07 16:17:22 Warning: >> lmtp(n...@sidoti.id.au)<20211>: >> replication(n...

Re: Panic -Dsync Replication

2021-06-06 Thread Aki Tuomi
> On 07/06/2021 09:36 Antonino Sidoti wrote: > > > Hi, > > I am seeing this; > > Jun 07 16:17:22 Warning: > lmtp(n...@sidoti.id.au)<20211>: > replication(n...@sidoti.id.au): Sync failure: Timeout in 2 secs > Jun 07 16:17:22 Panic: replicator: data stack: Out of memory when allocating > 26

Panic -Dsync Replication

2021-06-06 Thread Antonino Sidoti
Hi, I am seeing this; Jun 07 16:17:22 Warning: lmtp(n...@sidoti.id.au)<20211>: replication(n...@sidoti.id.au): Sync failure: Timeout in 2 secs Jun 07 16:17:22 Panic: replicator: data stack: Out of memory when allocating 268435496 bytes Jun 07 16:17:22 Fatal: replicator: master: service(replica

Fwd: Dsync replication - delayed replication (Sync lock)

2020-09-07 Thread Daniel Botting
Daniel Forwarded Message Subject:Dsync replication - delayed replication (Sync lock) Date: Tue, 1 Sep 2020 16:17:15 +0100 From: Daniel Botting To: dovecot@dovecot.org Hi, *Our setup:* Two Debian 10 machines that are setup to replicate mail between them, we

Dsync replication - delayed replication (Sync lock)

2020-09-01 Thread Daniel Botting
Hi, *Our setup:* Two Debian 10 machines that are setup to replicate mail between them, we have round robin DNS setup so a user can connect to either server. *What should happen:* Mail is delivered to either server and replicated across straight away to their mailbox on the other server so i

Re: DSync replication error

2019-12-17 Thread 横山航平
Thank you Aki. I tried as follows, And it worked fine --- service aggregator { fifo_listener replication-notify-fifo { mode = 0777 } unix_listener replication-notify { mode = 0777 } } --- It was very helpful Thank you!

Re: DSync replication error

2019-12-16 Thread Aki Tuomi
> But replication gives an error > --- > Error: open(/var/run/dovecot/replication-notify-fifo) failed: Permission > denied > --- > > Why is this? > > By the way, When 30-dsync.conf is changed as follows, it works only for one > user > --- > service aggregator { > fifo_listener replication-n

DSync replication error

2019-12-16 Thread 横山航平
Please tell me about Dsync replicator. The following are set to enable the "replication" plug-in /etc/dovecot/conf.d/10-mail.conf *---mail_plugins = notify replication---* And I made the following file /etc/dovecot/conf.d/30-dsync.conf *---service replicator

Re: Potfix+Dovecot with dsync replication problem

2019-06-10 Thread Zeljko Dokman via dovecot
Hi all, Does enyone have a setup of postfix and dovecot with dsync replication that actually works? Best regards On Mon, May 6, 2019, 14:22 Zeljko Dokman wrote: > Hi all, > > I am in need of some help. > > Straggling to make something work, trying to configure postfix and

Fwd: Potfix+Dovecot with dsync replication problem

2019-06-05 Thread Zeljko Dokman via dovecot
Hi, Any ideas? Regards -- Forwarded message - From: Zeljko Dokman Date: Mon, 3 Jun 2019 at 13:14 Subject: Re: Potfix+Dovecot with dsync replication problem To: Hi all, I am still struggling with this issue. I scraped my previous configuration and started from beginning

Re: Potfix+Dovecot with dsync replication problem

2019-06-03 Thread Zeljko Dokman via dovecot
Hi all, I am still struggling with this issue. I scraped my previous configuration and started from beginning. Thanks to Aki Tuomi and his suggestion I changed the users in my configurations from vmail --> root and that helped. Now I have a working replication but with some problems and strange be

Re: Potfix+Dovecot with dsync replication problem

2019-05-13 Thread Aki Tuomi via dovecot
Your problem is that you are running service doveadm as vmail, but you are using real uids. You need to start doveadm server as root to be able to switch into the correct target user. Aki On 13.5.2019 11.26, Zeljko Dokman via dovecot wrote: > Hi all, > > Any suggestion? > > BR > > On Mon, 6 May

Re: Potfix+Dovecot with dsync replication problem

2019-05-13 Thread Zeljko Dokman via dovecot
Hi all, Any suggestion? BR On Mon, 6 May 2019 at 14:22, Zeljko Dokman wrote: > Hi all, > > I am in need of some help. > > Straggling to make something work, trying to configure postfix and > dovecote imap server with dovecote replication. > > Can’t figure out what is wrong with my configuratio

Potfix+Dovecot with dsync replication problem

2019-05-06 Thread Zeljko Dokman via dovecot
Hi all, I am in need of some help. Straggling to make something work, trying to configure postfix and dovecote imap server with dovecote replication. Can’t figure out what is wrong with my configuration. Replication is working only for vmail user account, I am getting this error on my seconda

iterate query and dsync replication 2.2.33.2

2018-10-08 Thread Matt Bryant
All, According to doco replication gets its list of users to replicate from the iterate query but this doesn't seem to be the case or its just being totally ignored .. Have ldap passbd and sql userdb, with the iterate query in the userdb sql file. -The query itself returns the handful of users I

dsync replication

2018-09-30 Thread Matt Bryant
We have a setup with ldap and sql passdbs and sql userdb, from my understanding of the documentation dsync repliction picks up the users to replicate via the iterate query. This query returns 646 users in sql (not everyone gets replicated) but when i run a doveadm replicator status Total number of

Re: Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)

2018-09-21 Thread Gerald Galster
Hi Jan, unfortunately no news on this topic after 6 months. I understand this bug might not be a top priority but perhaps someone from the dovecot team can clarify if they will investigate eventually or if we're on our own. Thanks, Gerald > Am 18.09.2018 um 23:20 schrieb Jan Münnich : > >

Re: Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)

2018-09-18 Thread Jan Münnich
Hi, Has anyone any idea how to solve or further debug this issue? It seems indeed that it was introduced in 2.2.34 and is still there in 2.3.2.1. I found a couple of posts for this on the mailing list and elsewhere, but no solution: When a message is retrieved and immediately expunged, it ge

Re: Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)

2018-08-02 Thread Gerald Galster
Hi Tim, > Do you have any new insights on the problem with reappearing mail using > dovecot replication + pop3? > > It's driving me mad. I'm running dovecot 2.2.34 (874deae) on OpenBSD and it > looks like I have the same problem as you have. unfortunately there has been no response, I'm stuck

Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)

2018-03-27 Thread Gerald Galster
Hello, consider the following setup with dovecot 2.2.35: smtp/587 (subject: test 1535) | | mx2a.example.com --> dsync/ssh --> mx2b.example.com | pop3 fetch/expunge (uid 23)

Re: dsync replication

2017-03-31 Thread Wolfgang Hennerbichler
I have a ~2000 user mailcluster on a rbd blockdevice backed by ceph, it’s distributed over ~8 disks and works without any issues for more than 3 years now. Ceph is not so fast as DRBD but more flexible. I would not expect any issues with DRBD, except for the problem that logical failures (e. g.

dsync replication

2017-03-31 Thread George Dimakopoulos
Is it stable for dovecot 2.2.27 to implement DRBD (or HAST) on block level for maildir data replication instead of using dsync plugin? Regards, George

Re: One way dsync replication with dsync -R

2017-03-24 Thread Wolfgang Hennerbichler
ot sure what happened when it sent through >>> the list. Trying again >>> >>> Blessings, >>> Rob Archibald >>> CTO, EndFirst LLC >>> r...@robarchibald.com >>> >>> >>> -Original Message----- >>> From: dove

Re: One way dsync replication with dsync -R

2017-03-24 Thread Rob Archibald
cot.org] On Behalf Of Rob Archibald >> Sent: Wednesday, March 22, 2017 3:55 PM >> To: 'Wolfgang Hennerbichler'; dovecot@dovecot.org >> Subject: RE: One way dsync replication with dsync -R >> >> I'm using dsync successfully to keep two nodes synchronized,

Re: One way dsync replication with dsync -R

2017-03-24 Thread Wolfgang Hennerbichler
> r...@robarchibald.com > > > -Original Message- > From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Rob Archibald > Sent: Wednesday, March 22, 2017 3:55 PM > To: 'Wolfgang Hennerbichler'; dovecot@dovecot.org > Subject: RE: One way dsync repl

RE: One way dsync replication with dsync -R

2017-03-22 Thread Rob Archibald
, 2017 3:55 PM To: 'Wolfgang Hennerbichler'; dovecot@dovecot.org Subject: RE: One way dsync replication with dsync -R I'm using dsync successfully to keep two nodes synchronized, but I have the same problems as you. When I first set it up, I purposely had my phone connected to

RE: One way dsync replication with dsync -R

2017-03-22 Thread Rob Archibald
ot proxy A ---> Send to Server A running Director ---> Connect on Server B Results === User 1, 4 - Server A User 2, 3 - Server B User 5, 6 - Server C User 7, 8 - Server D I would love to hear if others have gotten something like this working. Blessings, Rob Archibald CTO, EndFirst

One way dsync replication with dsync -R

2017-03-22 Thread Wolfgang Hennerbichler
Hi dovecot users, I’ve found the -R parameter for dsync. Does this enable one-way syncing if enabled on the slave in replication_dsync_parameters? The documentation doesn’t mention much what happens if I enable this on the “replciation slave”. Before you ask: Two way synchronisation causes is

Re: dsync replication quota2 issue

2016-10-12 Thread George Kontostanos
On Tue, Oct 11, 2016 at 2:31 PM, George Kontostanos wrote: > Hello list, > > We are testing a configuration with 2 mail servers using dsync replication > (dovecot 2.2.25 ). Everything works fine except the quota2 which is > calculated wrong only on one server. Quota2 reside

dsync replication quota2 issue

2016-10-11 Thread George Kontostanos
Hello list, We are testing a configuration with 2 mail servers using dsync replication (dovecot 2.2.25 ). Everything works fine except the quota2 which is calculated wrong only on one server. Quota2 resides on different databases since each server needs to update it. The problem: The local

dsync replication issue

2016-08-18 Thread Cédric ML
Hello, I'm facing a problem with dsync : replication between my two dovecot 2.2.10 servers (10.10.10.10 = serverA and 10.10.10.11 = serverB) is not done when a mail is received on any of the two servers. Sync is correctly working when running "doveadm [-D] sync -A tcp:10.10.10.10:1

duplicate Mails with dsync replication

2016-07-05 Thread Dennis Kuhn
Hi! We have some strange replication issues. Some mails are duplicated when expunged. This bug is quite hard to reproduce, it just happens occasionally. It seems somehow related to sieve. When i deleted the sieve script i could not reproduce this behavior. Here are some logs, mjm-100...@mydomain.

Re: [Dovecot] dsync replication errors

2015-09-08 Thread Timo Sirainen
On 08 Sep 2015, at 11:20, Sergey Schwartz wrote: > > I use mdbox and probably have similar issue, but in my case only shared > mailboxes were affected. Yes, shared mailboxes don't work nicely with replication. Replication is locking only the original user, so for shared mailboxes multiple dsy

Re: [Dovecot] dsync replication errors

2015-09-07 Thread Timo Sirainen
On 08 Sep 2015, at 01:16, Gedalya wrote: > > On 02/17/2013 03:21 AM, Timo Sirainen wrote: >> Although there's still some mail >> duplication problem with maildir that doesn't log any errors about it. >> I'm not sure why that happens. > > While you're around, Timo :-) > > I've had such an issue

Re: [Dovecot] dsync replication errors

2015-09-07 Thread Gedalya
On 02/17/2013 03:21 AM, Timo Sirainen wrote: Although there's still some mail duplication problem with maildir that doesn't log any errors about it. I'm not sure why that happens. While you're around, Timo :-) I've had such an issue recently with 2.2.18, using Maildir, where emails were being

Re: Duplicate mails with pop3 + dsync replication

2015-08-17 Thread Nikolaos Milas
On 17/8/2015 2:29 μμ, Wolfgang Hennerbichler wrote: I was wondering if the same behavior persists with latest version(s), for example 2.2.18. I don’t know, I have to deal with the packages that come with my distribution’s repository. >If so, how do you overcome this issue? What is the sugges

Re: Duplicate mails with pop3 + dsync replication

2015-08-17 Thread Nikolaos Milas
On 22/6/2015 9:49 am, Wolfgang Hennerbichler wrote: It turns out that if I enable this option: pop3_deleted_flag = "$POP3Deleted” The issue no longer persists. I have to manually expunge the kept mails that have been deleted via pop3 though: doveadm expunge mailbox INBOX KEYWORD '$POP3Deleted'

Re: Duplicate mails with pop3 + dsync replication

2015-06-21 Thread Wolfgang Hennerbichler
It turns out that if I enable this option: pop3_deleted_flag = "$POP3Deleted” The issue no longer persists. I have to manually expunge the kept mails that have been deleted via pop3 though: doveadm expunge mailbox INBOX KEYWORD '$POP3Deleted' -A Wolfgang > On 21 Jun 2015, at 21:05, Wolfgang He

Re: Duplicate mails with pop3 + dsync replication

2015-06-21 Thread Wolfgang Hennerbichler
FWIW I just tried the sdbox mailbox format for a singe user (not the whole installation) by overriding the mail-userattr via ldap and the problem persists, so I don’t think it’s an issue with maildir per se, but rather a pop3 / replication issue or a misconfiguration on my side. Wolfgang > On

Duplicate mails with pop3 + dsync replication

2015-06-20 Thread Wolfgang Hennerbichler
Hi, When I enable (and it only happens when it is actually running) replication over TCP my users get duplicate mails via pop3. Here’s what happens: * User gets mail * Mail appears in (Maildir) new/ folder on both replicas * user retrieves mail (retr), calls dele. Mail still exists in new/ fol

Some Dsync Replication Errors

2014-09-03 Thread Asai
Greetings, Working on setting up replication and ran into some errors I have questions about and wondering if there's something I need to change. This one is fairly common: Sep 3 12:58:25 molecular dovecot: dsync-server(u...@domain.org): Warning: Failed to do incremental sync for mailbox IN

Re: Dsync replication one-way

2014-07-03 Thread Timo Sirainen
On 24.6.2014, at 18.04, Muriel wrote: > Hi all, > I know that I can do a backup using doveadm: > doveadm backup -u user ssh backup.server doveadm dsync-server -u user > > But it's possible to use replicator service to do the same job? Or dsync with > replicator can only be used in a two-way env

Dsync replication one-way

2014-06-24 Thread Muriel
Hi all, I know that I can do a backup using doveadm: doveadm backup -u user ssh backup.server doveadm dsync-server -u user But it's possible to use replicator service to do the same job? Or dsync with replicator can only be used in a two-way environment? Thanks, Muriel

Re: [Dovecot] Pigeonhole and dsync replication not replicating 'SETACTIVE' for a sieve script

2014-06-15 Thread Stephan Bosch
On 6/2/2014 11:11 PM, Skeffling wrote: > Hello, > > I'm testing dovecot replication alongside pigeonhole and liking it. > > Dovecot v2.2.13 > Pigeonhole v0.4.3 > > If I create or edit a sieve script on one server (via managesieve, using > the thunderbird plugin as it happens) then it does get

[Dovecot] Pigeonhole and dsync replication not replicating 'SETACTIVE' for a sieve script

2014-06-02 Thread Skeffling
Hello, I'm testing dovecot replication alongside pigeonhole and liking it. Dovecot v2.2.13 Pigeonhole v0.4.3 If I create or edit a sieve script on one server (via managesieve, using the thunderbird plugin as it happens) then it does get replicated to the other - great! However, if I set a

Re: [Dovecot] dsync replication does not replicate new subfolders

2014-05-08 Thread Timo Sirainen
On 16.4.2014, at 10.26, Nikolaos Milas wrote: > I decided I should create a new one dedicated on it because that thread > includes other issues as well, and the issue in question still remains > unresolved although it is an important one (and I am hoping to attract Timo's > attention on it, to

[Dovecot] dsync replication does not replicate new subfolders

2014-04-16 Thread Nikolaos Milas
Hello, Although this issue has been raised in another thread: https://www.mail-archive.com/dovecot@dovecot.org/msg57281.html I decided I should create a new one dedicated on it because that thread includes other issues as well, and the issue in question still remains unresolved although it

Re: [Dovecot] dsync replication questions

2014-04-07 Thread Teemu Huovila
On 04/07/2014 12:22 PM, Simon Fraser wrote: > Thank you. Is it still only the changes that are synced each way, or > the entire mailbox? I'm trying to gauge the performance hit for enabling > this on larger mailboxes. (I could, of course, run some tests, but > someone may already have done that) C

Re: [Dovecot] dsync replication questions

2014-04-07 Thread Simon Fraser
On Fri, 2014-04-04 at 15:41 +0300, Teemu Huovila wrote: > Hi > > On 04/04/2014 03:38 PM, Simon Fraser wrote: > > It does help, thank you. Do you also know what the '-f' option does? > According to the dsync-man page it: > > Makes dsync run in "full sync" mode rather than "fast sync" mode. In fas

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Teemu Huovila
Hi On 04/04/2014 03:38 PM, Simon Fraser wrote: > It does help, thank you. Do you also know what the '-f' option does? According to the dsync-man page it: Makes dsync run in "full sync" mode rather than "fast sync" mode. In fast sync mode dsync might skip syncing a mailbox, if both locations had

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Simon Fraser
On Fri, 2014-04-04 at 15:34 +0300, Teemu Huovila wrote: > -d Use a default location for the replica. As far as I can tell this is > obtained from userdb variable mail_replica. > -N Sync all (visible?) namespaces (only makes sense when syncing with a > remote host, with potentially different name

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Teemu Huovila
y a short answer based on my limited familiarity with the dsync replication functionality and code. -d Use a default location for the replica. As far as I can tell this is obtained from userdb variable mail_replica. -N Sync all (visible?) namespaces (only makes sense when syncing with a remot

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Nikolaos Milas
On 4/4/2014 1:17 μμ, Alan McGinlay wrote: It does appear to be completely undocumented, We would appreciate if Timo can kindly provide us with -at least- some details! I tried looking in the source code but just ended up going in circles (i'm not familiar with it at all). I faced the sa

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Alan McGinlay
On 2014-04-04 11:42, Nikolaos Milas wrote: On 31/3/2014 12:03 μμ, Simon Fraser wrote: On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: >Question 2a: What do options "-d -N -l 30 -U" signify in >"replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Nikolaos Milas
On 31/3/2014 12:03 μμ, Simon Fraser wrote: On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: >Question 2a: What do options "-d -N -l 30 -U" signify in >"replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to this part. I found mention of the '-f' o

Re: [Dovecot] dsync replication questions

2014-03-31 Thread Simon Fraser
On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: > Question 2a: What do options "-d -N -l 30 -U" signify in > "replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to this part. I found mention of the '-f' option, and adding '-f' to that list appears

Re: [Dovecot] dsync replication questions

2014-03-29 Thread Nikolaos Milas
On 28/3/2014 10:40 μμ, Nikolaos Milas wrote: When I started the server (vmail.example.com), mirroring started and completed fine (after a few hours). However, since then, I am not seeing a continued mirroring between the two. I would expect changes to one of the masters to be propagated in r

Re: [Dovecot] dsync replication questions

2014-03-28 Thread Nikolaos Milas
On 28/3/2014 11:58 πμ, Nikolaos Milas wrote: When I started the server (vmail.example.com), mirroring started and completed fine (after a few hours). However, since then, I am not seeing a continued mirroring between the two. I would expect changes to one of the masters to be propagated in r

[Dovecot] dsync replication questions

2014-03-28 Thread Nikolaos Milas
I am running two servers with Dovecot v2.2.12 on CentOS x86_64 (5.10 and 6.5 respectively) and users are virtual over ldap. I have setup our main internal server (vmail.example.com) with dsync replication according to the first part of http://wiki2.dovecot.org/Replication. The second one

[Dovecot] Dsync replication with LDAP and auth_bind=yes

2014-03-02 Thread Michał Franczak
Hello, I have working dovecot configuration with LDAP based authentication in Active Directory. I'd like to use dsync replication but dovecot can't do user lookups. Is it possible to configure replication in such architecture? doveadm user '*' Returns only one local do

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Nicolas ROCHE
rt = 995 ssl = yes } } service replicator { process_min_avail = 1 } ssl_cert = mailto:dovecot-boun...@dovecot.org] De la part de Charles Marcus Envoyé : lundi 27 mai 2013 18:17 À : dovecot@dovecot.org Objet : Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Charles Marcus
On 2013-05-27 11:33 AM, Nicolas ROCHE wrote: I checked my config and I can say that I am using dovecot LDA : In /etc/postfix/main.cf I use "virtual_transport = dovecot" In /etc/postfix/master.cf I use : dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Nicolas ROCHE
On 27.5.2013, at 17.50, Nicolas ROCHE wrote: >> I have two linux serveurs (Oracle RHEL 5 86_64) and I install both sides >> dovecot (V2.2.2+), postfix (2.10.0) and mysql (Ver 14.12 Distrib 5.0.77). >> I configured these servers in order to make them replicate, and I created >> some virtual use

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Timo Sirainen
On 27.5.2013, at 17.50, Nicolas ROCHE wrote: >> I have two linux serveurs (Oracle RHEL 5 86_64) and I install both sides >> dovecot (V2.2.2+), postfix (2.10.0) and mysql (Ver 14.12 Distrib 5.0.77). >> I configured these servers in order to make them replicate, and I created >> some virtual user

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Nicolas ROCHE
> I have two linux serveurs (Oracle RHEL 5 86_64) and I install both sides > dovecot (V2.2.2+), postfix (2.10.0) and mysql (Ver 14.12 Distrib 5.0.77). > I configured these servers in order to make them replicate, and I created > some virtual users. > I use some java code in order to send mail (wi

Re: [Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Timo Sirainen
On 27.5.2013, at 17.09, Nicolas ROCHE wrote: > I have two linux serveurs (Oracle RHEL 5 86_64) and I install both sides > dovecot (V2.2.2+), postfix (2.10.0) and mysql (Ver 14.12 Distrib 5.0.77). > I configured these servers in order to make them replicate, and I created > some virtual users. >

[Dovecot] Problem with dsync replication : mails are not deleted correctly

2013-05-27 Thread Nicolas ROCHE
Hello, I would like to configure a postfix / dovecot cluster based on ssh / dsync replication. I have two linux serveurs (Oracle RHEL 5 86_64) and I install both sides dovecot (V2.2.2+), postfix (2.10.0) and mysql (Ver 14.12 Distrib 5.0.77). I configured these servers in order to make them

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
On Mon, 8 Apr 2013 15:14:18 +0300 Timo Sirainen wrote: > > ok, thanks for the clarification. Using two different tables does > > the trick. I'll probably also have to disable the quota-warning > > scripts on one of the servers. Currently, both servers run the > > script when a account goes overqu

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 14.56, Oli Schacher wrote: > On Mon, 8 Apr 2013 13:15:54 +0300 > Timo Sirainen wrote: > > >> There's no way to make quota work reliably that way. You need to use >> different quota backends. Either two mysql databases (or tables), or >> the other Dovecot could simply be using a

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
On Mon, 8 Apr 2013 13:15:54 +0300 Timo Sirainen wrote: > There's no way to make quota work reliably that way. You need to use > different quota backends. Either two mysql databases (or tables), or > the other Dovecot could simply be using a dict file quota. > ok, thanks for the clarification.

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 13.05, Oli Schacher wrote: > I enabled quota + warnings in my replication test setup and now > whenever a mail gets delivered the quota is counted twice (probably due > to both servers using the same mysql quota backend) Yes. Dovecot doesn't know that they are the same quota back

[Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
Hi I enabled quota + warnings in my replication test setup and now whenever a mail gets delivered the quota is counted twice (probably due to both servers using the same mysql quota backend) and quota warnings are fired too early. After a doveadm quota recalc -u the quota is correct again. How do

Re: [Dovecot] dsync replication: assertion failed: (ibc->value_input == NULL)

2013-03-25 Thread Timo Sirainen
On 25.3.2013, at 9.31, Oli Schacher wrote: > current hg (33e78edac8f5) > > Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(): Panic: file > dsync-ibc-stream.c: line 527 (dsync_ibc_stream_input_next): assertion failed: > (ibc->value_input == NULL) Fixed: http://hg.dovecot.org/dovecot-2.2

[Dovecot] dsync replication: assertion failed: (ibc->value_input == NULL)

2013-03-25 Thread Oli Schacher
current hg (33e78edac8f5) Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(): Panic: file dsync-ibc-stream.c: line 527 (dsync_ibc_stream_input_next): assertion failed: (ibc->value_input == NULL) Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(): Error: Raw backtrace: /usr/lib64/dovec

Re: [Dovecot] Public folders and dsync replication Dovecot v2.1.7

2013-02-21 Thread Timo Sirainen
On 21.2.2013, at 20.19, Steve Brown wrote: > I have a few public folders setup and working fine, and one such public > folder is 'Public/General'. I'm trying to sort dsync replication out to > another server and notice that the system log is full of error messages &g

Re: [Dovecot] Public folders and dsync replication Dovecot v2.1.7

2013-02-21 Thread Robert Schetterer
Am 21.02.2013 19:19, schrieb Steve Brown: > Dear all > > I have a few public folders setup and working fine, and one such public > folder is 'Public/General'. I'm trying to sort dsync replication out to > another server and notice that the system log is full

[Dovecot] Public folders and dsync replication Dovecot v2.1.7

2013-02-21 Thread Steve Brown
Dear all I have a few public folders setup and working fine, and one such public folder is 'Public/General'. I'm trying to sort dsync replication out to another server and notice that the system log is full of error messages similar to: dovecot: doveadm: Error: dsync-remote(

Re: [Dovecot] dsync replication errors

2013-02-19 Thread Timo Sirainen
On 19.2.2013, at 13.48, Charles Marcus wrote: > On 2013-02-18 10:39 PM, Timo Sirainen wrote: >> On 18.2.2013, at 23.50, Michael Grimm wrote: >>> With "doveconf -H dovecot%9d" I do end in tons of reported collisions like >>> ... >>> | doveconf: Error: Duplicate host hashes: dovecot1368344 and d

Re: [Dovecot] dsync replication errors

2013-02-19 Thread Charles Marcus
On 2013-02-18 10:39 PM, Timo Sirainen wrote: On 18.2.2013, at 23.50, Michael Grimm wrote: With "doveconf -H dovecot%9d" I do end in tons of reported collisions like ... | doveconf: Error: Duplicate host hashes: dovecot1368344 and dovecot2055005 | doveconf: Error: Duplicate host hashes: dovecot

Re: [Dovecot] dsync replication errors

2013-02-18 Thread Timo Sirainen
On 18.2.2013, at 23.50, Michael Grimm wrote: >> % doveconf -H dovecot%2d >> No duplicate host hashes in dovecot0 .. dovecot99 > > With "doveconf -H dovecot%9d" I do end in tons of reported collisions like ... > | doveconf: Error: Duplicate host hashes: dovecot1368344 and dovecot2055005 > | dovec

Re: [Dovecot] dsync replication errors

2013-02-18 Thread Michael Grimm
On 18.02.2013, at 07:07, Timo Sirainen wrote: > On 17.2.2013, at 22.04, Michael Grimm wrote: >> First of all: whenever you referred to "hostname" in this thread you have >> been using it as a synonym for the local part [1] of a FQDN, right? > > I mean what gethostname() function returns, which

Re: [Dovecot] dsync replication errors

2013-02-18 Thread Michael Grimm
On 18.02.2013, at 07:49, Timo Sirainen wrote: > On Sun, 2013-02-17 at 12:30 +0200, Timo Sirainen wrote: >> (So yeah, ideally there should be checks for detecting hostname hash >> collisions..) > > Added to v2.2 hg: > > % doveconf -H dovecot%2d > No duplicate host hashes in dovecot0 .. dovecot9

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Timo Sirainen
On Sun, 2013-02-17 at 12:30 +0200, Timo Sirainen wrote: > (So yeah, ideally there should be checks for detecting hostname hash > collisions..) Added to v2.2 hg: % doveconf -H dovecot%d No duplicate host hashes in dovecot0 .. dovecot9 % doveconf -H dovecot%2d No duplicate host hashes in dovecot0

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Timo Sirainen
On 17.2.2013, at 22.04, Michael Grimm wrote: > On 17.02.2013, at 11:08, Timo Sirainen wrote: > >> There may be some other features that require unique hostnames in >> future. Anything where multiple Dovecot servers need to communicate >> between each others. > > I'd like to come back to that i

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Michael Grimm
On 17.02.2013, at 21:04, Michael Grimm wrote: > BTW: I had had defined "hostname=" in dovecot.conf identically using > completely different *but* identical FQDNs "mail.my-domain.tld" because of: s/using completely different/using completely different to locally reported by resolver/g Regards

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Reindl Harald
Am 17.02.2013 21:04, schrieb Michael Grimm: > On 17.02.2013, at 11:08, Timo Sirainen wrote: > >> There may be some other features that require unique hostnames in >> future. Anything where multiple Dovecot servers need to communicate >> between each others. > > I'd like to come back to that is

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Michael Grimm
On 17.02.2013, at 11:08, Timo Sirainen wrote: > There may be some other features that require unique hostnames in > future. Anything where multiple Dovecot servers need to communicate > between each others. I'd like to come back to that issue in order to understand your statement cited below.

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Reindl Harald
Am 17.02.2013 11:08, schrieb Timo Sirainen: >> What parts of Dovecot would be involved? I'm curious because my production >> mailservers use identical hostnames in their jails ever since running >> Dovecot (starting 1.x). > > Mainly that maildir filenames are used as GUIDs. If two have the sam

Re: [Dovecot] dsync replication errors

2013-02-17 Thread Timo Sirainen
On 17.2.2013, at 12.19, Michael Grimm wrote: > On 17.02.2013, at 11:08, Timo Sirainen wrote: >> On Sun, 2013-02-17 at 10:44 +0100, Michael Grimm wrote: > Although even if it does, other parts of Dovecot still use only the hostname part to guarantee global uniqueness of things. So bet

  1   2   >