[Dovecot] Replication and LAYOUT=fs

2013-06-12 Thread Simon Fraser
Hello folks, I have a problem with replication and mail_location with LAYOUT=fs set. If I set "mail_location = maildir:~/mail" (leaving out the :LAYOUT=fs), create and populate some mailboxes and subfolders, they all get replicated. If I start with a clean mail spool and LAYOUT=fs, I can create s

Re: [Dovecot] Replication and LAYOUT=fs

2013-06-13 Thread Simon Fraser
On Thu, 2013-06-13 at 04:59 +0300, Timo Sirainen wrote: > On Wed, 2013-06-12 at 11:39 +0100, Simon Fraser wrote: > > Hello folks, > > > > I have a problem with replication and mail_location with LAYOUT=fs set. > > > > If I set "mail_location = maild

[Dovecot] Expunged message reappeared, giving a new UID

2013-07-26 Thread Simon Fraser
I am running dovecot 2.2.2 with tcp based replication, and experiencing some duplicated emails. `doveconf -n` output is below. I have narrowed it down to the following scenario: An email arrives, and is successfully replicated to both nodes. It is in INBOX/new/ at this point on both servers. C

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-07-26 Thread Simon Fraser
+0100, Simon Fraser wrote: > I am running dovecot 2.2.2 with tcp based replication, and experiencing > some duplicated emails. `doveconf -n` output is below. > > I have narrowed it down to the following scenario: > > An email arrives, and is successfully replicated to both nodes. I

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-07-26 Thread Simon Fraser
On Fri, 2013-07-26 at 17:47 +0200, Reindl Harald wrote: > > Am 26.07.2013 17:41, schrieb Simon Fraser: > > I've just converted the mailboxes to mdbox, so mail_location now looks > > like this: > > > > mail_location = mdbox:~/mail > > > > The

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-07-29 Thread Simon Fraser
On Fri, 2013-07-26 at 20:26 +0200, Daniel Parthey wrote: > Hi Simon, > > Version 2.2.2 is not current any more. I would try to update to the > latest stable version 2.2.4 first, since some dsync bugs have been > fixed between 2.2.2 and 2.2.4: I've now upgraded to 2.2.4 (and pigeonhole 0.4.1 from

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-01 Thread Simon Fraser
Hi, is there anything I can do to help debug this - any tools I should run to discover where the cause might be? Simon. On Mon, 2013-07-29 at 10:05 +0100, Simon Fraser wrote: > On Fri, 2013-07-26 at 20:26 +0200, Daniel Parthey wrote: > > Hi Simon, > > > > Version 2.2.2 is

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-01 Thread Simon Fraser
On Thu, 2013-08-01 at 15:09 +0300, Timo Sirainen wrote: > On Fri, 2013-07-26 at 11:28 +0100, Simon Fraser wrote: > > > I am running dovecot 2.2.2 with tcp based replication, and experiencing > > some duplicated emails. `doveconf -n` output is below. > > Are both of th

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-06 Thread Simon Fraser
Hello, For what it's worth, still experiencing these symptoms with 2.2.5. Thanks, Simon. On Thu, 2013-08-01 at 15:02 +0100, Simon Fraser wrote: > On Thu, 2013-08-01 at 15:09 +0300, Timo Sirainen wrote: > > On Fri, 2013-07-26 at 11:28 +0100, Simon Fraser wrote: > > > &

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-06 Thread Simon Fraser
On Tue, 2013-08-06 at 14:30 +0300, Timo Sirainen wrote: > Here's another idea: > Thank you for still looking into this > Try disabling replicator plugin from only one side, so there's not > possibility of two dsyncs running at the same time. That should be prevented > already by locking thoug

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-06 Thread Simon Fraser
On Tue, 2013-08-06 at 16:45 +0300, Timo Sirainen wrote: > > > > Weird, I was sure that would have worked. Well, maybe rawlogs would > show something interesting. I should probably add a proper option for > them, but attached a patch to enable for now. Be sure to > mkdir /tmp/dsync-rawlogs with en

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-08 Thread Simon Fraser
On Tue, 2013-08-06 at 19:15 +0300, Timo Sirainen wrote: > > Presumably it's thinking the "-r /tmp/dsync-rawlog" is a mail location? > > I've tried changing its location in the appends, but it doesn't make a > > difference. > > Oops, I messed up the parameter order. It was supposed to have -s sta

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-19 Thread Simon Fraser
Are there any more tests I can run for this? Thanks, Simon. On Thu, 2013-08-08 at 09:21 +0100, Simon Fraser wrote: > On Tue, 2013-08-06 at 19:15 +0300, Timo Sirainen wrote: > > > > Presumably it's thinking the "-r /tmp/dsync-rawlog" is a mail location? > >

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-08-30 Thread Simon Fraser
On Mon, 2013-08-19 at 12:08 +0100, Simon Fraser wrote: > Are there any more tests I can run for this? I've tried an ssh-based replication configuration, and still experience the same symptoms. Going through a director proxy also doesn't help (as expected, that one, since I was

[Dovecot] Basic clustered filesystem advice (was: Re: Expunged message reappeared, giving a new UID)

2013-09-16 Thread Simon Fraser
ure Director is enabled. Are there any things to watch for surrounding this? Simon. On Fri, 2013-08-30 at 09:49 +0100, Simon Fraser wrote: > On Mon, 2013-08-19 at 12:08 +0100, Simon Fraser wrote: > > Are there any more tests I can run for this? > > I've tried an ssh-based r

Re: [Dovecot] Expunged message reappeared, giving a new UID

2013-09-23 Thread Simon Fraser
On Sun, 2013-09-22 at 00:13 +0300, Timo Sirainen wrote: > > One side has uidnext=23 and the other side has uidnext=24. You're > deleting the last message with uid=22, so the uidnext=23 is correct. > The other side however thinks that the same mail's uid is 23. There > must be something wrong with

Re: [Dovecot] 2.2.9

2013-11-23 Thread Simon Fraser
On Sat, Nov 23, 2013 at 01:10:04AM -0700, Eric Broch wrote: > On 11/22/2013 7:06 PM, Timo Sirainen wrote: > > > > (And as for the original question: I’ll make v2.2.9 this weekend. And as > > for bugs, as I already once mentioned, I’m planning on implementing > > significantly more comprehensive te

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-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-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

Re: LDAP: Connection appears to be hanging, reconnecting

2014-12-16 Thread Simon Fraser
On 16/12/14 16:30, Matthias Egger wrote: What happened: A few weeks ago one of the LDAPS Servers which is not maintained by us has crashed. From that moment on, users could still login to check their emails, but they were not able to send any email through postfix (which uses smtpd_sasl_type =