[Dovecot] Crash in settings parser (assertion failed: (src_count == ccount))

2012-05-12 Thread Michael Orlitzky
Lutz Schildt posted this to the Gentoo bugzilla recently: http://bugs.gentoo.org/show_bug.cgi?id=415571 There's a backtrace and conf files attached. I was able to find this possibly-related post from a while ago: http://dovecot.org/list/dovecot/2010-September/052963.html

[Dovecot] Dovecot usage values differ from actual disk usage

2012-05-12 Thread Daniel Parthey
Hi, in my dovecot setup the accounting database table shows wrong values which do not correspond with the actual disk space used. The disk usage says 2.6 Gigabytes: mail01:~# du -sh /mail/dovecot/example.org/username 2.6G /mail/dovecot/example.org/username While the doveadm quota get says 7 Gig

Re: [Dovecot] index IO patterns

2012-05-12 Thread Stan Hoeppner
On 5/12/2012 2:32 AM, Cor Bosman wrote: >> Mail is always a random IO workload, unless your mailbox count is 1, >> whether accessing indexes or mail files. Regarding the other two >> questions, you'll likely need to take your own measurements. > > Wait, maybe there is a misunderstanding. I mean t

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 20:42, Reindl Harald wrote: > > Am 12.05.2012 20:35, schrieb Luuk@dovecot: >> On 12-05-2012 19:48, Gedalya wrote: >>> >>> I understand you sent an email to yourself? >>> If you gained one $message_size upon reception and lost 2*$message_size >>> upon deletion from Inbox+Sent, I would

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Reindl Harald
Am 12.05.2012 20:35, schrieb Luuk@dovecot: > On 12-05-2012 19:48, Gedalya wrote: >> >> I understand you sent an email to yourself? >> If you gained one $message_size upon reception and lost 2*$message_size >> upon deletion from Inbox+Sent, I would suspect quota plugin isn't active >> when the mess

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 19:48, Gedalya wrote: > > I understand you sent an email to yourself? > If you gained one $message_size upon reception and lost 2*$message_size > upon deletion from Inbox+Sent, I would suspect quota plugin isn't active > when the message is being delivered. How are messages delivered

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Gedalya
On 5/12/2012 1:34 PM, Luuk@dovecot wrote: On 12-05-2012 18:40, Gedalya wrote: On 5/12/2012 12:21 PM, Luuk@dovecot wrote: On 12-05-2012 18:00, Gedalya wrote: On 5/12/2012 11:42 AM, Luuk@dovecot wrote: In the log, the following message showed: 2012-05-12 17:11:43 imap(luuk): Error: quota: net_c

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 18:40, Gedalya wrote: > On 5/12/2012 12:21 PM, Luuk@dovecot wrote: >> On 12-05-2012 18:00, Gedalya wrote: >>> On 5/12/2012 11:42 AM, Luuk@dovecot wrote: In the log, the following message showed: 2012-05-12 17:11:43 imap(luuk): Error: quota: net_connect_unix(/var/run/dov

Re: [Dovecot] index IO patterns

2012-05-12 Thread Stan Hoeppner
On 5/12/2012 2:26 AM, Cor Bosman wrote: > The indexes are doing a lot of iops on the metrocluster, and it's a bit > of an expensive option for something it's not even that good at. This clears things up a bit. > Im aiming for something with 2 servers, each with a 12 disk enclosure > with SSD fo

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Gedalya
On 5/12/2012 12:21 PM, Luuk@dovecot wrote: On 12-05-2012 18:00, Gedalya wrote: On 5/12/2012 11:42 AM, Luuk@dovecot wrote: In the log, the following message showed: 2012-05-12 17:11:43 imap(luuk): Error: quota: net_connect_unix(/var/run/dovecot/quota-warning.sh) failed: No such file or directory

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 18:00, Gedalya wrote: > On 5/12/2012 11:42 AM, Luuk@dovecot wrote: >> In the log, the following message showed: >> 2012-05-12 17:11:43 imap(luuk): Error: quota: >> net_connect_unix(/var/run/dovecot/quota-warning.sh) failed: No such file >> or directory >> >> I think i have to revert t

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 18:02, Gedalya wrote: > On 5/12/2012 11:59 AM, Luuk@dovecot wrote: >> 2012-05-12 17:50:22 imap(luuk): Error: quota: >> net_connect_unix(/usr/local/bin/quota-warning.sh) failed: Permission >> denied (euid=1000(luuk) egid=100(users) missing +w perm: >> /usr/local/bin/quota-warning.sh, d

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Gedalya
On 5/12/2012 11:59 AM, Luuk@dovecot wrote: 2012-05-12 17:50:22 imap(luuk): Error: quota: net_connect_unix(/usr/local/bin/quota-warning.sh) failed: Permission denied (euid=1000(luuk) egid=100(users) missing +w perm: /usr/local/bin/quota-warning.sh, dir owned by 0:0 mode=0755) This is net_connect

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Gedalya
On 5/12/2012 11:42 AM, Luuk@dovecot wrote: In the log, the following message showed: 2012-05-12 17:11:43 imap(luuk): Error: quota: net_connect_unix(/var/run/dovecot/quota-warning.sh) failed: No such file or directory I think i have to revert the changes, and retest.;) Wiki says: quota_warn

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 17:42, Luuk@dovecot wrote: > On 12-05-2012 15:55, Gedalya wrote: >> On 05/12/2012 04:50 AM, Luuk@dovecot wrote: >>> It seems i am at 79% of my quota >>> so, i added a line to conf.d/90-quota.conf, to get a wraning when quota >>> exceeds 10%: >> Quota warnings are only sent when you _c

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 15:55, Gedalya wrote: > On 05/12/2012 04:50 AM, Luuk@dovecot wrote: >> It seems i am at 79% of my quota >> so, i added a line to conf.d/90-quota.conf, to get a wraning when quota >> exceeds 10%: > Quota warnings are only sent when you _cross_ the limit, they are not > sent (again) whe

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Gedalya
On 05/12/2012 04:50 AM, Luuk@dovecot wrote: It seems i am at 79% of my quota so, i added a line to conf.d/90-quota.conf, to get a wraning when quota exceeds 10%: Quota warnings are only sent when you _cross_ the limit, they are not sent (again) when you are already over the limit. So, in your c

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Duane Hill
On Saturday, May 12, 2012 at 12:37:25 UTC, dove...@vosslamber.nl confabulated: > On 12-05-2012 10:50, Luuk@dovecot wrote: >> I think i have quota setup correctly, but finally time arrived to check >> that ;) >> > ... >> But this message is never send, what am i missing (in my config)? >> > dov

Re: [Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
On 12-05-2012 10:50, Luuk@dovecot wrote: > I think i have quota setup correctly, but finally time arrived to check > that ;) > ... > But this message is never send, what am i missing (in my config)? > dovecot -n: # 2.0.16: /etc/dovecot/dovecot.conf # OS: Linux 3.1.10-1.9-desktop x86_64 openSUSE

[Dovecot] Quota, message is never send?

2012-05-12 Thread Luuk@dovecot
I think i have quota setup correctly, but finally time arrived to check that ;) opensuse:/etc/dovecot # doveadm quota get -u luuk Quota name Type Value Limit % User quota STORAGE 571973 716800 79 User quota MESSAGE 4 - 0 It seems i am at 79% of my quota so, i added a line to conf.d/90-

Re: [Dovecot] index IO patterns

2012-05-12 Thread Timo Sirainen
On 12.5.2012, at 10.32, Cor Bosman wrote: >> Mail is always a random IO workload, unless your mailbox count is 1, >> whether accessing indexes or mail files. Regarding the other two >> questions, you'll likely need to take your own measurements. > > Wait, maybe there is a misunderstanding. I mea

Re: [Dovecot] index IO patterns

2012-05-12 Thread Cor Bosman
> Mail is always a random IO workload, unless your mailbox count is 1, > whether accessing indexes or mail files. Regarding the other two > questions, you'll likely need to take your own measurements. Wait, maybe there is a misunderstanding. I mean the IO inside one index file, not across the dif

Re: [Dovecot] index IO patterns

2012-05-12 Thread Cor Bosman
> >> Alternatively, does anyone have any experience with other redundant storage >> options? Im thinking things like MooseFS, DRBD, etc? > > You seem to be interested in multi-site clustering/failover solutions, > not simply redundant storage. These two are clustering software > solutions but