even more questions on replication and expire

2008-07-29 Thread Per olof Ljungmark
In the course of setting up delayed expunge on our production server I came across the following; - With delayed_expunge on the master, messages that are expunged by a user will be retained -X days on the master but immideately deleted on the replica unless it has delayed_expunge too. So if I

32 to 64 bit -- murder and replication

2009-01-14 Thread Michael Bacon
the 32 bit code on the old server is going to need to play nicely with the 64 bit code on the other servers, both front-end and back-end. We'd also like to get replication into the mix here at some point, and may have the same split. Everything will be running the same code, but it will

Sieve scripts in global namespace and replication

2009-03-19 Thread Janne Peltonen
Hi! It appears that my sieve scripts that I have in the global namespace and that are annotated to certain Cyrus bulletin boards don't get replicated. Apparently, only user sieve scripts ever get replicated (when something generates a USER replication event). How do I (rollingly) replicat

failure in Cyrus Aggregator with Cyrus Replication

2010-01-14 Thread Oscar Nunez
Hi Guys: A few days ago called for help about settings in Cyrus Aggregator. Now I've a big problem with replica server. My configuration is 1 backend, 1 murder, 1 frontend and 1 replica server. When the backend server is online the replica server get all the mails that reach the backend server.

Re: how does cyrus replication failover work?

2010-02-28 Thread Patrick Boutilier
On 02/28/2010 02:52 PM, Thomas Vogt wrote: > Hi > > I've to move a large cyrus entity from one facility to another with no > or at least a little downtime. > > I thought I setup a second cyrus entity on my new data center and use > cyrus replication to transfer all da

Re: how does cyrus replication failover work?

2010-02-28 Thread Michael Menge
Hi, Quoting Thomas Vogt : Hi I've to move a large cyrus entity from one facility to another with no or at least a little downtime. I thought I setup a second cyrus entity on my new data center and use cyrus replication to transfer all data to this new cyrus slave. After all mails are c

upgradeing from 2.3.12p2 to 2.3.16 and replication

2010-03-28 Thread karen turner
unknown mailbox user.xxaabb Where the mailbox is actually on a different server. I assume that this is an issue with replication and will go away when all servers are on 2.3.16? I looked at mupdate.c and this is a debugging level message. So I could change my logging levels and the message

Re: Cyrus replication and failover best pracistes

2010-08-09 Thread Bron Gondwana
On Mon, Aug 09, 2010 at 08:15:36PM +0400, Dmitry Ivanov wrote: > Hello! > Folks, looking through maillist history i saw that many of you are > running cyrus in rolling replication mode. I am interested in > configuring cyrus replica to use as a standby imap server, where we c

Re: Need info on Cyrus v2.3 replication

2010-09-05 Thread Shuvam Misra
ns for Cyrus mailbox replication (I > believe this feature has been added in v2.3)? > > Whatever pointers I am getting from Google are to the old Cyrus IMAP > Website at cmu.edu -- these URLs no longer work. > > Is there a manpage that'll tell me details? > >

Re: Need info on Cyrus v2.3 replication

2010-09-05 Thread Dave McMurtrie
tion on features and >> installation/configuration instructions for Cyrus mailbox replication (I >> believe this feature has been added in v2.3)? >> >> Whatever pointers I am getting from Google are to the old Cyrus IMAP >> Website at cmu.edu -- these URLs no longer

Re: Another basic question about Cyrus replication

2010-09-12 Thread Bron Gondwana
On Mon, Sep 13, 2010 at 08:59:01AM +0530, Shuvam Misra wrote: > Dear all, > > One more question about sync-server and sync-client. Suppose I have two > active servers, A and B, which contain completely disjoint sets of > mailboxes. Can both replicate simultaneously to a replica server C? I > will

Re: Another basic question about Cyrus replication

2010-09-13 Thread Shuvam Misra
> > One more question about sync-server and sync-client. Suppose I have two > > active servers, A and B, which contain completely disjoint sets of > > mailboxes. Can both replicate simultaneously to a replica server C? I > > will run sync-server only on C, and sync-client on A and B, pointing them

Re: Replication sync-server and Delayed Delete

2010-09-15 Thread Bron Gondwana
On Wed, Sep 15, 2010 at 12:29:18PM +0100, Gavin Gray wrote: > Hi there, > > We have a cyrus murder using replication and we have a few questions > about the behaviour we are seeing on our system. > > 1. cyr_expire on the master doesn't cause any replication to happen.

