| To: | qmail-ldap@qmail-ldap.org |
|---|---|
| Subject: | Re: mailQuotaSize: 4290000000 vs. 4300000000 |
| From: | Claudio Jeker <jeker@n-r-g.com> |
| Date: | Wed, 3 Jan 2007 19:29:38 +0100 |
| Cc: | MERIGHI Marcus <Marcus@Merighi.AT> |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | qmail-ldap-list@securepoint.com |
| Delivered-to: | mailing list qmail-ldap@qmail-ldap.org |
| In-reply-to: | <20070103175032.GB58820@mail.webmonster.de> |
| Mail-followup-to: | Claudio Jeker <jeker@n-r-g.com>, qmail-ldap@qmail-ldap.org, MERIGHI Marcus <Marcus@Merighi.AT> |
| Mailing-list: | contact qmail-ldap-help@qmail-ldap.org; run by ezmlm |
| References: | <20070103152427.GU23432@Tor.AT> <20070103175032.GB58820@mail.webmonster.de> |
| User-agent: | Mutt/1.5.12-2006-07-14 |
On Wed, Jan 03, 2007 at 06:50:10PM +0100, Sebastian Benoit wrote: > MERIGHI Marcus(Marcus@Merighi.AT) on 2007.01.03 16:24:27 +0000: > > If you increase mailQuotaSize beyond 4300000000, the values stored in > > maildirsize increase, too. But not to the values expected, as you can > > see above. > > Without looking at the source, I think that quota_size of maildir++.c is > defined a unsigned long, thus limited to 4294967295. > > But there might be more problems with such large Maildirs, at least in > courier-imap-3.0.5 i had problems with Maildirs > 2G that where fixed in > -3.0.8. > Yes. We are using a unsigned long for the size. I consider switching to 64bit values but I did not do that till now. There is no check for overflows which is an other porblem. Btw. DJB does not offer a 64bit version of scan_ulong() -- this is one of the reasons that make a switch to 64bit values complicated. At the moment it is the best to disable the size restriction on so large maildirs and use only a file limit. -- :wq Claudio |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: mailQuotaSize: 4290000000 vs. 4300000000, Sebastian Benoit |
|---|---|
| Next by Date: | Re: qmail-ldap admin tool, Turbo Fredriksson |
| Previous by Thread: | Re: mailQuotaSize: 4290000000 vs. 4300000000, Sebastian Benoit |
| Next by Thread: | Re: mailQuotaSize: 4290000000 vs. 4300000000, Jose Celestino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |