#1  
Old 12th June 2012, 16:00
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 271
Thanks: 75
Thanked 6 Times in 5 Posts
Question Disk usage roundcube Dovecot

Hello!

I have ISPConfig 3, Ubuntu 12.04, Dovecot, Sieve, roundcube.
I configure imap quota plugin.

It is work fine with default folders (Inbox, Sent, Draft, Junk, Trash)
I import new folders from another email server.
Do chown for vmail.
But it is does not work for new folders.
Disk usage not calculated for new folders.

Dovecot.conf
Code:
protocols = imap pop3
auth_mechanisms = plain login
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve=/var/vmail/%d/%n/.sieve
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
  mail_plugins = quota
}
protocol lda {
  mail_plugins = sieve quota
}

namespace private {
  prefix = INBOX.
  separator = .
  inbox = yes
}

plugin {
  quota = maildir
}

How to solve this problem?

Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 12th June 2012, 21:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Try to access the folders with a imap client so that dovecot rebuilds its index and quota files of the afected folders.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th June 2012, 23:02
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 271
Thanks: 75
Thanked 6 Times in 5 Posts
Default

Solved!

For rebuilding Dovecot quota, need to delete maildirsize file in Maildir folder.

Thank you.
Reply With Quote
The Following 2 Users Say Thank You to Captain For This Useful Post:
falko (13th June 2012), till (13th June 2012)
  #4  
Old 4th March 2013, 19:05
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 117
Thanks: 0
Thanked 10 Times in 6 Posts
Default

Captain, besides deleting the maildirsize what else did you do to rebuild the quotas right away?
Reply With Quote
  #5  
Old 4th March 2013, 20:38
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 271
Thanks: 75
Thanked 6 Times in 5 Posts
Default

Hi Abdi!

I only delete this files in each mailbox.
After that need to wait some time when mailquota file rebilds.
Try to enter to mailbox via Webmail as Roundcube to check it.
Reply With Quote
  #6  
Old 4th March 2013, 20:49
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 117
Thanks: 0
Thanked 10 Times in 6 Posts
Default

Thank you so much for this information. I will also give it a try!
Reply With Quote
  #7  
Old 20th March 2013, 09:32
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 117
Thanks: 0
Thanked 10 Times in 6 Posts
Default

This did not work for me though
Reply With Quote
  #8  
Old 21st March 2013, 10:04
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 271
Thanks: 75
Thanked 6 Times in 5 Posts
 
Default

HI did you use plugin for dovecot:

Code:
plugin {
  quota = maildir
}
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
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 14:11
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
Exhausted every resource: can't login to dovecot jonc Server Operation 1 12th February 2011 11:38
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26


All times are GMT +2. The time now is 12:59.


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