Re: [Dovecot] Quota over NFS with inode limit

2009-06-11 Thread Patrick Domack
And as is always the case, you find the real cause of the problem when you give up :) [wafl.dir.size.max:warning]: Directory /var/mail/xxx/new/ reached the maxdirsize limit. Reduce the number of files or use the vol options command to increase this limit. So it's a netapp max files per di

Re: [Dovecot] Quota over NFS with inode limit

2009-06-11 Thread Patrick Domack
Hmm, there are no log messages for the last two weeks that say a rename failed for imap services at all. The user account this was happening on has had their quota problem fixed, and now I am unable to replicate it :( The only thing I did notice is the user was at 1 inode below thier hard

Re: [Dovecot] Quota over NFS with inode limit

2009-06-11 Thread Timo Sirainen
Dovecot always renames files when moving from tmp/, you can't make it use hard links. The maildir_copy_with_hardlinks is only about how to copy messages from one mailbox to another, and it's enabled by default in v1.1+. Wonder if this affects rename() only when moving from one directory to

Re: [Dovecot] Quota over NFS with inode limit

2009-06-11 Thread Patrick Domack
Hmm, looking at how postfix handles this, it hardlinks the files, so I guess I could turn on hardlinking that way rename isn't used, and won't get this error. But probably still something to look into? Quoting Timo Sirainen : On Jun 10, 2009, at 1:51 PM, Patrick Domack wrote: Looking into

Re: [Dovecot] Quota over NFS with inode limit

2009-06-11 Thread Patrick Domack
Opps, relized I didn't include the list. I'm using a netapp filer with ontap 7.2.2 software. I searched netapp's bug database but can't find anything related to this being reported (so far). Quoting Timo Sirainen : On Jun 10, 2009, at 1:51 PM, Patrick Domack wrote: Looking into this some

Re: [Dovecot] Quota over NFS with inode limit

2009-06-10 Thread Timo Sirainen
On Jun 10, 2009, at 1:51 PM, Patrick Domack wrote: Looking into this some more, all the log entries that cause this have to do with rename and EFBIG. deliver(xxx): rename(/var/mail/virtual/xxx/tmp/ 1244513712.M557487P17017.5011.mail, /var/mail/virtual/xxx/new/ 1244513712.M557487P17017.5011.

Re: [Dovecot] Quota over NFS with inode limit

2009-06-10 Thread Patrick Domack
Looking into this some more, all the log entries that cause this have to do with rename and EFBIG. deliver(xxx): rename(/var/mail/virtual/xxx/tmp/1244513712.M557487P17017.5011.mail, /var/mail/virtual/xxx/new/1244513712.M557487P17017.5011.mail,W=2019) failed: File too large I do see othe

[Dovecot] Quota over NFS with inode limit

2009-06-10 Thread Patrick Domack
I tried searching this list, but couldn't find anything related to inode limits except for linux quotas. I wanted to add sieve support for our users, so was attempting to get our email system to use dovecot's deliver lda to handle email, instead of postfix's virtual lda, using maildir mails

Re: [Dovecot] Quota over NFS

2009-05-17 Thread Timo Sirainen
I don't want to add it before I know that it really is a good idea to change it. So far I've only heard it to be broken in your system. If I change it I might just break others' systems. On May 17, 2009, at 11:41 PM, Flavio Costa wrote: Apparently this fix was not included in 1.1.15, too ba

Re: [Dovecot] Quota over NFS

2009-05-17 Thread Flavio Costa
Apparently this fix was not included in 1.1.15, too bad. On Mon, May 11, 2009 at 6:08 PM, Flavio Costa wrote: > Hopefully this fix will be included =) > Glad you helped me with this issue, this was really a show stopper for me > to implement the quotas in my enviroment. > > I'm going to dig into

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Hopefully this fix will be included =) Glad you helped me with this issue, this was really a show stopper for me to implement the quotas in my enviroment. I'm going to dig into this little problematic flag and find out if it has any possible side effect. Maybe quota-tools guys can provide us some

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 17:57 -0300, Flavio Costa wrote: > Guess what?! Changing that 'if' worked as charm. > Both Thunderbird and Roundcube show quota perfectly! > > Now a question, what's does this patch do? Disables checking "quota is active" flag. > What active-check means? I've no idea real

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Guess what?! Changing that 'if' worked as charm. Both Thunderbird and Roundcube show quota perfectly! Now a question, what's does this patch do? What active-check means? Of course that's not the proper patch, since we are only faking a 'true' condition there, maybe removing that if completely. An

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Building dovecot with your small patch, I'll provide feedback soon. On Mon, May 11, 2009 at 3:37 PM, Timo Sirainen wrote: > On Mon, 2009-05-11 at 15:30 -0300, Flavio Costa wrote: > > I don't know what active-check means, unfortunatelly. > > If there's anything I could do in order to diagnose wha

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 15:30 -0300, Flavio Costa wrote: > I don't know what active-check means, unfortunatelly. > If there's anything I could do in order to diagnose what's going on (a patch > maybe?) My previous mail suggested trying if this helps: Interestingly enough I don't see rq_active being

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
ck > to the list. Sorry! > > > -- Forwarded message -- > From: Timo Sirainen > Date: Mon, May 11, 2009 at 3:12 PM > Subject: Re: [Dovecot] Quota over NFS > To: Flavio Costa > > > On Mon, 2009-05-11 at 15:03 -0300, Flavio Costa wrote: > > I g

[Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
I have accidentaly reply only to Timo, so I'm forwarding to discussion back to the list. Sorry! -- Forwarded message -- From: Timo Sirainen Date: Mon, May 11, 2009 at 3:12 PM Subject: Re: [Dovecot] Quota over NFS To: Flavio Costa On Mon, 2009-05-11 at 15:03 -0300, Flavio

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 12:21 -0400, Timo Sirainen wrote: > > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: > > host=home.domain, path=/home, uid=1191 > > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, > > value=0, limit=0, active=0 > > Dovecot succ

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Wed, 2009-05-06 at 13:23 -0300, Flavio Costa wrote: > But through IMAP, if I issue : > > > C: 1 GETQUOTAROOT INBOX > > S: * QUOTAROOT INBOX "" > > S: 1 OK Getquota complete > > > > There's no: > > > * QUOTA "" (STORAGE 10 512) That's because: > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_

Re: [Dovecot] Quota over NFS

2009-05-10 Thread Flavio Costa
Thanks for your reply, I'll be waiting for your awnser. On Sun, May 10, 2009 at 4:25 PM, geoffroy desvernay < d...@centrale-marseille.fr> wrote: > Flavio Costa a écrit : > > Hey, > Hi, > > > I've been strugling to get quota working on my enviroment. > > > > I have one storage server that exports

Re: [Dovecot] Quota over NFS

2009-05-10 Thread geoffroy desvernay
Flavio Costa a écrit : > Hey, Hi, > I've been strugling to get quota working on my enviroment. > > I have one storage server that exports the 'home' dir. > My mail server mounts the exported 'home' server at '/home' We have something like that > > # dovecot --version >> 1.1.14 1.1.11 for us >

Re: [Dovecot] Quota over NFS

2009-05-07 Thread Flavio Costa
No one? On Wed, May 6, 2009 at 1:23 PM, Flavio Costa wrote: > Hey, > > I've been strugling to get quota working on my enviroment. > > I have one storage server that exports the 'home' dir. > My mail server mounts the exported 'home' server at '/home' > > # dovecot --version >> 1.1.14 > > > I'm a

[Dovecot] Quota over NFS

2009-05-06 Thread Flavio Costa
Hey, I've been strugling to get quota working on my enviroment. I have one storage server that exports the 'home' dir. My mail server mounts the exported 'home' server at '/home' # dovecot --version > 1.1.14 I'm also running Postfix and using Dovecot/LDA as MDA so that we can use the Dovecot's