Re: [Dovecot] Synchronization error in NFS

2012-02-09 Thread Andy YB Hu
Thanks Timo, I just tried out the Director. One question is about the re-redirection. I know director will redirect all the simultaneous requests from the same user to only a single server at the same time. The question is how to manage the time period after last connection to re-decide to redi

Re: [Dovecot] vsz_limit

2012-02-09 Thread Héctor Moreno Blanco
Hello Timo, I can see these errors, but I'm not sure if they have something to do with my problem: ... Feb 8 12:04:57 XX dovecot: imap-login: Error: read(imap) failed: Connection reset by peer Feb 8 12:04:57 XX dovecot: imap-login: Error: read(imap) failed: Remote closed connection (

Re: [Dovecot] [PATCH] Bad boundary check in client_find_namespace

2012-02-09 Thread Christoph Bußenius
Hi, I'm glad to see my report finally arrive, thank you :) On 09.02.2012 04:02, Timo Sirainen wrote: Fixed now slightly differently than you: No problem – I agree that my code was a bit kludgy. I noticed that my original mail might be a bit unclear: > while trying to investigate the bug I

Re: [Dovecot] vsz_limit

2012-02-09 Thread Timo Sirainen
On 9.2.2012, at 10.41, Héctor Moreno Blanco wrote: > I can see these errors, but I'm not sure if they have something to do with my > problem: > > ... > Feb 8 12:04:57 XX dovecot: imap-login: Error: read(imap) failed: > Connection reset by peer > Feb 8 12:04:57 XX dovecot: imap-login:

Re: [Dovecot] Synchronization error in NFS

2012-02-09 Thread Timo Sirainen
On 9.2.2012, at 10.36, Andy YB Hu wrote: > I just tried out the Director. One question is about the re-redirection. I > know director will redirect all the simultaneous requests from the same > user to only a single server at the same time. The question is how to > manage the time period after l

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-02-09 Thread Jan-Frode Myklebust
On Thu, Feb 09, 2012 at 01:48:09AM +0200, Timo Sirainen wrote: > On 7.2.2012, at 10.25, Jan-Frode Myklebust wrote: > > > Feb 6 16:13:10 loadbalancer2 dovecot: lmtp(6601): Panic: file > > lmtp-proxy.c: line 376 (lmtp_proxy_output_timeout): assertion failed: > > (proxy->data_input->eof) > ..

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-02-09 Thread Timo Sirainen
On 9.2.2012, at 14.56, Jan-Frode Myklebust wrote: >>> Should I try increasing LMTP_PROXY_DATA_INPUT_TIMEOUT_MSECS, or do you have >>> any >>> other ideas for what might be causing it ? >> >> The backend server didn't reply within LMTP_PROXY_DEFAULT_TIMEOUT_MSECS >> (30 secs). > > It's actually

Re: [Dovecot] fts (lucene): indexing of virtual mailboxes?

2012-02-09 Thread Timo Sirainen
Hi, On Fri, 2011-09-23 at 16:49 +0200, Lutz Preßler wrote: > Hello, > > (recent 2.1alpha2 variant - my test setup known to Timo). > No time to diagnose in depth at the moment, but I just noticed > that SEARCHing in virtual mailboxes seems not to create lucene > index content of its own but use th

[Dovecot] POP3 UIDLs with virtual INBOX and migration from maildir->mdbox

2012-02-09 Thread Peter Mogensen
Hi, Considering the scenario, where you have some old account with a different POP3 UIDL format and you migrate them to dovecot. So these old UIDLs would be saved to dovecot-uidlist. At some later time you want to introduce a virtual POP3 INBOX like described on: http://wiki.dovecot.org/Plu

Re: [Dovecot] vsz_limit

2012-02-09 Thread Héctor Moreno Blanco
Hello Timo, There is no other problem as far as I know. That's why I think is has something to do with dovecot. Specifically with the imap an imap-login process, as I observe in the processes status. Anyway, the system load is not high enough to cause these problems. However, imap service doesn

Re: [Dovecot] POP3 UIDLs with virtual INBOX and migration from maildir->mdbox

2012-02-09 Thread Timo Sirainen
On Thu, 2012-02-09 at 15:35 +0100, Peter Mogensen wrote: > Hi, > > Considering the scenario, where you have some old account with a > different POP3 UIDL format and you migrate them to dovecot. > > So these old UIDLs would be saved to dovecot-uidlist. > > At some later time you want to introduc

Re: [Dovecot] [dovecot] Getting duplicates when using snarf plugin with mbox backend

2012-02-09 Thread Timo Sirainen
On Mon, 2011-06-13 at 08:59 -0400, Jonathan SIegle wrote: > Running dovecot version 2.0.11. To reproduce, open two imap sessions and > issue a check command from each at the same time with new mail in the queue. > > 0 login testuser testpw > 1 select inbox > -- Deliver mail -- > 2 check Finally

Re: [Dovecot] BUG(?): Incorrect responses for ACL prohibited actions

2012-02-09 Thread Timo Sirainen
Hi, Continuing this old thread: On Tue, 2011-05-10 at 22:46 -0600, Michael M Slusarz wrote: > But as far as the NO for a non-silent STORE, it seems that RFC 4314 > [4] disagrees with you: > >STORE operation SHOULD NOT fail if the user has rights to modify >at least one flag spe

Re: [Dovecot] Crash on mail folder delete

2012-02-09 Thread Timo Sirainen
On Wed, 2012-01-25 at 16:04 -0800, Daniel L. Miller wrote: > On 1/25/2012 3:43 PM, Daniel L. Miller wrote: > > On 1/25/2012 3:42 PM, Timo Sirainen wrote: > >> On 26.1.2012, at 1.37, Daniel L. Miller wrote: > >> > >>> Attempting to delete a folder from within the trash folder using > >>> Thunderbir

Re: [Dovecot] Quota Calculation seems to be wrong when using dsync

2012-02-09 Thread Timo Sirainen
On Sat, 2010-12-25 at 10:08 +0100, Thomas Leuxner wrote: > plugin { > quota = dict:user::file:%h/mdbox/dovecot-quota > quota_rule = *:storage=1GB > quota_rule2 = Trash:storage=+10%% > } > > Kick off a manual backup: > > $ dsync -u u...@domain.tld backup mdbox://mdbox > > This results in do

Re: [Dovecot] 2.1.rc1 (8a63f621bd2e): SiS permission issue + crash

2012-02-09 Thread Timo Sirainen
On Sat, 2011-12-10 at 04:35 +0100, Pascal Volk wrote: > dsync -u tes...@example.com mirror maildir:/tmp/Maildir > rm -rf Maildir && cp -a Maildir_org Maildir && chown -R 70010:70002 Maildir > dsync -vu tes...@example.com mirror maildir:/tmp/Maildir > dsync(tes...@example.com): Error: > stat(/srv/m

Re: [Dovecot] Segfaul probably during dsync

2012-02-09 Thread Timo Sirainen
On Tue, 2011-04-12 at 14:52 +0200, Matthias Rieber wrote: > Hi, > > it's caused by a virtual folder: > > INBOX.IBX.Folder1 > INBOX.Ordner.Folder1 > INBOX.Ordner.Folder1.* >OR (OR (OR HEADER FROM bar.com HEADER FROM bar.de) HEADER FROM > foo.com) HEADER FROM barfoos.net NOT HEADER FROM r

Re: [Dovecot] Strange behavior from shared namespaces and INBOX, probably a bug

2012-02-09 Thread Timo Sirainen
On Fri, 2011-09-23 at 14:13 +0200, Christoph Bussenius wrote: > Some folders of user1, including the INBOX, have been shared using these IMAP > commands: > . login user1 XX > . setacl INBOX user2 lrwstiekx > . setacl box-a user2 lrwstiekx > > Now if we use telnet to log in as user2 and selec

Re: [Dovecot] dsync deleting too many emails (sdbox)

2012-02-09 Thread Timo Sirainen
On Thu, 2012-02-02 at 14:59 -0500, Asheesh Laroia wrote: > I'm guessing this is some bad interaction with sdbox and partial file > downloads? > > I haven't read the code for this, but I would guess the dsync process isn't > being atomic > about file transfers, so it is leaving half-completed tra

Re: [Dovecot] dsync deleting too many emails (sdbox)

2012-02-09 Thread Timo Sirainen
On 9.2.2012, at 21.47, Timo Sirainen wrote: > I've anyway done several fixes in v2.1. Can you try if these problems > happen with it too? And in any case cleanup the dbox from the *.broken > files, so that "doveadm force-resync" won't give any errors. A bit more specifically: The last such dbox b

Re: [Dovecot] dsync deleting too many emails (sdbox)

2012-02-09 Thread Asheesh Laroia
On Thu, 9 Feb 2012, Timo Sirainen wrote: On 9.2.2012, at 21.47, Timo Sirainen wrote: I've anyway done several fixes in v2.1. Can you try if these problems happen with it too? And in any case cleanup the dbox from the *.broken files, so that "doveadm force-resync" won't give any errors. A bi

Re: [Dovecot] Synchronization error in NFS

2012-02-09 Thread Andy YB Hu
OK. One more question. Now, the director and backend server are running on the same servers, I set it up according to http://wiki2.dovecot.org/RunningDovecot#Running_Multiple_Invocations_of_Dovecot . The question is how to use doveadm to manage the different instances? I know there is dovecot -c