HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Disk usage roundcube Dovecot (http://www.howtoforge.com/forums/showthread.php?t=57609)

Captain 12th June 2012 16:00

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.

till 12th June 2012 21:27

Try to access the folders with a imap client so that dovecot rebuilds its index and quota files of the afected folders.

Captain 12th June 2012 23:02

Solved!

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

Thank you.

abdi 4th March 2013 19:05

Captain, besides deleting the maildirsize what else did you do to rebuild the quotas right away?

Captain 4th March 2013 20:38

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.

abdi 4th March 2013 20:49

Thank you so much for this information. I will also give it a try!

abdi 20th March 2013 09:32

This did not work for me though :(

Captain 21st March 2013 10:04

HI did you use plugin for dovecot:

Code:

plugin {
  quota = maildir
}



All times are GMT +2. The time now is 21:35.

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