Re: Replication sync-server and Delayed Delete

2010-09-16 Thread gavin . gray
gt; We have a cyrus murder using replication and we have a few questions >> about the behaviour we are seeing on our system. >> >> 1. cyr_expire on the master doesn't cause any replication to happen. >> Is that 'correct'? In other words if we want to delete folde

Re: Replication sync-server and Delayed Delete

2010-09-17 Thread gavin . gray
afe alternative to cyr_expire in order to purge these > misplace deleted folders? > > regards, > > Gavin Gray > > > On Wed, 15 Sep 2010, Bron Gondwana wrote: > >> On Wed, Sep 15, 2010 at 12:29:18PM +0100, Gavin Gray wrote: >>> Hi there, >>> >&g

Basic two host replication scenario, SSL failure

2011-07-10 Thread Ivan Lezhnjov Jr.
#x27;m going to describe that boggles my mind and I can't seem to find a clear-cut answer whether what I'm up to is even supposed to work. Using cyrus-imapd 2.4.10, built from jmeeuwen's SRPM aka kolabsys SRPM. Here's the basic replication scenario I've implemented. I ha

Re: Replication and INBOX rename in 2.4.12

2012-01-18 Thread David Carter
On Wed, 18 Jan 2012, Janne Peltonen wrote: > I recently upgraded Cyrus from version 2.3.16 to 2.4.12 (using the > wonderful RPMs from INVOCA). Now, I ran into a bit of a problem with > replication. From time to time, a user thinks it a great idea to rename > their INBOX in order

Re: Replication and INBOX rename in 2.4.12

2012-01-18 Thread Janne Peltonen
On Wed, Jan 18, 2012 at 12:19:57PM +0200, Janne Peltonen wrote: > What to do, how to circumvent this problem in the current version? I'd really > like to be able to be able to start replicating a user's mailbox and metadata > again, even if they have renamed their INBOX sometime in the past. Well,

Re: Replication and INBOX rename in 2.4.12

2012-01-18 Thread Bron Gondwana
On Wed, Jan 18, 2012, at 10:52 AM, David Carter wrote: > On Wed, 18 Jan 2012, Janne Peltonen wrote: > > > I recently upgraded Cyrus from version 2.3.16 to 2.4.12 (using the > > wonderful RPMs from INVOCA). Now, I ran into a bit of a problem with > > replication. F

Re: replication features for remote server locations

2012-02-01 Thread Bron Gondwana
On Wed, Feb 01, 2012 at 05:59:09PM +0100, Matteo Cazzador wrote: > Hello' i've a question about cyrus replication system, > i need to syncronize "real time" 3 imap servers (mailbox and > relative mail flags etc etc) in different geographic locations. > Every ser

Re: Replication and INBOX rename in 2.4.12

2012-08-30 Thread Janne Peltonen
On Wed, Jan 18, 2012 at 01:25:08PM +0200, Janne Peltonen wrote: > On Wed, Jan 18, 2012 at 12:19:57PM +0200, Janne Peltonen wrote: > > What to do, how to circumvent this problem in the current version? I'd > > really > > like to be able to be able to start replicating a user's mailbox and > > meta

Re: Replication and INBOX rename in 2.4.12

