HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Anyway to fix the courier imap quota integer overflow? (http://www.howtoforge.com/forums/showthread.php?t=38054)

CarbonCopy 8th August 2009 01:12

Anyway to fix the courier imap quota integer overflow?
 
I have postfix and courier imap on CentOS 5.3 running with virtual users. Postfix handles quotas fine, but courier shows a -quota if I have a quota greater than 2 gb. is there any way to fix this? Maybe send a quota in mb to courier or something.

falko 8th August 2009 13:37

Change the quota column in the database table from INT to BIGINT.

CarbonCopy 8th August 2009 13:39

I am a web developer specializing in PHP and MySQL systems and that is the first thing I did. However, like I said, Postfix handles it fine, only courier-imap has issues.

Darla Chantelle 9th August 2009 00:45

Hi
I manage to make courier-IMAP works with quota throught the GETQUOTAROOT imap command.I just need to use maildirmake command on each email folder (example maildirmake -q 100000000S /home/vmailer/myDomain/user@myDomain )
It then create a maildirsize file on each folder, that file is usefull for make GETQUOTAROOT imap command work.But i do not explain why there is only this file system quota support and not mysql support.Authdaemon use mysql to get quotas, so do postfix.

CarbonCopy 9th August 2009 13:37

I believe you are incorrect (If I understood you correctly). Courier-imap does support MySQL quota support, as the quota is shown properly if under 2 GB. Also, authtest (Not sure which package that belongs too) always shows the valid quota.


All times are GMT +2. The time now is 15:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.