[Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
Hi I'm trying to build a cluster of two servers with dsync replication (based on http://wiki2.dovecot.org/Replication). My test setup works fine for very simple tests, I can log in to both servers, copy a message to one of the servers and it successfully apperars in the other account. But, if I tr

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 12.27, Oli Schacher wrote: > I'm trying to build a cluster of two servers with dsync replication > (based on http://wiki2.dovecot.org/Replication). My test setup works > fine for very simple tests, I can log in to both servers, copy a > message to one of the servers and it succes

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
> a) Use mdbox format instead of maildir. It works better with dsync. ok, I'll try that (although I was hoping I could avoid migrating all boxes on the server I was planning to use this feature) > > b) Switch to v2.2 (latest hg version). It has a rewritte dsync that > works better. the test

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 14.06, Oli Schacher wrote: >> b) Switch to v2.2 (latest hg version). It has a rewritte dsync that >> works better. > > the testsetup is already on 2.2 hg Oh. But it's still beta1. There are several fixes done to dsync since beta1, including a fix for these maildir errors. I sh

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
On Thu, 31 Jan 2013 14:27:08 +0200 Timo Sirainen wrote: > Oh. But it's still beta1. There are several fixes done to dsync since > beta1, including a fix for these maildir errors. I should release > beta2 or maybe rc1 soon. > hmm.. actually I think I built it from the latest hg (but I must admit

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 14.46, Oli Schacher wrote: > On Thu, 31 Jan 2013 14:27:08 +0200 > Timo Sirainen wrote: > >> Oh. But it's still beta1. There are several fixes done to dsync since >> beta1, including a fix for these maildir errors. I should release >> beta2 or maybe rc1 soon. >> > > hmm.. actu

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
> > I tried with mdbox now.. same problem, although I don't see > > "Expunged message reappeared" anymore , but still tons of these: > > > > Server1: > > Jan 31 13:38:05 doco1 dovecot: doveadm: Error: dsync-remote(user1): > > Error: Mailbox INBOX: Remote didn't send mail > > GUID=caec8e2a84650a51

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 15.10, Oli Schacher wrote: > connect thunderbird to account user1 on server1 > result: login ok, mdbox visible on disk, 0 messages > > in thunderbird copy exactly 100 messages from a spambox to user1's > inbox on server1 spambox not being in server1? So not IMAP COPY command,

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
On Thu, 31 Jan 2013 15:24:06 +0200 Timo Sirainen wrote: > On 31.1.2013, at 15.10, Oli Schacher wrote: > > > connect thunderbird to account user1 on server1 > > result: login ok, mdbox visible on disk, 0 messages > > > > in thunderbird copy exactly 100 messages from a spambox to user1's > > in

[Dovecot] sieve_max_redirects=0 not working as documented

2013-01-31 Thread Arnaud Abélard
Hello I'm trying to keep my users from using the "redirect" action with pigeonhole from dovecot 2.0.21. As documented in http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration I configured sieve like this: plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_max_redirects = 0 }

[Dovecot] Dovecot 2.2.beta1 errors

