Re: dovecot replication

2024-07-12 Thread Jeff Pang via dovecot
That's a nice suggestion. Thanks John. On Fri, Jul 12, 2024 at 11:25 PM John Fawcett via dovecot wrote: > > > On 12/07/2024 13:05, Jeff Pang via dovecot wrote: > > Hello, > > > > Does the community version of dovecot have the replication feature? > > When one dovecot was down, another one could t

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 21:14, James Cook wrote: On Fri, Jul 12, 2024 at 06:28:13PM GMT, John Fawcett via dovecot wrote: Hi James I want to avoid the -1 parameter because it doesn't do deletes in the target. -l, not -1. Thanks I missed that - so locking can be done within Dovecot John __

Re: dovecot replication

2024-07-12 Thread Michael Slusarz via dovecot
> On 07/12/2024 1:14 PM MDT James Cook via dovecot wrote: > > On Fri, Jul 12, 2024 at 06:28:13PM GMT, John Fawcett via dovecot wrote: > >Hi James > > > >I want to avoid the -1 parameter because it doesn't do deletes in the > >target. > > -l, not -1. No, it's -1 - as in one(1)-way sync. -l (low

Re: dovecot replication

2024-07-12 Thread James Cook via dovecot
On Fri, Jul 12, 2024 at 06:28:13PM GMT, John Fawcett via dovecot wrote: Hi James I want to avoid the -1 parameter because it doesn't do deletes in the target. -l, not -1. As for the lda to doveadm sync script, I have been wondering too about how to close the gap for emails arriving between

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 17:38, James Cook via dovecot wrote: Replication is in the current dovecot version but will go away in 2.4. The doveadm sync feature is staying. So with some work you can set it up what you are requesting. I used to use replication and now I'm thinking about using sync but hav

Re: dovecot replication

2024-07-12 Thread James Cook via dovecot
Replication is in the current dovecot version but will go away in 2.4. The doveadm sync feature is staying. So with some work you can set it up what you are requesting. I used to use replication and now I'm thinking about using sync but have not implemented it. The following are thoughs on it

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 13:05, Jeff Pang via dovecot wrote: Hello, Does the community version of dovecot have the replication feature? When one dovecot was down, another one could take over the tasks. Thanks. _ Jeff Replication is in t

dovecot replication

2024-07-12 Thread Jeff Pang via dovecot
Hello, Does the community version of dovecot have the replication feature? When one dovecot was down, another one could take over the tasks. Thanks. _ Your E-Mail. Your Cloud.

Re: dovecot replication problem

2024-07-04 Thread James via dovecot
Hi, I am experiencing similar error messages when setting passdb to mechanisms = plain login. More details can be found at https://github.com/orgs/docker-mailserver/discussions/3836. I hope this information helps. Regards, James On 5/07/2024 02:32, Oliver Krone via dovecot wrote: Hi the

dovecot replication problem

2024-07-04 Thread Oliver Krone via dovecot
Hi there, I'm experiencing the following when I replicate mails between two host, using different versions of dovecot: *Host A                        Host B result* dovecot-2.3-19 -->      dovecort-2.3.16      ERROR: auth: Error: All password databases were skipped.             dovea

dovecot replication crashing

2023-03-27 Thread Heiko Schlittermann
Hi, I'm a but clueless, having issues with replication. `doveadm dsync -u hans` works. But using the following replication setup, I see coredumps. Where to go next? Interestingly not for all users. (For testing purposes I've only 2 users. One having about 20 messages: here even the replication

Re: dovecot replication - new and cur folders on mx1 and mx2

2023-01-17 Thread Gerben Wierda
a.rna.nl/the-book/> > Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > >> On 15 Jan 2023, at 23:12, Tomaz Kavcic > <mailto:tomaz.kav...@futurion.si>> wrote: >> >> Hello, >> >> I have a question in regards to specific dovecot

Re: dovecot replication - new and cur folders on mx1 and mx2

2023-01-17 Thread Gerben Wierda
e a question in regards to specific dovecot replication behaviour and > I'm just wondering if this is actually an expected/normal behaviour, or just > a version issue. > > I'm using dovecot 2.3.16 which is packed by default with latest Ubuntu > 22.04.1 LTS server release.

dovecot replication - new and cur folders on mx1 and mx2

2023-01-15 Thread Tomaz Kavcic
Hello, I have a question in regards to specific dovecot replication behaviour and I'm just wondering if this is actually an expected/normal behaviour, or just a version issue. I'm using dovecot 2.3.16 which is packed by default with latest Ubuntu 22.04.1 LTS server releas

Re: dovecot replication on dovecot v 2.3.8

2022-03-26 Thread Stephane Magnier
Just a prcision... maybe I misunderstood point I saw in different posts, that an RSYNC may corrupt the database and cause trouble... therefore, we need a replication system. 1) I have  2 different servers, running (email server with dovecot) .. Server 1 and Server 2 ( backup system) . if they

