Hi 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 1.0.rc15 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_plugins(pop3): 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(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: login plain digest-md5 cram-md5 user: nobody verbose: yes debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: mail
On Apr 26, 2008, at 1:18 AM, Eden wrote:> Everything is working like a charm except for the quota display on > webmail > systems. It is working properly but showing GB instead of MB.Dovecot expects you to give quota limits in kilobytes, but you're trying to give the limit in bytes. Divide the quota limit by 1024 and that should fix it. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080426/146eeed7/attachment-0002.bin>
I configured dovecot to read the maildirsize file as described here: http://wiki.dovecot.org/Quota/Maildir This link shows de maildirsize file using bytes as well. What should I do to make it display right? maybe a bug? 2008/4/26 Timo Sirainen <tss at iki.fi>:> On Apr 26, 2008, at 1:18 AM, Eden wrote: > > > Everything is working like a charm except for the quota display on > > webmail > > systems. It is working properly but showing GB instead of MB. > > > > Dovecot expects you to give quota limits in kilobytes, but you're trying > to give the limit in bytes. Divide the quota limit by 1024 and that should > fix it. > >
Just installed version 1.0.13 and exactly the same thing happens. I`ll try to install the lasted tarball version 2008/4/28 Charles Marcus <CMarcus at media-brokers.com>:> On 4/28/2008, Eden (edencaldas at gmail.com) wrote: > > > About the version, its the newer I can get from official debian repo. > > > > I would never use a distro that would force me to run buggy s/w that was > well over a year old, especially when all of the bugs have been fixed long > ago. > > Daebian backports has 1.0.13... > > -- > > Best regards, > > Charles >
> Just installed version 1.0.13 and exactly the same thing happens. I`ll try > to install the lasted tarball version> 2008/4/28 Charles Marcus <CMarcus at media-brokers.com>:>> On 4/28/2008, Eden (edencaldas at gmail.com) wrote: >> >> > About the version, its the newer I can get from official debian repo. >> > >> >> I would never use a distro that would force me to run buggy s/w that was >> well over a year old, especially when all of the bugs have been fixed long >> ago. >> >> Daebian backports has 1.0.13... >> >> -- >> >> Best regards, >> >> Charles >>I use 1.0.rc15-2etch4 and quota seems to work correctly for me :) -- Pozdrawiam, Tommy