
21st March 2009, 23:12
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Postix Quota Increase
Hello,
Followed Falco's how-to on setting up virtual users /domains on Fedora 10 and everything seems to be working fine but it seems the quota feature only allows up to 2GB and I have one client who needs 5GB.
It seems that anything above 2GB puts the quota at unlimited and we don't want that. Is there a way to break the 2GB barrier?
Thanks,
Toolz
|

22nd March 2009, 15:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Do you use bigint(20) for the quota field in the users table?
|

23rd March 2009, 01:45
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Falco,
Yes indeed.
quota bigint(20) Yes 5368709120
The funny thing is this, when it creates a user, it puts the following in the maildirsize file:
2147483647S
Which is 2GB. Is the limitation of the quota patch 2GB? Also if I manually adjust the maildirsize to anything higher, it then shows unlimited in the mail clients.
Any ideas?
Thanks,
Toolz
|

23rd March 2009, 18:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
What's the SQL statement you used to create that user?
What happens when you try to increase the value in phpMyAdmin?
|

23rd March 2009, 19:01
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Falco,
I just did an insert with phpMyAdmin, but here is what it uses:
INSERT INTO `mail`.`users` (`email`, `password`, `quota`) VALUES ('support@mydomain.com', ENCRYPT('1234567'), '5368709120');
I did increase it in phpMyAdmin to 5GB and it write 2GB in the maildirsize file.
Toolz
|

24th March 2009, 17:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
|

24th March 2009, 17:42
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
|
Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.ppc #1 Mon Feb 23 12:48:02 EST 2009 ppc ppc ppc GNU/Linux
|

25th March 2009, 14:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
ppc is 32-bit, I guess? Maybe that's the problem. Maybe you can try on a 64-bit system? I'd be interested in the result as well.
|

31st March 2009, 10:16
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Same trouble for me..the maximum quota per-user is limited to 2Gb!
I try to put any kind of value in the DB table but the limit still there..
|

1st April 2009, 13:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Are you on a 32- or 64-bit system?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:38.
|
|
Recent comments
12 hours 17 min ago
17 hours 22 min ago
21 hours 46 min ago
23 hours 35 min ago
1 day 13 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 3 hours ago