2012-08-30 Thread Janne Peltonen
Tämä siis tiedoksi teillekin. Toki INBOX renamesta seuraavat jumitukset saa jatkossakin korjatuksi, seuraavaan USER-operaatioon asti... :( --Janne On Thu, Aug 30, 2012 at 04:33:18PM +0300, Janne Peltonen wrote: > On Wed, Jan 18, 2012 at 01:25:08PM +0200, Janne Peltonen wrote: > > On Wed, Jan 18,

Re: Replication and INBOX rename in 2.4.12

2012-08-30 Thread Janne Peltonen
Um, sorry, folks, I hit "send" before I had a look at the "To" header. This should have gone to our local list only. --Janne / Univ. of Helsinki On Thu, Aug 30, 2012 at 04:34:13PM +0300, Janne Peltonen wrote: > Tämä siis tiedoksi teillekin. Toki INBOX renamesta seuraavat jumitukset saa > jatkoss

Replication problem with user defined imap flag

2012-09-27 Thread Christian Dröge
Hi, I have encountered a problem with the replication on cyrus 2.4.16. On one day the master had problems to replicate the changes of one mailbox to the replica server via sync_client with the following log entries: Master log: ep 27 13:12:50 trisol cyrus/sync_client[19699]: MAILBOX received NO

Re: replication : Authentication failed. no mechanism available

2005-12-14 Thread Patrick H Radtke
use the replication. but I can't authenticate on my replica server: here is the error in the log: sync_client[26757]: couldn't authenticate to backend server: no mechanism available here is the result of the synctest: S: * OK mailsrv Cyrus sync server v2.3.0 Authentication

Re: replication : Authentication failed. no mechanism available

2005-12-14 Thread Ken Murchison
Patrice wrote: Hi, I try to install the the new version of cyrus-imap to use the replication. but I can't authenticate on my replica server: here is the error in the log: sync_client[26757]: couldn't authenticate to backend server: no mechanism available here is the res

Re: replication : Authentication failed. no mechanism available

2005-12-14 Thread Patrick H Radtke
try to install the the new version of cyrus-imap to use the replication. but I can't authenticate on my replica server: here is the error in the log: sync_client[26757]: couldn't authenticate to backend server: no mechanism available here is the result of the synctest: S: * OK mai

Re: replication : Authentication failed. no mechanism available

2005-12-15 Thread Patrice
TLSv1 with cipher AES256-SHA (256/256 bits) S: * SASL PLAIN S: * OK mailsrv Cyrus sync server v2.3.0 Please enter your password: C: AUTHENTICATE PLAIN Y3lydYMAY3LydXMBZ3Q0M2RpMTM= S: OK Success (tls protection) Authenticated. Security strength factor: 256 now I will try to validate the replication

Re: replication : Authentication failed. no mechanism available

2005-12-15 Thread Simon Matter
E PLAIN Y3lydYMAY3LydXMBZ3Q0M2RpMTM= > S: OK Success (tls protection) > Authenticated. > Security strength factor: 256 > > > now I will try to validate the replication with cyrus. > > Thank you very much for your great help !! > > Patrice > > Patrick H Radtke

Re: replication : Authentication failed. no mechanism available

2005-12-15 Thread Patrice
the replication and it works well ! Simon Matter wrote: I have created my self signed certificate and now it works !! Where did you put and how did you specify the self signed certificate? Thanks, Simon synctest -u cyrus -a cyrus -m PLAIN -t "" mailsrv S: * STARTTLS S:

Re: replication sync_client dying cyrus-imap 2.3.0

2005-12-20 Thread Patrice
yesterday evening my replication was working on my test system. I unplugged network and came back today , plugged it again. I tried to send an email but this one wasn't replicated on the replica. (I waited a few minutes and my sync_repeat_interval is 60) I made a "ps aux" and s

Re: replication sync_client dying cyrus-imap 2.3.0

2005-12-20 Thread Patrick H Radtke
that lets us know if sync_client dies, and attempts to restart it for us. -Patrick On Tue, 20 Dec 2005, Patrice wrote: Hi, yesterday evening my replication was working on my test system. I unplugged network and came back today , plugged it again. I tried to send an email but this one wasn

Re: replication sync_client dying cyrus-imap 2.3.0

2005-12-20 Thread Patrick Radtke
ok, I understand better now, thank you ! what would be the best way to restart it ? stop/start cyrus or another command ? thanks Patrice Patrick H Radtke wrote: If sync_client cannot contact the replica server (or if there is some other error that it can't recover from) then it &#

Re: Dual-way replication?, What gets replicated?

2006-01-04 Thread Ken Murchison
former03 | Baltasar Cevc wrote: Hi everybody, thanx to everybody who contributed for this great piece of server software (and the nice support on the mailing list); explicitly thanx to Ken for everything and David for the replication code! Two questions, as I'm not able to jump int

Re: Dual-way replication?, What gets replicated?

2006-01-04 Thread hamann . w
Balthasar Cevc wrote: 1. Is it possible to have a server be master and client at the same time - with the effect of being able to use 2 servers at the same time for IMAP connections? Hi Balthasar, the setup at David Carter's site uses two machines: one acting as master for half of the users,

Re: Dual-way replication?, What gets replicated?

2006-01-05 Thread former03 | Baltasar Cevc
Hi Ken, hi Wolfgang, thanx for your quick answers! Baltasar _ former 03 gmbh _ infanteriestraße 19 haus 6 eg _ 80797 muenchen _ [EMAIL PROTECTED] _ www.former03.de _ fon 0941.206.6952 _ fax 089.322112.11 _ mobil 0176.232.20.822 Cyrus Home Page: http://asg.w

Re: Dual-way replication?, What gets replicated?

2006-01-05 Thread Ken Murchison
[EMAIL PROTECTED] wrote: Balthasar Cevc wrote: 1. Is it possible to have a server be master and client at the same time - with the effect of being able to use 2 servers at the same time for IMAP connections? Not at the moment. David's code (and proxy) are fairly simple because they don't

Re: Restored mailboxes causes replication to bail

2006-03-22 Thread Andrew Morgan
On Thu, 23 Mar 2006, Roland Pope wrote: Hi all, I am in the process of testing the new 2.3.3 Replication code and it has highlighted an issue which seems to relate to how I have been recovering people's mailboxes. I occasionally get a call from a user 'xxx' saying they woul

Re: Restored mailboxes causes replication to bail

2006-03-23 Thread David Carter
On Thu, 23 Mar 2006, Roland Pope wrote: When I try to replicate a user which has such a 'Recovered' mailbox, the replication client bails out because it seems to treat the 'user.xxx.Recovered' mailbox as the user.xxx INBOX and trys to do a rename (which fails). It soun

Re: Conditions to trigger replication in 2.3.3

2006-04-12 Thread Ken Murchison
Patrick T. Tsang wrote: > Hello all, > > What are the conditions to trigger the replication in ver.2.3.3? > > My testing platform shows me that only the TOUCHED imap folder and > TOUCHED email (imap flag: SEEN state will not!) will do. It is true that rolling replicati

Re: Conditions to trigger replication in 2.3.3

2006-04-13 Thread Patrick Radtke
On Apr 12, 2006, at 9:22 AM, Ken Murchison wrote: Patrick T. Tsang wrote: Hello all, What are the conditions to trigger the replication in ver.2.3.3? My testing platform shows me that only the TOUCHED imap folder and TOUCHED email (imap flag: SEEN state will not!) will do. It is true that

Re: Conditions to trigger replication in 2.3.3

2006-04-13 Thread Ken Murchison
Patrick Radtke wrote: On Apr 12, 2006, at 9:22 AM, Ken Murchison wrote: Patrick T. Tsang wrote: Hello all, What are the conditions to trigger the replication in ver.2.3.3? My testing platform shows me that only the TOUCHED imap folder and TOUCHED email (imap flag: SEEN state will not

Re: Replication woes with a specific mailbox...

2006-07-28 Thread David Carter
On Fri, 28 Jul 2006, Pascal Gienger wrote: sync_client seems to try to RENAME the Inbox to the subfolder "Uni" which is complete nonsense. Do the mailboxes have the same UniqueID (see cyrus.header files)? The replication engine expects UniqueID to be unique. Cyrus makes a bit of

Re: Replication woes with a specific mailbox...

2006-07-28 Thread Pascal Gienger
David Carter <[EMAIL PROTECTED]> wrote: Do the mailboxes have the same UniqueID (see cyrus.header files)? The replication engine expects UniqueID to be unique. Cyrus makes a bit of a hash of renaming user inboxes (user.XXX -> user.XXX.Uni). Removing the cyrus.header file and running re

Re: Replication woes with a specific mailbox...

2006-07-28 Thread Wesley Craig
On 28 Jul 2006, at 05:48, Pascal Gienger wrote: David Carter <[EMAIL PROTECTED]> wrote: Do the mailboxes have the same UniqueID (see cyrus.header files)? The replication engine expects UniqueID to be unique. Cyrus makes a bit of a hash of renaming user inboxes (user.XXX -> use

read only cyrus instances and replication questions.

2006-08-16 Thread Rudy Gevaert
Hi, I'm setting up replaction with 2.4.7 and it seems to work (hurray!). I was wondering if it is possible to set up a read only cyrus imap(s)/pop/ instance? In my replication setup I removed all the imap/lmtp/pop services from this cyrus.conf file. Replication seems to be working.

Re: Replication problem do_folders(): failed to rename

2015-12-11 Thread Marcus Schopen via Info-cyrus
Hi, forgot the cyrus version: 2.4.12 on Ubuntu 12.04 LTS Ciao! Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via Info-cyrus: > Hi, > > I have a problem with a single mailbox. The user's Outlook crashed and > since then the sync_client is running wild on this user account and > produces high load on the master. I stopped sync_client on master

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Patrick Boutilier via Info-cyrus
On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via Info-cyrus: Hi, I have a problem with a single mailbox. The user's Outlook crashed and since then the sync_client is running wild on this user account and produces hig

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Michael Menge via Info-cyrus
Hi, Quoting Patrick Boutilier via Info-cyrus : On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via Info-cyrus: Hi, I have a problem with a single mailbox. The user's Outlook crashed and since then the sync_client is

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Hi, Am Montag, den 14.12.2015, 12:53 +0100 schrieb Michael Menge via Info-cyrus: > Hi, > > > Quoting Patrick Boutilier via Info-cyrus : > > > On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: > >> Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via > >> Info-cyrus: > >

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Montag, den 14.12.2015, 07:31 -0400 schrieb Patrick Boutilier via Info-cyrus: > On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: > > Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via > > Info-cyrus: > >> Hi, > >> > >> I have a problem with a single mailbox. The user'

Issues with replication and folder/Sieve subscription

2019-07-09 Thread Egoitz Aurrekoetxea
Good morning, After we upgraded to Cyrus 3.0.8, we saw that some users in the replicas didn't have some folders (or all) subscribed the same way they had in previous env in Cyrus 2.3. Same happened for some users with Sieve scripts. It seemed the content itself was perfectly copied. It was lik

Cyrus doesn't preserve hard-links on replication

2019-11-17 Thread Adrien Remillieux
Hello, I set up replication between two cyrus servers (master runs 2.5.10 and slave 3.0.8) with plans to decommission the old server once everything is working. I noticed that the mail spool takes 950GB instead of ~300GB on the old server. I suspected the hardlinks for message deduplication

problem with replication using cyrus imap suse packages?

2006-11-17 Thread Steve Howe
ot it all working fine with postfix, cheerfully trundling along. now I want to use replication to have a master/slave relationship going with another server. Looked at the website http://cyrusimap.web.cmu.edu/imapd/install-replication.html All looks fine, easy and not taking too much work.T

Re: Bug with rename INBOX -> INBOX.blah and replication

2006-12-04 Thread Ken Murchison
Robert Mueller wrote: Hi Ken There's a bug with replication and renaming INBOX -> INBOX.blah. From http://www.ietf.org/rfc/rfc3501.txt: Renaming INBOX is permitted, and has special behavior. It moves all messages in INBOX to a new mailbox with the given name, leavi

Re: Bug with rename INBOX -> INBOX.blah and replication

2006-12-04 Thread Bron Gondwana
s that it affects SEEN state generally, not just replication. Would that be correct? I'm thinking SEEN is the only thing actually likely to be affected. It's a bit of a pain to find all copies referring to it as well, unfortunately. I can see the logic in making the uniqueid go wit

Re: Bug with rename INBOX -> INBOX.blah and replication

2006-12-04 Thread Ken Murchison
f this is that it affects SEEN state generally, not just replication. Would that be correct? I'm thinking SEEN is the only thing actually likely to be affected. Yes, \Seen state can eventually get screwed . -- Kenneth Murchison Systems Programmer Project Cyrus Developer/Maintainer Carnegie Mel

Re: Large dirs [Was: Re: Clustering and replication]

2007-01-30 Thread Joel Nimety
Janne Peltonen wrote: > On Tue, Jan 30, 2007 at 11:01:03AM +0100, Simon Matter wrote: >>> This might be a problem, since we have some users that really have 1 >>> messages in their INBOX. Although it seems that Cyrus itself cannot cope >>> with this either... in our current, non-clustering se

Re: Large dirs [Was: Re: Clustering and replication]

2007-01-30 Thread Tom Samplonius
- "Janne Peltonen" <[EMAIL PROTECTED]> wrote: > On Tue, Jan 30, 2007 at 11:01:03AM +0100, Simon Matter wrote: > > > This might be a problem, since we have some users that really have > 1 > > > messages in their INBOX. Although it seems that Cyrus itself > cannot cope > > > with this either

Re: Large dirs [Was: Re: Clustering and replication]

2007-01-30 Thread Janne Peltonen
On Tue, Jan 30, 2007 at 11:22:55AM -0500, Joel Nimety wrote: > Janne Peltonen wrote: > > On Tue, Jan 30, 2007 at 11:01:03AM +0100, Simon Matter wrote: > >>> This might be a problem, since we have some users that really have 1 > >>> messages in their INBOX. Although it seems that Cyrus itself ca

Re: Large dirs [Was: Re: Clustering and replication]

2007-01-30 Thread Janne Peltonen
On Tue, Jan 30, 2007 at 02:27:24PM -0800, Tom Samplonius wrote: > It could be filesystem and kernel related. ext2/3 has historically > not been good at this, but is better now. ufs is actually pretty > good, but mainly because BSD kernels cache so much vnode data, it > does not matter if

A setting method of REPLICATION in Cyrus-IMAP

2007-05-14 Thread Seiichirou Hiraoka
Hello. There is a question about REPLICATION in Cyrus-IMAP. At first, can I manage Cyrus-IMAP with MASTER-MASTER constitution with two servers when I use REPLICATION? I searched a document and ML, but think that I have you teach it because only a method to manage as MASTER-SLAVE seems to be

Re: replication - correct way to transfer a mailbox?

2007-10-26 Thread Rudy Gevaert
Edward Prendergast wrote: > Hi, > > > > Managed to solve the previous problem of errors like this: > > USER received NO response > > by changing the slave’s imapd.conf thusly: > > virtdomains: yes > > to > > virtdomains: userid > > > > So I can now transfer users as follows: > > >

Re: replication - correct way to transfer a mailbox?

2007-10-26 Thread Rudy Gevaert
Edward Prendergast wrote: > Thanks for your response Rudy. > > Is this bug merely causing a cosmetic error or will this stop my transfers > from working? Not really. The only drawback is that created mailboxes on the master won't be on the replica. As soon as it receives email it will be adde

RE: replication - correct way to transfer a mailbox?

2007-10-26 Thread Edward Prendergast
er's mailbox on the filesystem, but I think this may be a feature of normal behaviour. -Original Message- From: Rudy Gevaert [mailto:[EMAIL PROTECTED] Sent: 26 October 2007 12:08 To: Edward Prendergast Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: replication - correct way to transfer

Re: Replication: does it work in both directions?

2007-11-11 Thread Bron Gondwana
On Sat, Nov 10, 2007 at 07:51:15PM -0800, Rich Wales wrote: > I'm using replication on a 2.3.9 system. > > I know that if changes happen on the master system, they are propagated > automatically to the replica system. > > But what happens if I make a change on the repli

Re: Replication: does it work in both directions?

2007-11-11 Thread Rich Wales
sync to the other server. (4) Both servers would be running sync_server. So, I would have replication set up going both directions between my two servers, but the sets of users handled in each direction would be disjoint. Each user would be assigned to one IMAP server (the master for their mailb

Re: Replication: does it work in both directions?

2007-11-12 Thread Rudy Gevaert
; user is listed in the sync_client command line of only one server. > > (3) Each server is configured (via the sync_... lines in imapd.conf) > to sync to the other server. > > (4) Both servers would be running sync_server. > > So, I would have replication set up going bo

Re: Replication: does it work in both directions?

2007-11-12 Thread Bron Gondwana
ilboxes on the command > line. Does this define (and limit) the set of mailboxes that are > replicated? If a mailbox is listed in the command line, are sub- > mailboxes replicated too? It doesn't work like that. Rolling replication gets events from actions on mailboxes (lmtp delive

Re: Replication: does it work in both directions?

2007-11-12 Thread Rich Wales
Bron Gondwana wrote: > It doesn't work like that. Rolling replication gets events from > actions on mailboxes (lmtp deliver, imapd updates, etc) and logs > them - then the sync_client process running in the background > reads that log file and uses the actions to know what thin

Re: Replication: does it work in both directions?

2007-11-12 Thread Bron Gondwana
On Mon, 12 Nov 2007 09:37:12 -0800, "Rich Wales" <[EMAIL PROTECTED]> said: > Bron Gondwana wrote: > > > It doesn't work like that. Rolling replication gets events from > > actions on mailboxes (lmtp deliver, imapd updates, etc) and logs > > them

Re: Replication: does it work in both directions?

2007-11-12 Thread Rich Wales
Bron Gondwana wrote: > [A mailbox list on the sync_client command line] works fine as a > one-off, but not for rolling, because rolling reads the log. Understood. > That said, only users who have had any actions on that server will > create log entries. Interesting. This actually suggests that

Re: Replication: does it work in both directions?

2007-11-13 Thread David Carter
On Sun, 11 Nov 2007, Rich Wales wrote: > So, I would have replication set up going both directions between my two > servers, but the sets of users handled in each direction would be > disjoint. Each user would be assigned to one IMAP server (the master > for their mailbox collecti

Re: even more questions on replication and expire

2008-07-29 Thread Rudy Gevaert
Per olof Ljungmark wrote: > In the course of setting up delayed expunge on our production server I > came across the following; > > - With delayed_expunge on the master, messages that are expunged by a > user will be retained -X days on the master but immideately deleted on > the replica unless

Re: even more questions on replication and expire

2008-07-29 Thread Bron Gondwana
On Tue, Jul 29, 2008 at 12:16:01PM +0200, Rudy Gevaert wrote: > Per olof Ljungmark wrote: > > In the course of setting up delayed expunge on our production server I > > came across the following; > > > > - With delayed_expunge on the master, messages that are expunged by a > > user will be retai

Re: even more questions on replication and expire

2008-07-29 Thread Per olof Ljungmark
Bron Gondwana wrote: > On Tue, Jul 29, 2008 at 12:16:01PM +0200, Rudy Gevaert wrote: >> Per olof Ljungmark wrote: >>> In the course of setting up delayed expunge on our production server I >>> came across the following; >>> >>> - With delayed_expunge on the master, messages that are expunged by a

Re: even more questions on replication and expire

2008-07-29 Thread Wesley Craig
On 29 Jul 2008, at 11:09, Per olof Ljungmark wrote: > Thanks for the info. I can't help wonder if this was a firm design > decision? From a user perspective it should be easier if this followed > the synchronization I believe. No, I don't think it's firm. There's been some discussion of how del

Re: even more questions on replication and expire

2008-07-29 Thread Bron Gondwana
On Tue, Jul 29, 2008 at 05:09:05PM +0200, Per olof Ljungmark wrote: > Bron Gondwana wrote: >> On Tue, Jul 29, 2008 at 12:16:01PM +0200, Rudy Gevaert wrote: >>> Per olof Ljungmark wrote: In the course of setting up delayed expunge on our production server I came across the following;

Re: even more questions on replication and expire

2008-07-30 Thread Per olof Ljungmark
Bron Gondwana wrote: > On Tue, Jul 29, 2008 at 05:09:05PM +0200, Per olof Ljungmark wrote: >> Bron Gondwana wrote: >>> On Tue, Jul 29, 2008 at 12:16:01PM +0200, Rudy Gevaert wrote: Per olof Ljungmark wrote: > In the course of setting up delayed expunge on our production > server I cam

Re: Sieve scripts in global namespace and replication

2009-10-15 Thread Jukka Huhta
generates a USER replication event). How do I > (rollingly) replicate the sieve scripts in the global namespace? > > Thanks for any advice. I'd like to ask again this question. Is it possible to replicate the global sieve scripts? How? (It would make sense to start taking backups from

How to make sync_client invoke STARTTLS for replication

2010-02-11 Thread Rich Wales
I'm running Cyrus 2.3.16 (with replication) between two Ubuntu servers. What do I have to do to make the "sync_client" application invoke STARTTLS when it connects to "sync_server" on the other host? I can invoke TLS when I use the "synctest" program, but I ca

Re: upgradeing from 2.3.12p2 to 2.3.16 and replication

2010-03-28 Thread Wesley Craig
On 28 Mar 2010, at 20:04, karen turner wrote: > Mar 26 15:38:28 zysv01 mupdate[31564]: attempt to delete unknown > mailbox > user.xxaabb > > Where the mailbox is actually on a different server. I assume that > this is an > issue with replication and will go away wh

Replication errors in 2.3.16-8 (do_user bailing out)

2010-11-19 Thread Simpson, John R
be missing something simple or fundamental. Thanks in advance, John When the problem occurs, sync_client gives a "do_client(u...@example.com): bailing out!" error and logs a message about failing to reset the replication (cyrusadmin) account. This occurs both when running sync_client ag

Re: Basic two host replication scenario, SSL failure

2011-07-10 Thread Bron Gondwana
nc log files can be left around and never actually processed. It's this second one that is more of a problem. We have a program called "monitorsync" at FastMail that watches replication. Other big sites do similar tricks. I would love to replace monitorsync with better logic

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
eepalives, the sync_client can > be stuck waiting "forever" for the replica. Didn't have  tcp_keepalive: 1. Will note if changes anything. > The second is that sync log files can be left around and never actually > processed.  It's this second one that is more of a

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
12:52:39 imapsite-master syncserver[18209]: accepted connection Jul 11 12:52:39 imapsite-master syncserver[18209]: cmdloop(): startup Replication doesn't succeed, obviously. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Bron Gondwana
9 imapsite-master syncserver[18209]: cmdloop(): startup > Jul 11 12:51:39 imapsite-master syncserver[18209]: accepted connection > Jul 11 12:51:39 imapsite-master syncserver[18209]: cmdloop(): startup > Jul 11 12:52:39 imapsite-master syncserver[18209]: accepted connection > Jul 11 12:52:39 imaps

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Bron Gondwana
ent). The only difference between our master and replica configs these days is that sync_client only gets started on the master. Actually, we don't start it from cyrus.conf any more, we bring up the master first, and then run sync_client from the init script after the master is fully running. >

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
As a quick reply I've attached the configs that I use for both hosts and strace output for synctest run on B switched to master. Hopefully this will either demonstrate that the configuration is pretty much okay, or perhaps give you an idea of where I got the replication setup wrong. Mean

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
On Mon, Jul 11, 2011 at 3:47 PM, Bron Gondwana wrote: >> Jul 11 11:21:14 imapsite-master syncserver[14019]: SSL_accept() timed >> out -> fail >> Jul 11 11:21:14 imapsite-master syncserver[14019]: STARTTLS failed: >> imapsite-replica [10.10.0.188] > > Sounds like broken authentication. > >> ===

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
One more bit of information as a follow-up: [root@imapsite-master scripts]# imtest -s -a zxy -m login -p imap -v localhost starting TLS engine setting up TLS connection SSL_connect:before/connect initialization write to 587EA850 [587F90B0] (89 bytes => 89 (0x59)) 16 03 01 00 54 01 00

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
Disregard the previous message with imtest output. I completely forgot that imaps wasn't running. It works fine, actually. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: Basic two host replication scenario, SSL failure

2011-07-11 Thread Ivan Lezhnjov Jr.
Below is strace output for cyrus-master during manual sync_client invocation: /usr/lib/cyrus-imapd/sync_client -v -r [root@imapsite-master scripts]# netstat -ntuap |grep cyru tcp0 0 0.0.0.0:143 0.0.0.0:* LISTEN 29795/cyrus-master tcp0 0 0.0.0.0

Re: Basic two host replication scenario, SSL failure

2011-07-13 Thread Ivan Lezhnjov Jr.
Agh, the problem solved, finally! What caused this really weird behavior was something that is I'm not even sure of, but what I did to fix it was basically took and duplicated the master host, reconfigured it to be a replica and after that I could sync and swap the roles as many times as I liked.

replication deleting files on slave and sync_client -u

2014-02-19 Thread Marcus Schopen
Hi, just a understanding question: for some testing I connected via imap to the slave an deleted some messages there. After that I started a /usr/lib/cyrus/bin/sync_client -u mailboxname on the master to sync master and slave. This is the log on the master: - Feb 19 23:51:19 maste

doing replication from two machine to one machine

2006-05-03 Thread Rudy Gevaert
Hi, At our site I'm going to set up several cyrus servers to store all the email for staff and students. We now have only one cyrus server for the staff. In the near future we are going to several backends running cyrus for staff and students. I'm looking into replication.

Cyrus News Daemon as poor man's replication engine

2006-06-13 Thread Michael Fair
vers could use their NNTP daemons to provide fairly robust asynchronous replication for user mailboxes. A poor man's replication engine if you will. Aside from the geographic redundancy this could provide, it would be handy for users who travel among many branch offices so their email access i

Replication is broken with modseq issue in 2.3.6

2006-07-05 Thread Bron Gondwana
tures with security updates in the 'stable' line is bad for your blood pressure. If you're running replication on any post 2.3.3 cyrus, your replica contains indexes with '0' as the modseq value. This means that your messages will not be fetchable until you either

Cyrus Replication (example) [was Re: restore from cyrdump]

2014-12-18 Thread Nic Bernstein
ing pair): --- imapd-master.conf2014-11-24 13:37:45.752639666 -0600 +++ imapd-replica.conf 2014-11-24 13:31:58.702611566 -0600 @@ -1,22 +1,14 @@ ## -# These configuration parameters are for the master server -# in a replication set -servername: master.example.com +#

<    1   2   3   4   5   6   7   8   >