On Wed, Jun 14, 2006 at 10:04:15PM +0800, krystian wrote: > Yes I compiled with "--with-trash". But before was exactly the same and > I think I didn't have problem like this.
You mean "--with-trashquota" ? Make sure you are consistent in application of this, i.e. compile both maildrop and courier-imap with it. Make sure you have no program that ever delivers directly to the Maildir (such as Postfix), and that all delivery goes via maildrop. > >>If I have 10 files in > >>inbox and is account 75% full, after delete of some files quota size shows > >>95% or message that quota exceeded. You can easily check if this is correct or not. (1) ls -lAR Maildir (2) Count all the files in new/, cur/ and tmp/ (including folders, like .Trash/new, .Trash/cur, .Trash/), and add up the sizes. (3) Now do 'cat maildirsize'. Ignore the first line (which is the quota), and for all the remaining lines, add up the numbers in the first column, and add up the numbers in the second column. This should give you the total size of messages in the maildir, and the total number of messages in the maildir, respectively. If the two disagree, then post your evidence here. That is, the *raw* ls -lAR output and the raw 'cat maildirsize' output. If they agree, then the Maildir really is 95% full. You can find out why by looking at the individual message files. Possibly your client has copied messages into the .Trash folder, and hasn't expunged them from the original folder, which means they'll be taking up even more space on the disk and this is reflected in the usage. > >>Additionally I don't get email with information about exceeding 90% size > >>of account. Is it bug in quota, maybe maildrop? I don't think that courier-imap will itself generate this warning if the IMAP client uploads new messages which take the mailbox over 90%. However, maildrop should do so when the next incoming message is delivered. What happens when a new message is delivered, and the Maildir usage is over 90%? Does a file called "quotawarn" exist in the Maildir? If so, the warning message is suppressed until the timestamp on the quotawarn file is more than 24 hours in the past. Brian. _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
