Re: [Dovecot] Is replication broken?

2014-04-03 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2 Apr 2014, IT geek 31 wrote: To answer my own question, I have to edit my Postfix main.cf file with the following command: mailbox_command = /usr/pkg/libexec/dovecot/dovecot-lda -f $SENDER -a $RECIPIENT More info can be found here:

Re: [Dovecot] Is replication broken?

2014-04-03 Thread IT geek 31
Honestly, for most setups I would recommend LMTP nowadays. I don't use Postfix, but that page looks good: http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP You do not need to do anything special in postfix, if you use Dovecot's LDA or LMTP, when you change the storage backend. Most

Re: [Dovecot] Is replication broken?

2014-04-03 Thread IT geek 31
Honestly, for most setups I would recommend LMTP nowadays. I don't use Postfix, but that page looks good: http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I followed the guide, but I received the following error: Apr 3 08:41:31 server1 postfix/lmtp[4084]: DE4321F83A: to=us...@test.com,

Re: [Dovecot] Is replication broken?

2014-04-02 Thread IT geek 31
Actually asked another way, why should I waste time rtfm when I can just be lazy and waste everyone else's time with questions that I could otherwise easily answer myself?... Actually pal that's utter bollocks. I did RTFM, but I think it's widely recognised the Dovecot wiki (Replication

Re: [Dovecot] Is replication broken?

2014-04-02 Thread IT geek 31
Before I do this, my question is this - will Postfix automatically know where to find the inbox, or will I have to do modify my Postfix config somehow? To answer my own question, I have to edit my Postfix main.cf file with the following command: mailbox_command =

Re: [Dovecot] Is replication broken?

2014-03-19 Thread Charles Marcus
On 3/17/2014 8:50 AM, IT geek 31 itgee...@googlemail.com wrote: It might have been quicker to type Yeah buddy, it can convert any two mailbox formats. Actually, it would have been much quicker had you simply read the text that I ended up pointing out to you, without wasting everyone else's

Re: [Dovecot] Is replication broken?

2014-03-17 Thread Charles Marcus
On 3/13/2014 2:27 PM, IT geek 31 itgee...@googlemail.com wrote: I found this: http://wiki2.dovecot.org/Migration/MailFormat But I think that is hinting at going mbox --- Maildir --- mdbox. Not ideal. Look at the three sentences directly before the examples there. It specifically says:

Re: [Dovecot] Is replication broken?

2014-03-17 Thread IT geek 31
Look at the three sentences directly before the examples there. It specifically says: With dsync you can convert between any two mailbox formats that Dovecot supports. As much of the mailbox state is preserved as possible. Typically it's everything. See Tools/Dsync

Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
Timo wrote this last month: mbox format + dsync replication apparently doesn't work because of lock ordering issues. Might not be easy to fix, or in any case it's pretty low priority for me for now. Sorry for bumping the subject again but is there any chance this has moved up the priority list?

Re: [Dovecot] Is replication broken?

2014-03-13 Thread Charles Marcus
On 3/13/2014 10:55 AM, IT geek 31 itgee...@googlemail.com wrote: Timo wrote this last month: mbox format + dsync replication apparently doesn't work because of lock ordering issues. Might not be easy to fix, or in any case it's pretty low priority for me for now. Sorry for bumping the subject

Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
Oh agreed. I assumed that to be what he meant :-) I'll have a hunt for a numpties guide for migrating from mbox to mdbox. I found this: http://wiki2.dovecot.org/Migration/MailFormat But I think that is hinting at going mbox --- Maildir --- mdbox. Not ideal. -Mark On 13 March 2014

Re: [Dovecot] Is replication broken?

2014-02-07 Thread Timo Sirainen
On 30.1.2014, at 8.31, IT geek 31 itgee...@googlemail.com wrote: Jan 30 13:25:16 Server2 dovecot: dsync-server(MailUser1): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox-mbox_lock_type != F_RDLCK) mbox format + dsync replication apparently

[Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
Hi, Apologies for this being my 248th post about replication... The current error I'm getting is: Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync( Server2.test.com): read() failed: read((fd)) failed: Connection reset by peer Subsequent errors are: Jan 30 12:15:47 Server1

Re: [Dovecot] Is replication broken?

2014-01-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2014, IT geek 31 wrote: Apologies for this being my 248th post about replication... The current error I'm getting is: Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync( Server2.test.com): read() failed:

Re: [Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
Hi Steffen, Thanks for getting back to me. Do you know why I am now getting: Jan 30 12:50:43 Server1 dovecot: dsync-local(MailUser1): Error: read( Server2.test.com) failed: EOF Thanks, On 30 January 2014 12:52, Steffen Kaiser skdove...@smail.inf.fh-brs.dewrote: -BEGIN PGP SIGNED

Re: [Dovecot] Is replication broken?

2014-01-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2014, IT geek 31 wrote: On 30 January 2014 12:52, Steffen Kaiser skdove...@smail.inf.fh-brs.dewrote: On Thu, 30 Jan 2014, IT geek 31 wrote: Apologies for this being my 248th post about replication... The current error I'm

Re: [Dovecot] Is replication broken?

2014-01-30 Thread IT geek 31
Okay.. so how do I fix it? :-) Here are the errors on the remote server (the last two are a different mailbox!): Jan 30 13:25:16 Server2 dovecot: dsync-server(MailUser1): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox-mbox_lock_type != F_RDLCK)

Re: [Dovecot] Is replication broken?

2014-01-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2014, IT geek 31 wrote: Here are the errors on the remote server (the last two are a different mailbox!): Jan 30 13:25:16 Server2 dovecot: dsync-server(MailUser1): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: