Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Stan Hoeppner
Henrique Fernandes put forth on 1/21/2011 1:38 AM: We are out of ideias to make it faster. We only came up making more ocfs2 cluster with smaller disks. With this we are gettng better performance. We have now 2 cluster one with 4 TB other with 1 TB and are migrating some os emails form 4TB to

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 01:08:09AM +0200, Timo Sirainen wrote: On Thu, 2011-01-20 at 23:50 +0100, Jan-Frode Myklebust wrote: But this woun´t work if the maildir has been modified outside of dovecot (i.e. webmail usage). Are there any simple interface I can use in this short snippet for

Re: [Dovecot] Delivered-To header without +extension ?

2011-01-21 Thread Per Jessen
Charles Marcus wrote: On 2011-01-20 4:06 AM, Per Jessen wrote: I've been reading a bit, and I think the issue is that postfix adds X-Original-To when delivering to a mailbox - which delivery via smtp/lmtp isn't. I'm not sure if postfix should be adding it - postfix applies

Re: [Dovecot] LMTP home, chroot, mail userdb fields.

2011-01-21 Thread Lev Serebryakov
Hello, Timo. You wrote 21 января 2011 г., 0:10:12: On Thu, 2011-01-20 at 15:21 +0300, Lev Serebryakov wrote: Jan 20 12:19:25 lmtp(38939, l...@domain.com): Error: mkdir(./cur) in directory /var/run/dovecot failed: Permission denied (euid=3(v-mail) egid=3(v-mail) missing +w perm: .,

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Timo Sirainen
On 21.1.2011, at 10.47, Jan-Frode Myklebust wrote: doveadm mailbox status unseen inbox This sounds great, but I'm struggeling to get it working... It complains about: $ doveadm -v mailbox status -u u...@example.com unseen inbox doveadm(u...@example.com): Error: userdb lookup:

Re: [Dovecot] Delivered-To header without +extension ?

2011-01-21 Thread Charles Marcus
On 2011-01-21 4:30 AM, Per Jessen wrote: Charles Marcus wrote: On 2011-01-20 4:06 AM, Per Jessen wrote: I've been reading a bit, and I think the issue is that postfix adds X-Original-To when delivering to a mailbox - which delivery via smtp/lmtp isn't. I'm not sure if postfix should be

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 03:08:26PM +0200, Timo Sirainen wrote: $ doveadm -v mailbox status -u u...@example.com unseen inbox doveadm(u...@example.com): Error: userdb lookup: connect(/usr/local/dovecot-2.0.9/var/run/dovecot/auth-userdb) failed: No such file or directory Then you'll

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-21 Thread Jerry
Seriously, isn't it time this thread died a peaceful death. It has long since failed to to have any real relevance to Dovecot, except in the most extreme sense. It has evolved into a few testosterone poisoned individuals attempting to make this forum a theater for some mating ritual. If they

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Stan Hoeppner
Jan-Frode Myklebust put forth on 1/21/2011 5:49 AM: On Thu, Jan 20, 2011 at 10:14:42PM -0600, Stan Hoeppner wrote: Have you considered SGI CXFS? It's the fastest cluster FS on the planet by an order of magnitude. It uses dedicated metadata servers instead of a DLM, which is why it's so

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-21 Thread Stan Hoeppner
Jerry put forth on 1/21/2011 7:53 AM: Seriously, isn't it time this thread died a peaceful death. It has long since failed to to have any real relevance to Dovecot, except in the most extreme sense. It has evolved into a few testosterone poisoned individuals attempting to make this forum a

[Dovecot] Does dsync handle client-side deletions?

2011-01-21 Thread Patrick Schoenfeld
Hi there, I'm currently evaluating the idea of a multi-master setup where each node shall hold a full copy of the mailboxes. Basically the idea is to use NFS and dsync to keep those copies in sync. So I did some tests with dsync and ran into a problem. Consider the following scenario: 1)

Re: [Dovecot] How to enable COPY and APPEND commands separately

2011-01-21 Thread Charles Marcus
On 2011-01-20 6:51 PM, Alex Cherniak wrote: I'd like to allow a user to move messages between his folders on Dovecot IMAP account, but prevent move/copy from different accounts (Exchange in particular). Outlook uses xx UID COPY 1 folder and then xx UID STORE 1 +FLAGS (\Deleted \Seen) for

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Charles Marcus
On 2011-01-20 6:08 PM, Timo Sirainen wrote: On Thu, 2011-01-20 at 23:50 +0100, Jan-Frode Myklebust wrote: But this woun´t work if the maildir has been modified outside of dovecot (i.e. webmail usage). Are there any simple interface I can use in this short snippet for noticing that the index is

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Henrique Fernandes
[]'sf.rique On Fri, Jan 21, 2011 at 5:59 AM, Stan Hoeppner s...@hardwarefreak.comwrote: Henrique Fernandes put forth on 1/21/2011 1:38 AM: We are out of ideias to make it faster. We only came up making more ocfs2 cluster with smaller disks. With this we are gettng better performance. We

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Ed W
On 20/01/2011 16:20, Henrique Fernandes wrote: Same question! I have about 1TB used and it takes 22 hrs to backup maildirs! I have problens with ocfs2 in fouding the file! Just an idea, but have you evaluated performance of mdbox (new dovecot format) on your storage devices? It appears to

Re: [Dovecot] COMPRESS bug?

2011-01-21 Thread Timo Sirainen
On Tue, 2011-01-04 at 23:14 +, Ed W wrote: - Zlib enabled - COMPRESS initiated in the connection - 30,000 messages in a single maildir folder - IMAP SEARCH SINCE requested - Dovecot 2.0.7 hangs without sending the closing stanza of the SEARCH Fixed:

Re: [Dovecot] Does dsync handle client-side deletions?

2011-01-21 Thread Timo Sirainen
On Fri, 2011-01-21 at 16:15 +0100, Patrick Schoenfeld wrote: 1) Location1 and Location2 are in sync 2) A mail gets deleted on Location1 (via IMAP) Via Dovecot v2.0 IMAP? What mailbox format? You haven't disabled index files, right? 3) dsync mirror run to sync the two locations Expected

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Henrique Fernandes
I have considered the idea, but we just change from mbox to maildir about 4 months ago, and we have many problens with some accouts. We were using dsync to migrate. But once we choose mdbox we are sticky to dovecot, or gona have to migrate all users again if we choose to use another imap server.

Re: [Dovecot] LMTP home, chroot, mail userdb fields.

2011-01-21 Thread Timo Sirainen
On Fri, 2011-01-21 at 14:03 +0300, Lev Serebryakov wrote: Jan 21 14:01:36 lmtp(17650, l...@domain.com): Error: (LEV-ADDITION) Replace home (/) with chroot (/usr/home/hosted/v-mail/domain.com/lev) Jan 21 14:01:36 lmtp(17650, l...@domain.com): Error: (LEV-ADDITION) Set mail_home to

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Ed W
Hi I have considered the idea, but we just change from mbox to maildir about 4 months ago, and we have many problens with some accouts. We were using dsync to migrate. Out of curiousity - how did the backup times change between mbox vs maildir? I would suggest that this gives you a

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 10:36:11AM -0500, Charles Marcus wrote: Easiest would be to just use a webmail app that talks IMAP and let it talk directly to dovecot... ? Yes, we want to implement that as soon as possible. Looking forward to getting everything all maildirs completely managed by

[Dovecot] restarting director

2011-01-21 Thread Cor Bosman
Hi all, anyone having any problems with restarting the director? Every time I bring down 1 of the director servers, reboot it, or just restart it for whatever reason, im seeing all kinds of problems. Dovecot generally always gives me this error: Jan 20 22:49:55 imapdirector3 dovecot: director:

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Henrique Fernandes
[]'sf.rique On Fri, Jan 21, 2011 at 3:29 PM, Ed W li...@wildgooses.com wrote: Hi I have considered the idea, but we just change from mbox to maildir about 4 months ago, and we have many problens with some accouts. We were using dsync to migrate. Out of curiousity - how did the backup

Re: [Dovecot] restarting director

2011-01-21 Thread Timo Sirainen
On Fri, 2011-01-21 at 19:59 +0200, Timo Sirainen wrote: I can take a look at it, but it would help if you were able to reproduce the problem. More clearly: Reliably reproduce this in a test setup :) signature.asc Description: This is a digitally signed message part

Re: [Dovecot] restarting director

2011-01-21 Thread Timo Sirainen
On Fri, 2011-01-21 at 13:42 -0400, Cor Bosman wrote: Hi all, anyone having any problems with restarting the director? Every time I bring down 1 of the director servers, reboot it, or just restart it for whatever reason, im seeing all kinds of problems. Dovecot generally always gives me this

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Stan Hoeppner
Henrique Fernandes put forth on 1/21/2011 9:50 AM: Let me try explain better. We have 3 virtual machines with this set up: /dev/sda1 3.6T 2.4T 1.3T 66% /A /dev/sdb1 1.0T 36G 989G 4% /B /dev/sdc1 1.0T 3.3G 1021G 1% /C /dev/sda1 on /A type

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Ed W
On 21/01/2011 17:50, Henrique Fernandes wrote: I don't know if i got your question right, but before, while using mbox, we had less users and much less quota, it was only 200MB now is about 1GB. And before we did not have a good backup system, had many problens. We pretty much change to

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Henrique Fernandes
[]'sf.rique On Fri, Jan 21, 2011 at 4:31 PM, Ed W li...@wildgooses.com wrote: On 21/01/2011 17:50, Henrique Fernandes wrote: I don't know if i got your question right, but before, while using mbox, we had less users and much less quota, it was only 200MB now is about 1GB. And before we

Re: [Dovecot] Panic in 2.0.9 imap-client

2011-01-21 Thread Mike Abbott
Jan 17 12:06:20 server dovecot: imap(@YYY): Panic: file imap-client.c: line 570 (client_continue_pending_input): assertion failed: (!client-handling_input) I can reproduce this every time by sending any data in the same packet after the tag IDLECRLF. For instance using nc: $ nc

Re: [Dovecot] Panic in 2.0.9 imap-client

2011-01-21 Thread Timo Sirainen
On Fri, 2011-01-21 at 12:56 -0600, Mike Abbott wrote: Jan 17 12:06:20 server dovecot: imap(@YYY): Panic: file imap-client.c: line 570 (client_continue_pending_input): assertion failed: (!client-handling_input) I can reproduce this every time by sending any data in the same packet

Re: [Dovecot] Does dsync handle client-side deletions?

2011-01-21 Thread Patrick Schoenfeld
Hi, thanks for the quick response. On Fri, Jan 21, 2011 at 07:21:44PM +0200, Timo Sirainen wrote: On Fri, 2011-01-21 at 16:15 +0100, Patrick Schoenfeld wrote: 1) Location1 and Location2 are in sync 2) A mail gets deleted on Location1 (via IMAP) Via Dovecot v2.0 IMAP? Yes. What

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Stan Hoeppner
Henrique Fernandes put forth on 1/21/2011 12:53 PM: But you asked before about haardware. I asked about the hardware. It is an EMC CX4, linked with ONE 1gbE to ONE dlink ( i am not sure but i guess if full Gbit ) and from this dlink it conects to 4 XEN machines at 1gbit and in the virtual

Re: [Dovecot] Best Cluster Storage

2011-01-21 Thread Stan Hoeppner
Henrique Fernandes put forth on 1/21/2011 12:53 PM: We think it is the ocfs2 and the size of the partition, becasue. We can write an big file in a accetable speed. But if we try to delete or create or read lots of small files the speed is horrible. We think is an DLM problem in propagate the

Re: [Dovecot] Panic in 2.0.9 imap-client

2011-01-21 Thread Mike Abbott
I can't think of why any client would send IDLE+DONE in the same TCP packet. Maybe not in the same packet, but network congestion or server overloading could cause the IDLE and DONE to queue up together. Oh, that's nice. Glad to help. Fixed now:

[Dovecot] expire plugin and sieve

2011-01-21 Thread cvb
Hi. I am running dovecot 1.2.9 here, allowing users to filter their mails with the sieve plugin, and am using sieve to move mail tagged as probably spam into the spam folder. I'm now looking to get the expire plugin working as well. It does work as described in the wiki: Once I manually