Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th August 2009, 01:12
CarbonCopy CarbonCopy is offline
Member
 
Join Date: Apr 2009
Posts: 52
Thanks: 1
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 8th August 2009, 13:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Change the quota column in the database table from INT to BIGINT.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th August 2009, 13:39
CarbonCopy CarbonCopy is offline
Member
 
Join Date: Apr 2009
Posts: 52
Thanks: 1
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #4  
Old 9th August 2009, 00:45
Darla Chantelle Darla Chantelle is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__________________
San Francisco Courier Service
Reply With Quote
  #5  
Old 9th August 2009, 13:37
CarbonCopy CarbonCopy is offline
Member
 
Join Date: Apr 2009
Posts: 52
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
chgrp error new user DKA General 15 28th July 2008 17:45
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ruskicar HOWTO-Related Questions 26 20th July 2007 16:28
IMAP Server with QUOTA Extension capability djida Tips/Tricks/Mods 1 30th May 2007 11:21
Virtual Users And Domains With Postfix, Courier Increase quota herbie HOWTO-Related Questions 1 24th January 2007 22:08
IMAP Quota (Display Remaining) bluethunder82 Installation/Configuration 4 20th November 2006 11:50


All times are GMT +2. The time now is 18:20.


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