2013-01-31 Thread Andreas Kasenides
From the command >doveadm log errors we get Jan 31 15:41:12 imap(): Panic: Buffer full (8221 > 8192, pool ) Jan 31 15:41:12 imap(): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x5b83a) [0x7ffbaa3a783a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x5b886) [0x7ffbaa3a788

Re: [Dovecot] sieve_max_redirects=0 not working as documented

2013-01-31 Thread Stephan Bosch
Op 1/31/2013 2:59 PM, Arnaud Abélard schreef: Hello I'm trying to keep my users from using the "redirect" action with pigeonhole from dovecot 2.0.21. As documented in http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration I configured sieve like this: plugin { sieve = ~/.dovecot.sieve

Re: [Dovecot] Dovecot 2.2.beta1 errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 16.53, Andreas Kasenides wrote: >> Jan 31 15:41:12 imap(): Panic: Buffer full (8221 > 8192, pool ) >> Jan 31 15:41:12 imap(): Error: Raw backtrace: >> /usr/local/lib/dovecot/libdovecot.so.0(+0x5b83a) [0x7ffbaa3a783a] -> .. >> master: service(imap): child 2236 killed wi

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 15.36, Oli Schacher wrote: > On Thu, 31 Jan 2013 15:24:06 +0200 > Timo Sirainen wrote: > >> On 31.1.2013, at 15.10, Oli Schacher wrote: >> >>> connect thunderbird to account user1 on server1 >>> result: login ok, mdbox visible on disk, 0 messages >>> >>> in thunderbird copy

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
On Thu, 31 Jan 2013 17:09:20 +0200 Timo Sirainen wrote: > > See if http://hg.dovecot.org/dovecot-2.2/rev/1d88f01ba2aa helps? > I updated to the latest hg, including the "remote cmd exit wait" update. It looks better now, but I still manage to break things :-) # test 1: append 10

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 18.37, Oli Schacher wrote: > I updated to the latest hg, including the "remote cmd exit wait" update. > > It looks better now, but I still manage to break things :-) > > # > test 2: append only 100 messages, but use maildir again instead of > mdbox. > still produces

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Oli Schacher
On Thu, 31 Jan 2013 18:49:18 +0200 Timo Sirainen wrote: > > http://hg.dovecot.org/dovecot-2.2/rev/86629f621fe4 should fix this > crash. > > The duplication happens because maildir somehow messes up itself. I > guess I should look into it. > thanks, much appreciated! > > test 3: mdbox again,

[Dovecot] Dovecot Director Doveadm fails when there are a lot of output information

2013-01-31 Thread Ramon Frontera
Hi, we are running dovecot 2.1.13 We have 2 proxies with director and 4 mail servers. we use LDAP when we execute doveadm-quota -A and doveadm with few output lines, its works fine. When we use doveadm-search or doveadm-mailbox with a lot of output information the command stops the execution an

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On 31.1.2013, at 19.41, Oli Schacher wrote: >>> Jan 31 17:13:11 doco1 dovecot: dsync-local(user1): Error: Mailbox >>> INBOX: Remote didn't send mail GUID=33dabe0f11980a51200c960042f4 >>> (UID=104) I guess there's some bug that causes this to happen in some situations.. But the reason for ma

Re: [Dovecot] dsync replication errors

2013-01-31 Thread Timo Sirainen
On Thu, 2013-01-31 at 21:51 +0200, Timo Sirainen wrote: > On 31.1.2013, at 19.41, Oli Schacher wrote: > > >>> Jan 31 17:13:11 doco1 dovecot: dsync-local(user1): Error: Mailbox > >>> INBOX: Remote didn't send mail GUID=33dabe0f11980a51200c960042f4 > >>> (UID=104) > > I guess there's some bug

[Dovecot] Userdb passwd and 'nologin' users

2013-01-31 Thread Ben Morrow
I am running Dovecot with system users (userdb passwd), but some of those users don't have shell accounts on the IMAP server so their shell on that machine is set to /usr/sbin/nologin. Currently I am using maildirs and this is not a problem, but I am in the process of switching to dbox which means

Re: [Dovecot] Reviewing end-user ham/spam submissions before feeding them to sa-learn via Dovecot Antispam plug-in

2013-01-31 Thread Ben Johnson
On 1/17/2013 4:31 AM, Steffen Kaiser wrote: > On Wed, 16 Jan 2013, Ben Johnson wrote: > >> Currently, I'm using the Dovecot Antispam plug-in with great >> success. Everything works as expected. > >> However, I would like to change the plug-in's behavior such that >> it simply sends a copy of a

Re: [Dovecot] Userdb passwd and 'nologin' users

2013-01-31 Thread Timo Sirainen
On 1.2.2013, at 0.35, Ben Morrow wrote: > I am running Dovecot with system users (userdb passwd), but some of > those users don't have shell accounts on the IMAP server so their shell > on that machine is set to /usr/sbin/nologin. Currently I am using > maildirs and this is not a problem, but I a

Re: [Dovecot] Userdb passwd and 'nologin' users

2013-01-31 Thread Daniel Parthey
Hi Ben, Ben Morrow wrote: > +if (set->check_nologin) { > +/* skip entries that don't have a valid shell. > + they're again probably not real users. */ > +if (strcmp(pw->pw_shell, "/bin/false") == 0 || > +strcmp(pw->pw_sh