[Dovecot] Quota not showing properly in webmail

Eden edencaldas at gmail.com
Sat Apr 26 01:18:36 EEST 2008


I have a virtual users system using postfix / mysql / dovecot.

Everything is working like a charm except for the quota display on webmail
systems. It is working properly but showing GB instead of MB.

For example. If I create a user with 100MB of quota and send him 50MB of
mail, squirrelmail and roundcubemail display 50MB of 100GB
If I create another user with 20MB quota and send him 10MB of mail,
squirrelmail and roundcube dipslay 10MB of 20GB. if I send 50MB more I get
the quota error msg I should get. So everything is workign but its
displaying incorrectly. At first I though it was squirrelmail`s fault but it
happens with roundcube as well, since both get their quota info from the
imap server than I think its dovecot.

I`m using Debian 4.0

This is the output of the --version and the -n dovecot commands.

qgalvao-dns:/# dovecot --version
qgalvao-dns:/var/log# dovecot -n
# /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3s pop3
listen(default): *:143
listen(imap): *:143
listen(pop3): *:110
ssl_listen(default): *:993
ssl_listen(imap): *:993
ssl_listen(pop3): *:995
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
first_valid_uid: 150
last_valid_uid: 150
mail_privileged_group: mail
mail_location: maildir:/vmail/%n@%d
maildir_copy_with_hardlinks: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
  mechanisms: login plain digest-md5 cram-md5
  user: nobody
  verbose: yes
  debug: yes
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
    type: listen
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vmail
      group: mail

More information about the dovecot mailing list