Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd May 2011, 08:35
chengkinhung chengkinhung is offline
Junior Member
 
Join Date: Nov 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is the maildir support mail-quota in ispconfig?

ISPConfig 3.0.3.3
CentOS 5.5
dovecot-sieve-0.1.18-6.el5
dovecot-1.2.15-1_113.el5
postfix-2.3.3-2.1.centos.mysql_pgsql

Last edited by chengkinhung; 23rd May 2011 at 08:53.
Reply With Quote
Sponsored Links
  #2  
Old 23rd May 2011, 11:00
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,748
Thanks: 821
Thanked 5,328 Times in 4,181 Posts
Default

ISPConfig uses maildir with quota.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th May 2011, 03:46
chengkinhung chengkinhung is offline
Junior Member
 
Join Date: Nov 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default But it is not working at all

i setup the quota to 50M, and receive mails more than 100M now.

could you please tell me how the mail quota with maildir in ISPConfig 3 work? any file name like "mailsize" need to create ?

Thanks.
Reply With Quote
  #4  
Old 24th May 2011, 11:43
chengkinhung chengkinhung is offline
Junior Member
 
Join Date: Nov 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default I found the reasone now:

as the dovecot 1.2.x use field "quota_rule" to control quota:

vi /etc/dovecot-sql.conf
--------------------------------------------------------------------------------
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir')
as mail, uid, gid, CONCAT('maildir:storage=', floor(quota/1024)) AS quota,
CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE email = '%u' AND disable%Ls = 'n'
#need to change to:
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('maildir:storage=', floor(quota/1024)) AS quota, CONCAT('*:storage=',floor(quota/1024)) AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE email = '%u' AND disable%Ls = 'n'
--------------------------------------------------------------------------------

Note: added CONCAT('*:storage=',floor(quota/1024)) AS quota_rule

then restart the dovecot service,
the quota function is working well now
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
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 12:00
ISPconfig stops at php.. mayhem Installation/Configuration 2 18th February 2008 09:37
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 11:34.


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