[Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Luigi Rosa
I would like to set up an active-active fault tolerance couple of mail servers. Is the following procedure correct? Let's suppose I want to set up two servers for acme.com, mail1.acme.com and mail2.acme.com I declare both servers as MX in DNS configuration. Mailbox are stored in maildir

Re: [Dovecot] Dovecot 2.0 and BSDI 4.X

2010-08-21 Thread Stan Hoeppner
The Doctor put forth on 8/20/2010 9:24 PM: On Thu, Aug 19, 2010 at 06:22:09PM +0100, Timo Sirainen wrote: On Wed, 2010-08-18 at 23:37 -0600, The Doctor wrote: Aug 18 23:25:31 doctor dovecot: log: Error: net_accept() failed: Invalid argument http://hg.dovecot.org/dovecot-2.0/rev/565f18727209

Re: [Dovecot] Authentication woes - Couldn't drop privileges: Mail access not allowed for root

2010-08-21 Thread Ralph Seichter
Hi Timo, thanks again for pointing out the missing userdb configuration entry yesterday. Now that both Dovecot 2.0.0 servers are running fine, I use the following command to backup mail data from serverA to serverB in a shell script running on serverB, looping over user names:

Re: [Dovecot] pigeonhole sieve imapflags bug

2010-08-21 Thread Stephan Bosch
[oops, apparently I didn't reply this to the list] Tim Traver wrote: Hi all, ok, I just instealled the dovecot 2.0.0 release, and the latest mercurial pigeonhole source. All is well, except for a particular sieve rule that may not be working right. It is a simple rule that looks like this

[Dovecot] sieve_after scripts with virtual domains

2010-08-21 Thread Ciro Scognamiglio
Hi all, first of all I am new to the list, so hello everyone :) I recently encountered an annoying problem with sieve, I am using dovecot version 1.2.13 on centos 5.5, the packages installed are the following: dovecot-sieve-0.1.17-5.el5 dovecot-managesieve-0.11.11-0_4.el5

Re: [Dovecot] Dovecot 2.0 and BSDI 4.X

2010-08-21 Thread Timo Sirainen
On 21.8.2010, at 3.24, The Doctor wrote: Aug 18 23:25:31 doctor dovecot: master: Warning: service(anvil): process_limit reached, client connections are being dropped I'm not really sure about this.. This still happens with the above change? Anything else logged before it? Do you even have

Re: [Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Timo Sirainen
On 21.8.2010, at 9.05, Luigi Rosa wrote: The replica is done via dsync with a procedure like this executed on mail1.acme.com server: foreach mailbox { dsync mirror mailbox } 1) Use Linux user/group owner of the files and directories are the same on both hosts (they are both

Re: [Dovecot] Dovecot 2.0 and BSDI 4.X

2010-08-21 Thread The Doctor
On Sat, Aug 21, 2010 at 01:40:00PM +0100, Timo Sirainen wrote: On 21.8.2010, at 3.24, The Doctor wrote: Aug 18 23:25:31 doctor dovecot: master: Warning: service(anvil): process_limit reached, client connections are being dropped I'm not really sure about this.. This still happens with

Re: [Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Luigi Rosa
Timo Sirainen said the following on 21/08/2010 14.54: Maybe simply: dsync mirror -u u...@domain mail2.acme.com Timo, thank you for all your answers. I will set up a replicated active-active configuration in the following weeks and I will let you know if problems arise. Ciao, luigi -- /

Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-21 Thread David Woodhouse
On Thu, 2010-08-19 at 18:37 +0100, Timo Sirainen wrote: On Wed, 2010-08-18 at 22:27 +0100, David Woodhouse wrote: Aug 18 22:07:31 twosheds IMAP(dwmw2): : Panic: file mail-index-transaction.c: line 637 (mail_index_transaction_lookup): assertion failed: (seq = t-first_new_seq

[Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
Started looking into the dsync utility and the doc are seriously incomplete. I can of course scour the internet looking for the missing information but that doesn't fix the problem with the docs. I might try to rewrite the docs myself once I figure it out.

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Timo Sirainen
On 21.8.2010, at 16.24, Marc Perkel wrote: Started looking into the dsync utility and the doc are seriously incomplete. I can of course scour the internet looking for the missing information but that doesn't fix the problem with the docs. I might try to rewrite the docs myself once I

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 9:16 AM, Timo Sirainen wrote: On 21.8.2010, at 16.24, Marc Perkel wrote: Started looking into the dsync utility and the doc are seriously incomplete. I can of course scour the internet looking for the missing information but that doesn't fix the problem with the docs. I might

[Dovecot] sieve rule help

2010-08-21 Thread Piyush Joshi
Dear All, I am using dovecot-2.0.0 version and all my sieve filters are working perfectly except the following one. I am trying to flag message coming from jagd...@example.net mail id. require

Re: [Dovecot] sieve rule help

2010-08-21 Thread Bradley Giesbrecht
On Aug 21, 2010, at 10:01 AM, Piyush Joshi wrote: Dear All, I am using dovecot-2.0.0 version and all my sieve filters are working perfectly except the following one. I am trying to flag message coming from jagd...@example.net mail id. require [fileinto ,envelope

[Dovecot] imap, imaps, ports; config for secure-only service

2010-08-21 Thread Ronald Leach
Hello, having difficulty setting up a 'secure-only' service on a non-standard port. Objective is to open a secure Dovecot service on an internet-visible port, while also using an insecure service for hosts on an internal network (so that one particular client which is not SSL/TLS-capable can

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Charles Marcus
On 2010-08-21 12:51 PM, Marc Perkel m...@perkel.com wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering what is this? Mark, is this another case of your absolute failure to even *try* to google the

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Brandon Lamb
On Sat, Aug 21, 2010 at 11:00 AM, Charles Marcus cmar...@media-brokers.com wrote: On 2010-08-21 12:51 PM, Marc Perkel m...@perkel.com wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering what is this?

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Bradley Giesbrecht
On Aug 21, 2010, at 11:42 AM, Brandon Lamb wrote: On Sat, Aug 21, 2010 at 11:00 AM, Charles Marcus cmar...@media-brokers.com wrote: On 2010-08-21 12:51 PM, Marc Perkel m...@perkel.com wrote: When you write software you never have to learn it so you don't have the perspective of someone who

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 11:00 AM, Charles Marcus wrote: On 2010-08-21 12:51 PM, Marc Perkelm...@perkel.com wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering what is this? Mark, is this another case of your

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 11:00 AM, Charles Marcus wrote: On 2010-08-21 12:51 PM, Marc Perkelm...@perkel.com wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering what is this? Mark, is this another case of your

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Pascal Volk
On 08/21/2010 09:58 PM Marc Perkel wrote: Besides - the wiki has the same incomplete information as the man page. Yeah, the wiki shows the manual page. ;-) But now it's time to tell us, waht you are missing / what's incomplete. (see also MID:f559a442-1e7f-4d78-a674-15e2843a3...@iki.fi)

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Charles Marcus
On 2010-08-21 3:56 PM, Marc Perkel m...@perkel.com wrote: You are missing the point. When documentation is done right then you don't have to google it unless you are doing something tricky. True - but 2.0 is brand new, so instead of posting to the list mostly a vague complaint with a vague