dovecot replication on dovecot v 2.3.8

2022-03-26 Thread Stephane Magnier
Hi, I am trying using a replication. Here is my config : 10-mail.conf. Before going " on real life " I try to make a very basic example... but without any success :-(   bad start I took the config example on dovecot wiki The idea is to replicate the user: "user1" on a different server IP 17

Re: Strange errors with Dovecot replication

2021-12-01 Thread Claudio Corvino
Here it is: /# ls -l /var/www/html/ooo/its-test total 12 -rw-rw-r-- 1 vmail    vmail  549 nov 18 17:36 OoO.sieve lrwxrwxrwx 1 vmail    vmail    9 nov 25 15:38 script -> OoO.sieve -rw-rw-r-- 1 vmail    vmail  160 nov 25 12:38 script.svbin drwxrwxr-x 2 www-data vmail 4096 dic  1 07:41 tmp/ Inside

Re: Strange errors with Dovecot replication

2021-12-01 Thread Christian Mack
Hello What have you stored in /var/www/html/ooo/its-test? Kind regards, Christian Mack Am 01.12.21 um 09:27 schrieb Claudio Corvino: > Hi, > > nobody can help here? > > Thanks > > On 02/11/21 15:47, Claudio Corvino wrote: >> >> Hi, >> >> I have two IMAP/LMTP Dovecot server in replica (version

Re: Strange errors with Dovecot replication

2021-12-01 Thread Claudio Corvino
Hi, nobody can help here? Thanks On 02/11/21 15:47, Claudio Corvino wrote: Hi, I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1) for testing purposes, both connected through an IPsec tunnel, I use LDAP/AD for /userdb, /all seems to work fine except for these errors present

Strange errors with Dovecot replication

2021-11-02 Thread Claudio Corvino
Hi, I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1) for testing purposes, both connected through an IPsec tunnel, I use LDAP/AD for /userdb, /all seems to work fine except for these errors present in logs every day: NODE A: /doveadm: Error: sieve: file storage: utime(/var/w

AW: Monitoring Dovecot Replication

2021-02-18 Thread MK
to monitor this. OpenNMS polls this check every 5 > min and if it gives a fail result > I have an alarm. Maybe this helps a little bit to understand my problem. > > Regards, > Oliver > > -Ursprüngliche Nachricht- > Von: dovecot [mailto:dovecot-boun...@dovecot.org

Re: Monitoring Dovecot Replication

2021-02-18 Thread David Morsberger
result > I have an alarm. Maybe this helps a little bit to understand my problem. > > Regards, > Oliver > > -Ursprüngliche Nachricht- > Von: dovecot [mailto:dovecot-boun...@dovecot.org] Im Auftrag von Andrea > Gabellini > Gesendet: Montag, 15. Februar 2021 11:04 > An: S

AW: Monitoring Dovecot Replication

2021-02-18 Thread MK
this helps a little bit to understand my problem. Regards, Oliver -Ursprüngliche Nachricht- Von: dovecot [mailto:dovecot-boun...@dovecot.org] Im Auftrag von Andrea Gabellini Gesendet: Montag, 15. Februar 2021 11:04 An: Steven Varco; dovecot@dovecot.org Betreff: Re: Monitoring Dovecot Repli

Re: Monitoring Dovecot Replication

2021-02-15 Thread Andrea Gabellini
Hello, here my script. I'm not a professional programmer... ;-) Andrea Il 12/02/21 17:53, Steven Varco ha scritto: > Hi Andrea > > It would be great if oyu could post that here, as I (and possibly others) > would also be interested. :) > > thanks, > Steven > -- __ hAS

Re: Monitoring Dovecot Replication

2021-02-12 Thread Steven Varco
mode). > > If you want to try it I can send it to you. > > Andrea > > Il 12/02/21 11:47, MK ha scritto: >> Hello, >> >> I have a cluster with two dovecot nodes with dovecot replication between >> them. >> The setup works fine and now I&#

Re: Monitoring Dovecot Replication

2021-02-12 Thread Andrea Gabellini
Hello, I wrote a little script for Check_MK (MRPE mode). If you want to try it I can send it to you. Andrea Il 12/02/21 11:47, MK ha scritto: > Hello, > > I have a cluster with two dovecot nodes with dovecot replication between > them. > The setup works fine and now I'm

Monitoring Dovecot Replication

2021-02-12 Thread MK
Hello, I have a cluster with two dovecot nodes with dovecot replication between them. The setup works fine and now I'm searching for a way to monitor the users so that I can get an information if the replication fails for one user for a longer time and I have to trigger the replic

Re: Dovecot Replication Errors (only) when using tcps: as the mail_replica Protocol

2020-12-18 Thread Philipp Faeustlin
Am 19.11.20 um 09:30 schrieb James Pattinson: On 18/11/2020 19:37, Aakash Patel wrote: Hello, I have two mail servers and am also experiencing sporadic replication errors over tcps, similar to Reuben. Each server is running Dovecot 2.3.11.3 (502c39af9) on Debian 10.6. *Log entries from MX1

Re: Dovecot Replication Errors (only) when using tcps: as the mail_replica Protocol

2020-11-19 Thread James Pattinson
On 18/11/2020 19:37, Aakash Patel wrote: Hello, I have two mail servers and am also experiencing sporadic replication errors over tcps, similar to Reuben. Each server is running Dovecot 2.3.11.3 (502c39af9) on Debian 10.6. *Log entries from MX1* Nov 18 00:39:26 mx1 dovecot: dsync-local(u.

Re: Dovecot Replication Errors (only) when using tcps: as the mail_replica Protocol

2020-11-18 Thread Aakash Patel
Hello, I have two mail servers and am also experiencing sporadic replication errors over tcps, similar to Reuben. Each server is running Dovecot 2.3.11.3 (502c39af9) on Debian 10.6. *Log entries from MX1* Nov 18 00:39:26 mx1 dovecot: dsync-local(u...@example.com): Error: dsync(mx2.example.c

Re: Dovecot replication not picking up new mail in maildir

2020-10-27 Thread jayare-dcml
On 10/27/2020 7:56 AM, Aki Tuomi wrote: On 27/10/2020 14:49 jayare-dcml at outlook.com wrote: On 26/10/2020 19:25, John Fawcett wrote: On 25/10/2020 17:19, jayare~dcml at videocoding.org wrote: I've got a basic dovecot master-master replication setup between two servers (imap1 and imap2). A

Re: Dovecot replication not picking up new mail in maildir

2020-10-27 Thread Aki Tuomi
> On 27/10/2020 14:49 Justin Ridge wrote: > > > On 26/10/2020 19:25, John Fawcett wrote: > > On 25/10/2020 17:19, jayare~dcml at videocoding.org wrote: > >> I've got a basic dovecot master-master replication setup between two > >> servers (imap1 and imap2). Actions such as deleting messages or

Re: Dovecot replication not picking up new mail in maildir

2020-10-27 Thread Aki Tuomi
> On 27/10/2020 14:49 Justin Ridge wrote: > > > On 26/10/2020 19:25, John Fawcett wrote: > > On 25/10/2020 17:19, jayare~dcml at videocoding.org wrote: > >> I've got a basic dovecot master-master replication setup between two > >> servers (imap1 and imap2). Actions such as deleting messages or

Re: Dovecot replication not picking up new mail in maildir

2020-10-27 Thread Justin Ridge
On 26/10/2020 19:25, John Fawcett wrote: > On 25/10/2020 17:19, jayare~dcml at videocoding.org wrote: >> I've got a basic dovecot master-master replication setup between two >> servers (imap1 and imap2). Actions such as deleting messages or moving >> them between folders are replicated correctly an

Re: Dovecot replication not picking up new mail in maildir

2020-10-26 Thread John Fawcett
On 25/10/2020 17:19, jayare~d...@videocoding.org wrote: > I've got a basic dovecot master-master replication setup between two > servers (imap1 and imap2). Actions such as deleting messages or moving > them between folders are replicated correctly and quickly. > > However, when new mail is delivere

Dovecot replication not picking up new mail in maildir

2020-10-25 Thread jayare~dcml
I've got a basic dovecot master-master replication setup between two servers (imap1 and imap2). Actions such as deleting messages or moving them between folders are replicated correctly and quickly. However, when new mail is delivered by postfix, replication does not occur until something else

dovecot replication and pop3 deletion

2020-07-30 Thread Nigel Metheringham
Hi, I am investigating the use of dovecot for a voicemail storage system (which is effectively a SMTP/POP3 system), which we want to use replication to give us some resilience. Tests have mostly been on dovecot 2.3.8 (9df20d2db) - as packaged on Centos 8 - but I have also used a couple of si

Dovecot Replication Errors (only) when using tcps: as the mail_replica Protocol

2020-06-12 Thread Reuben Farrelly
Hi, I've been seeing errors logged for some time with replication processes, whereby replication sessions seem to be timing out periodically. This is with dovecot version 2.3.10.1 (a3d0e1171) and both are Gentoo x86_64. After some investigation I've determined that these timeouts are only

Re: Using dovecot Replication in a medium to large enterprise.

2019-11-28 Thread @lbutlr via dovecot
On 28 Nov 2019, at 00:35, Brent Clark wrote: > We have in excess of +/- 500 mail boxes and using just under 1TB of disk > space. That is a lot of small files. That’s honestly pretty small. When it says "it's not recommended to be used in multi-million user installations” You are several orders

Re: Using dovecot Replication in a medium to large enterprise.

2019-11-28 Thread Adi Pircalabu via dovecot
On 2019-11-28 18:35, Brent Clark via dovecot wrote: Good day Guys Just wanted to pick the communities brain and experience(s) for a second. At $CORP where I work. My team has inherited a single server mail solution. We need to look to building a standby / replicated solution. One of the t

Re: Using dovecot Replication in a medium to large enterprise.

2019-11-28 Thread Edgaras Lukoševičius via dovecot
nterprise) how and if this solution works and scales. In short, I am asking, is anyone else using Dovecot Replication in a medium to large enterprise? Can you please share your experiences, pitfalls and if you have any tips managing mail replication. Kindest regards and thanks in advance. Brent Clark

Using dovecot Replication in a medium to large enterprise.

2019-11-27 Thread Brent Clark via dovecot
ecommended to be used in multi-million user installations." "WARNING: Shared folder replication doesn't work correctly right now –" I would like to ask the community (and anyone else in a similar enterprise) how and if this solution works and scales. In short, I am asking

Re: Dovecot replication and userdb "noreplicate".

2019-08-06 Thread Reio Remma via dovecot
On 07/08/2019 09:29, Sami Ketola wrote: On 6 Aug 2019, at 23.52, Reio Remma via dovecot wrote: service doveadm { user = vmail } This seems to have fixed it. Here's hoping for no unforeseen side-effects. :) I still need allow dovecot_t ssh_exec_t:file { execute execute_no_trans open re

Re: Dovecot replication and userdb "noreplicate".

2019-08-06 Thread Sami Ketola via dovecot
> On 6 Aug 2019, at 23.52, Reio Remma via dovecot wrote: > > service doveadm { > user = vmail > } > > This seems to have fixed it. Here's hoping for no unforeseen side-effects. :) > > I still need allow dovecot_t ssh_exec_t:file { execute execute_no_trans open > read }; for selinux, but

Re: Dovecot replication and userdb "noreplicate".

2019-08-06 Thread Reio Remma via dovecot
elinux Aki For replication over SSH I had to add the following module: module selinux-dovecot-replication-ssh 1.0; require { type ssh_exec_t; type ssh_home_t; type dovecot_t; class file { open read execute execute_no_trans }; class dir { getattr

Re: Dovecot replication and userdb "noreplicate".

2019-08-06 Thread Reio Remma via dovecot
dd the following module: module selinux-dovecot-replication-ssh 1.0; require { type ssh_exec_t; type ssh_home_t; type dovecot_t; class file { open read execute execute_no_trans }; class dir { getattr search }; } #= dovecot_t ==

dovecot 2.3.6 on FreeBSD 12.0-RELEASE inside a JAIL does not see dovecot/replication-notify-fifo

2019-07-12 Thread Lars Schotte via dovecot
Hi, I see dovecot[47939]: imap(gus...@gustik.eu)<48079>: Error: open(/var/run/dovecot/replication-notify-fifo) failed: No such file or directory even though, right after: Jul 12 13:54:41 madarka dovecot[47939]: aggregator: Error: Client sent invalid input when I send echo 1 >

Re: Dovecot replication and userdb "noreplicate".

2019-06-24 Thread Reio Remma via dovecot
Aki For replication over SSH I had to add the following module: module selinux-dovecot-replication-ssh 1.0; require { type ssh_exec_t; type ssh_home_t; type dovecot_t; class file { open read execute execute_no_trans }; class dir { get

Re: Dovecot replication and userdb "noreplicate".

2019-06-23 Thread Aki Tuomi via dovecot
On 22.6.2019 22.00, Reio Remma via dovecot wrote: > Hello! > > I finally took the time and spent two days to set up replication for > my server and now I have a question or two. > > I initially set noreplicate userdb field to 1 for all but a test user, > but I could still see in the logs that all

Dovecot replication and userdb "noreplicate".

2019-06-22 Thread Reio Remma via dovecot
Hello! I finally took the time and spent two days to set up replication for my server and now I have a question or two. I initially set noreplicate userdb field to 1 for all but a test user, but I could still see in the logs that all mailboxes were trying to connect to the other server via S

Dovecot replication does not replicate subscription in shared mailboxes

2018-03-23 Thread Ralf Becker
We use a pair of replicating Dovecot servers. If a user subscribes to a folder, shared by an other user, in one replica, that does not get replicated to the other node. Subscription of regular folders below INBOX seem to replicate correctly. Is that a general bug, a known problem or do we need to

Re: Occasional lock timeouts on Linode VM with Dovecot Replication

2016-07-30 Thread Reuben Farrelly
Hi again, Thanks for your response William, answers inline: On 21/07/2016 1:58 AM, William L. Thomson Jr. wrote: Reuben, On Sunday, July 17, 2016 04:18:45 PM Reuben Farrelly wrote: I've been seeing periodic entries in my dovecot logs like this: dovecot[3464]: dsync-server(kaylene): Error: Co

Re: Occasional lock timeouts on Linode VM with Dovecot Replication

2016-07-20 Thread William L. Thomson Jr.
Reuben, On Sunday, July 17, 2016 04:18:45 PM Reuben Farrelly wrote: > I've been seeing periodic entries in my dovecot logs like this: > > dovecot[3464]: dsync-server(kaylene): Error: Couldn't lock > /home/kaylene/.dovecot-sync.lock: Timed out after 30 seconds: 3 Time(s) > dovecot[3464]: dsync-ser

Occasional lock timeouts on Linode VM with Dovecot Replication

2016-07-16 Thread Reuben Farrelly
I've been seeing periodic entries in my dovecot logs like this: dovecot[3464]: dsync-server(kaylene): Error: Couldn't lock /home/kaylene/.dovecot-sync.lock: Timed out after 30 seconds: 3 Time(s) dovecot[3464]: dsync-server(reuben): Error: Couldn't lock /home/reuben/.dovecot-sync.lock: Timed out

Re: [Dovecot] Replication and public namespaces

2016-04-06 Thread Georg Schuetze
On 03/31/2016 11:08 AM, Sergey Schwartz wrote: > There is a workaround - limit replication scope with INBOX namespace > only. Sergey, thanks for pointing that out. I already thought of that, but this means, that i need some extra periodic replication for the public namespaces (hence on a failover

Re: [Dovecot] Replication and public namespaces

2016-03-30 Thread Georg Schuetze
Nobody? Should i provide more info or did i something wrong? On 03/17/2016 06:48 AM, Georg Schuetze wrote: > In my setup i can reproduce this issue with only one message in a shared > folder: > Everytime when the (new) replication client is started for the first > time, the initial replication ta

Re: [Dovecot] Replication and public namespaces

2016-03-19 Thread Georg Schuetze
Hi, i have the same problem with the current dovecot version 2.2.22. I wonder that nobody else seems to have run into this, since this thread is quite old. Did i miss something and does one need a special configuration for syncing public namespaces? Markus, do you still use your patch or did you

Re: [Dovecot] Replication and public namespaces

2016-03-19 Thread Georg Schuetze
Hi, since the maillist threading works only within the current month, i'll attach the original message from 2014 from Markus Weippert. In my setup i can reproduce this issue with only one message in a shared folder: Everytime when the (new) replication client is started for the first time, the ini

Re: Question about dovecot replication

2015-10-24 Thread Timo Sirainen
> On 23 Oct 2015, at 15:51, Urban Loesch wrote: > > Hi, > > last week I installed 2 servers with two dovecot nodes and replication in > active/active mode located in different datacenters. > > Based on the howto from wiki "http://wiki2.dovecot.org/Replication"; it works > great. > According

Question about dovecot replication

2015-10-23 Thread Urban Loesch
Hi, last week I installed 2 servers with two dovecot nodes and replication in active/active mode located in different datacenters. Based on the howto from wiki "http://wiki2.dovecot.org/Replication"; it works great. According to the wiki it is recomended to run "doveadm purge" on both systems

question on Dovecot replication

2015-07-16 Thread Arnold Wang
I'm running Dovecot 2.2.x and have a question on its replication capability. I plan to run Dovecot in two different sites with two nodes at each site. My question is how many replication partners can each Dovecot node have? Can I define three "mail_replica" entries in every node so any message re

Re: Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]

2015-05-15 Thread Reuben Farrelly
On 8/05/2015 11:04 PM, Reuben Farrelly wrote: On 8/05/2015 6:10 PM, Teemu Huovila wrote: On 05/07/2015 02:32 PM, Reuben Farrelly wrote: On 7/05/2015 7:49 AM, Timo Sirainen wrote: On 06 May 2015, at 13:52, Reuben Farrelly wrote: On 4/05/2015 11:06 PM, Teemu Huovila wrote: Also is there a wa

Re: Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]

2015-05-08 Thread Reuben Farrelly
On 8/05/2015 6:10 PM, Teemu Huovila wrote: On 05/07/2015 02:32 PM, Reuben Farrelly wrote: On 7/05/2015 7:49 AM, Timo Sirainen wrote: On 06 May 2015, at 13:52, Reuben Farrelly wrote: On 4/05/2015 11:06 PM, Teemu Huovila wrote: Also is there a way to restrict replication users aside from a cr

Re: Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]

2015-05-08 Thread Teemu Huovila
On 05/07/2015 02:32 PM, Reuben Farrelly wrote: > On 7/05/2015 7:49 AM, Timo Sirainen wrote: >> On 06 May 2015, at 13:52, Reuben Farrelly wrote: >>> >>> On 4/05/2015 11:06 PM, Teemu Huovila wrote: > Also is there a way to restrict replication users aside from a crude hack > around system f

Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]

2015-05-07 Thread Reuben Farrelly
On 7/05/2015 7:49 AM, Timo Sirainen wrote: On 06 May 2015, at 13:52, Reuben Farrelly wrote: On 4/05/2015 11:06 PM, Teemu Huovila wrote: Also is there a way to restrict replication users aside from a crude hack around system first and last UIDs? You can set the userdb to return an empty mail

Re: Dovecot Replication - Architecture Endianness?

2015-05-07 Thread Reuben Farrelly
On 7/05/2015 7:47 AM, Timo Sirainen wrote: On 04 May 2015, at 17:11, Reuben Farrelly wrote: On 4/05/2015 11:06 PM, Teemu Huovila wrote: Even if this doesn't end up working I figure I'll get to learn a little more about the indexes themselves in the process. dsyncing between servers (or in ge

Re: Dovecot Replication - Architecture Endianness?

2015-05-06 Thread Timo Sirainen
On 06 May 2015, at 13:52, Reuben Farrelly wrote: > > On 4/05/2015 11:06 PM, Teemu Huovila wrote: >>> Also is there a way to restrict replication users aside from a crude hack >>> around system first and last UIDs? >> You can set the userdb to return an empty mail_replica variable for users >> y

Re: Dovecot Replication - Architecture Endianness?

2015-05-06 Thread Timo Sirainen
uent updates in both >>> directions are incremental and the bulk of the data gets moved while the >>> device is here on my desk using rsync. >>> >>> I've attempted to do this using a Raspberry Pi as a remote device, but when >>> I set it u

Re: Dovecot Replication - Architecture Endianness?

2015-05-06 Thread Reuben Farrelly
On 4/05/2015 11:06 PM, Teemu Huovila wrote: Also is there a way to restrict replication users aside from a crude hack around system first and last UIDs? You can set the userdb to return an empty mail_replica variable for users you want to exclude from replication. http://hg.dovecot.org/dovecot

Re: Dovecot Replication - Architecture Endianness?

2015-05-04 Thread Reuben Farrelly
that the subsequent updates in both directions are incremental and the bulk of the data gets moved while the device is here on my desk using rsync. I've attempted to do this using a Raspberry Pi as a remote device, but when I set it up the dovecot replication process seems to need to start the

Re: Dovecot Replication - Architecture Endianness?

2015-05-04 Thread Teemu Huovila
this should in > theory mean that the subsequent updates in both > directions are incremental and the bulk of the data gets moved while the > device is here on my desk using rsync. > > I've attempted to do this using a Raspberry Pi as a remote device, but when I > set i

Dovecot Replication - Architecture Endianness?

2015-05-03 Thread Reuben Farrelly
s moved while the device is here on my desk using rsync. I've attempted to do this using a Raspberry Pi as a remote device, but when I set it up the dovecot replication process seems to need to start the replication over from scratch even after the rsync is done. I know this is hap

Re: Dovecot replication over TCP/SSL, certificate error

2015-01-12 Thread Jonas Plitt
Of cource i did. Even this one does not work: *ssl_cert = : > > > Am 12.01.2015 um 13:29 schrieb Jonas Plitt: > >> *doveadm(exam...@example.com ): Error: Couldn't >> initialize SSL context: Can't load CA certs from directory /etc/ssl/certs: >> error:02001024:system library:fopen:File name too

Re: Dovecot replication over TCP/SSL, certificate error

2015-01-12 Thread Reindl Harald
Am 12.01.2015 um 13:29 schrieb Jonas Plitt: *doveadm(exam...@example.com ): Error: Couldn't initialize SSL context: Can't load CA certs from directory /etc/ssl/certs: error:02001024:system library:fopen:File name too longdoveadm: Error: Failed to iterate through some users*" this is my config

Dovecot replication over TCP/SSL, certificate error

2015-01-12 Thread Jonas Plitt
Hi All, I'm running TCP-based dsync replication on two dovecot nodes. Nowdays i tried to enable SSL (TCPS). I changed mail_replica prefix from tcp:* to tcps:* and added ssl=yes to the inet_listener. Then on running *doveadm sync* i'm getting the following message: " *doveadm(exam...@example.com )

Dovecot replication - notify not working

2015-01-08 Thread Jonas Plitt
Dear Dovecot-Admins, I've set up a pair of Dovecot Servers, please find config of server one attached. They are configured to replicate changes over a tcp connection using port 12345, set up as described in http://wiki2.dovecot.org/Replication article page. Adding the user postboxes to replicatio

Dovecot replication causing deleted emails to reappear

2014-11-06 Thread Asai
Greetings, I've set up replication successfully on two Dovecot servers. I had fully synced the servers but then took one offline for 2 weeks. When I restored it, the servers synced but ended up replacing deleted emails in random people's inboxes. I'm using maildir. Does anyone have any ins

Re: dovecot replication (active-active) - server specs

2014-10-11 Thread Ed W
we've got 2 new fileservers, they have each SSD HDDs for "new-storage" and 7200rpm SATA HDDs on RAID 5 with 10 TB for "alt-storage" Friends don't let friends use Raid5... http://www.baarf.com/ (Use Raid6 or something else...) Note, a common counter argument is that someone has "full bac

Re: dovecot replication (active-active) - server specs

2014-10-10 Thread Martin Schmidt
make a new system. We desire the new system to use mdbox format ( bigger files, less I/O) and replication through dovecot replication (active/active) instead of drbd. I have no experience with dovecot replication (Still on our roadmap). We are currently using drbd on a 10Gbit dedicated link. Works

Re: dovecot replication (active-active) - server specs

2014-10-09 Thread Urban Loesch
tions per day? How many concurrend connections do you have at the same time on each server? So we want to make a new system. We desire the new system to use mdbox format ( bigger files, less I/O) and replication through dovecot replication (active/active) instead of drbd. I have no experience

Re: dovecot replication (active-active) - server specs

2014-10-09 Thread Florian Pritz
On 09.10.2014 12:35, Martin Schmidt wrote: > So we want to make a new system. We desire the new system to use > mdbox format ( bigger files, less I/O) Be sure to enable compression when do do that move (you'd have to do pretty much the same migration again if you enable it later) as per http://wik

dovecot replication (active-active) - server specs

2014-10-09 Thread Martin Schmidt
Hello, i have some questions about the new dovecot replication and mdbox format. my company has currently 3 old dovecot 2.0.x fileserver/backend with ca. 120k mailboxes and ca. 6 TB data used. They are synchronised per drbd/corosync. Each fileserver/backend have ca. 40k mailboxes im Maildir

Dovecot replication

2014-09-10 Thread Hoggins!
Hello list, I'm trying to achieve very simple replication, but I'm not sure if I'm starting the good way. I have two Dovecot servers that use the same GlusterFS storage. Of course, the indexes get corrupted eventually, even if I apply an "NFS-like" configuration. So I'd like to synchronize my two

Re: Trying Dovecot Replication with dsync

2014-09-04 Thread Listas@Adminlinux
Hi, I have a failover cluster for mail server with: Ubuntu12.04 + DRBD (for block replication) + Ext4 filesystem + Dovecot-2.0.19-2 with Mdbox It works fine with ~50k accounts. My cluster design: http://adminlinux.com.br/cluster_design.txt I plan to test Dovecot Replication with dsync to build an

Re: Dovecot Replication of Maildirs: Couldn't create lock file ... no such file or directory

2014-08-27 Thread Asai
Problem solved with changing the location of the home dir, however, is there a reliable way to do this on the "master" server with all the production data in place? --Asai On 8/27/14 11:47 AM, Asai wrote: Greetings, I'm setting up replication and am getting this error from the server where

Re: Dovecot Replication of Maildirs: Couldn't create lock file ... no such file or directory

2014-08-27 Thread Asai
The error, I presume, is that the home folder is unable to be created in the user's directory. --Asai On 8/27/14 11:47 AM, Asai wrote: Greetings, I'm setting up replication and am getting this error from the server where the replicated mails are being initially created: Aug 27 11:03:53 mol

Dovecot Replication of Maildirs: Couldn't create lock file ... no such file or directory

2014-08-27 Thread Asai
Greetings, I'm setting up replication and am getting this error from the server where the replicated mails are being initially created: Aug 27 11:03:53 molecular dovecot: dsync-server(u...@domain.org): Error: Couldn't create lock /vmail/domain.org/user/home/.dovecot-sync.lock: No such file o

Re: [SOLVED] Re: Trying Dovecot Replication with dsync

2014-08-18 Thread Francisco Wagner C. Freire
ser = vmail }} On Mon, Aug 18, 2014 at 4:10 PM, Minhas Listas wrote: > > > > 1) > > Aug 14 15:39:34 ceph1 dovecot: imap(account=domaintest.com): Error: > > open(/var/run/dovecot/replication-notify-fifo) failed: Permission denied > > > > What is the correct

[SOLVED] Re: Trying Dovecot Replication with dsync

2014-08-18 Thread Minhas Listas
> > 1) > Aug 14 15:39:34 ceph1 dovecot: imap(account=domaintest.com): Error: > open(/var/run/dovecot/replication-notify-fifo) failed: Permission denied > > What is the correct perms for /var/run/dovecot/replication-notify-fifo ? > Currently: > # ll /var/run/dovecot/repli

Trying Dovecot Replication with dsync

2014-08-14 Thread Minhas Listas
Hi, I have a failover cluster for mail server with: Ubuntu12.04 + DRBD (for block replication) + Ext4 filesystem + Dovecot-2.0.19-2 with Mdbox It works fine with ~50k accounts. My cluster design: http://adminlinux.com.br/cluster_design.txt I plan to test Dovecot Replication with dsync to build

Re: Trying Dovecot Replication with dsync

2014-08-14 Thread Márcio Merlone
On 14-08-2014 16:28, Listas@Adminlinux wrote: I have a failover cluster for mail server with: Ubuntu12.04 + DRBD (for block replication) + Ext4 filesystem + Dovecot-2.0.19-2 with Mdbox (...) I plan to test Dovecot Replication with dsync to build an active/active cluster with load balancing

Trying Dovecot Replication with dsync

2014-08-14 Thread Listas@Adminlinux
Hi, I have a failover cluster for mail server with: Ubuntu12.04 + DRBD (for block replication) + Ext4 filesystem + Dovecot-2.0.19-2 with Mdbox It works fine with ~50k accounts. My cluster design: http://adminlinux.com.br/cluster_design.txt I plan to test Dovecot Replication with dsync to

Re: Dovecot Replication: First Run

2014-07-19 Thread Asai
If what I wrote is a little cryptic, I am talking about using doveadm to sync between two servers. --Asai On 7/17/14 8:47 AM, Asai wrote: Greetings, I'm working on building a redundant Dovecot server which will be replicated with my original. I would like to know if there's any potential p

Dovecot Replication: First Run

2014-07-17 Thread Asai
Greetings, I'm working on building a redundant Dovecot server which will be replicated with my original. I would like to know if there's any potential problems I could run into in running this for the first time. For example, during an initial sync is it possible for the new server to sync i

Re: [Dovecot] Replication with virtual users and static userdb possible ?

2014-06-17 Thread Alan McGinlay
On 2014-06-17 04:50, deano-dove...@areyes.com wrote: I'm trying to avoid switching the userdb from a nice simple static setup to something else to enable replication. Is there anyone using replication with a virtual user configuration ? How did you do it ? Actually, anyone doing replication at al

Re: [Dovecot] Replication with virtual users and static userdb possible ?

2014-06-16 Thread deano-dovecot
I'm trying to avoid switching the userdb from a nice simple static setup to something else to enable replication. Is there anyone using replication with a virtual user configuration ? How did you do it ? Actually, anyone doing replication at all - what does your config look like ? Thanks - D

Re: [Dovecot] Replication with virtual users and static userdb possible ?

2014-06-10 Thread deano-dovecot
Is there no-one out there using replication with virtual users ? If so how did you do it ? I just *know* someone is going to point me to a simple page describing how to do it ... On 2014-06-05 09:57, deano-dove...@areyes.com wrote: > Ugh, stuff got mangled in formatting below. Anyway, I've

Re: [Dovecot] Replication with virtual users and static userdb possible ?

2014-06-05 Thread deano-dovecot
Ugh, stuff got mangled in formatting below. Anyway, I've had no luck with various permutations, so it's looking like a virtual-user setup can't make use of replication ? I guess what I want is for it to activate replication upon ANY notification of updated emails. On 2014-06-03 11:54, deano-

[Dovecot] Replication with virtual users and static userdb possible ?

2014-06-03 Thread deano-dovecot
Is it possible to get replication working in a virtual user setup that uses a static userdb ? My environment is fairly simple and typical - there's a single system user (vmail) that owns all the home dirs (/var/mail/domain.com/user). The virtual users (use...@domain.com:secretpassword) are kept

Re: [Dovecot] Dovecot Replication setup

2014-04-17 Thread IT geek 31
On 17 April 2014 14:31, Teemu Huovila wrote: > I wish someone -with earlier experience- would answer these questions, to > help us avoid all this fuss > I regret that I did not spot the error in your configuration and Im sorry > nobody else was able to answer you either. The dsync > feature (

  1   2   3   >