I have installed Roundcube Webmail on an Ubuntu LTS Server. The Disk indicator is not showing and from what I have read, the disk usage indicator should be showing by default. How do I enable the Disk Usage indicator?
If the mail server give the disk usage RoundCube will show it by default. Make sure your mail server is setup with quota support.
Hi!
I've tested two setups for mail quota.
Via postfix (with a mysql database) or via courier.
Both options worked successful with roundcube.
Rgds.
Thanks for your reply guys; I really appreciate it. However, my mail server is configured to show the disk usage but I do not even see the disk usage icon in roundcube.
It should be in the bottom left corner. Enable imap_debug and post the log for the login and index load.
I was able to get the image to show. The problem lied in the mail.css file in the skin folder. There was no css information regarding the quota display. It seems as if you had to put this in manually as when I downloaded the roundcube code. Additionally, when I added the code from the trac site (trac.roundecube.com) in the mail.css file, I did not put the url path to the disk quota image in quotation as in url("path/to/disk/storage/icon"); Now I have a new problem. It is saying that the disk usage is unlimited, but I have set the quota size for the mail box in postfixadmin. Any assistance in this regard would be greatly appreciated. I truly appreciate the assistance I have already received.
Enable imap_debug and post the log for the login and index load.
Okay I am able to enable the imap debug, but i am not able to post the log
Why not?
I do not know how to do it.
You can upload a file under the main text box for the post, just click on the "Attachments and other options" link.
Thanks for your assistance but I have been able to fix the disk user quota on a server level;however, I am seeking assistance on setting per user quota with postfixadmin, dovecot, mysql, and postfix.
Hello there,
It seems I have the same problem, I've tried everything but I don't understand how to solve it at all
So I check the https://demo.roundcubeplus.com in the demo version for some reason they display this disk usage
I don't have it and I don't understand what the problem is
I don't know what and how to fix it
Stack
Ubuntu 22.04, postfix v3.6.4, dovecot v2.3.16, postfixadmin v3.3.14, roundcude v1.6.9
(https://iili.io/2D58ZmJ.jpg)
Roundcube can only show the disk usage if your mail server reports it, most likely your mail server isn't disclosing the disk usage. You can enable imap_debug in the config and review the imap logs to confirm.
Quote from: SKaero on February 07, 2025, 12:48:43 AMRoundcube can only show the disk usage if your mail server reports it, most likely your mail server isn't disclosing the disk usage. You can enable imap_debug in the config and review the imap logs to confirm.
There is an imap_debug log from one session (I didn't include the mail headers data)
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0002 CAPABILITY
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0003 ID ("name" "Roundcube" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=login")
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0004 NAMESPACE
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * NAMESPACE (("" ".")) NIL NIL
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0004 OK Namespace completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] C: A0005 LIST (SPECIAL-USE) "" "*" RETURN (SUBSCRIBED)
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Trash) "." Trash
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Junk) "." Junk
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Sent) "." Sent
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: * LIST (\Subscribed \UnMarked \Drafts) "." Drafts
[06-Feb-2025 22:06:08 -1000]: <bq4hopq1> [DFD8] S: A0005 OK List completed (0.007 + 0.000 + 0.006 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] C: A0006 LOGOUT
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] S: * BYE Logging out
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [DFD8] S: A0006 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0002 CAPABILITY
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_token=qyBmoFy4xZIbSvw8j92eQ89sZ14cqN71")
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0004 LIST (SUBSCRIBED) "" "*"
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Drafts
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Sent
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Junk
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." Trash
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." "My Gmail"
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * LIST (\Subscribed) "." INBOX
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0004 OK List completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] C: A0005 LOGOUT
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: * BYE Logging out
[06-Feb-2025 22:06:08 -1000]: <d1kc8579> [A17B] S: A0005 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] Connecting to ssl://mail.mydomain.com:993...
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0001 AUTHENTICATE PLAIN ****** [49]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0002 CAPABILITY
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_action=getunread&_page=1&_remote=1&_unlock=0&_=1738915568666")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0004 LIST (SUBSCRIBED) "" "*"
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Drafts
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Sent
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Junk
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." Trash
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." [email protected]
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." "My Gmail"
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * LIST (\Subscribed) "." INBOX
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0004 OK List completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0005 STATUS INBOX (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS INBOX (MESSAGES 35 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0005 OK Status completed (0.004 + 0.000 + 0.003 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0006 STATUS Drafts (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0002 CAPABILITY
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Drafts (MESSAGES 2 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0006 OK Status completed (0.002 + 0.000 + 0.001 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0007 STATUS Sent (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0002 OK Capability completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0003 ID ("name" "Roundcube/Kolab" "version" "1.6.9" "php" "8.1.2-1ubuntu2.20" "os" "Linux" "command" "/?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX&_page=&_remote=1&_unlock=loading1738915568744&_=1738915568665")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Sent (MESSAGES 23 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0007 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0008 STATUS Junk (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * ID ("name" "Dovecot")
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Junk (MESSAGES 55 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0008 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0003 OK ID completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0009 STATUS Trash (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS Trash (MESSAGES 305 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0009 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0010 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 3 UNSEEN 2)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0010 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0011 STATUS "My Gmail" (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS "My Gmail" (MESSAGES 12 UNSEEN 3)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0011 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0012 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0012 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0013 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0013 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0014 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 3 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0014 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0015 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 0 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0015 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0016 STATUS [email protected] (MESSAGES UNSEEN)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * STATUS [email protected] (MESSAGES 1 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0016 OK Status completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * STATUS INBOX (MESSAGES 35 UNSEEN 0)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0004 OK Status completed (0.002 + 0.000 + 0.001 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0005 SELECT INBOX
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft Junk)
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft Junk \*)] Flags permitted.
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * 35 EXISTS
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * 0 RECENT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [UIDVALIDITY 1736766904] UIDs valid
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [UIDNEXT 373] Predicted next UID
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * OK [HIGHESTMODSEQ 774] Highest
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0005 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0006 UID SEARCH 35
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] C: A0017 LOGOUT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * SEARCH 371
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0006 OK Search completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: * BYE Logging out
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [1E18] S: A0017 OK Logout completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0007 UID SEARCH ALL
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * SEARCH 13 14 18 22 151 152 273 274 275 276 277 278 279 280 281 282 283 291 292 304 308 318 322 330 331 337 338 348 351 357 359 361 367 369 371
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0007 OK Search completed (0.001 + 0.000 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0008 UID FETCH 13:14,18,22,151:152,273:283,291:292,304,308,318,322,330:331,337:338,348,351,357,359,361,367,369,371 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY RECEIVEDRECEIVED X-KOLAB-TYPE X-KOLAB-MIME-VERSION MESSAGE-ID)])
{
... my_emails
}
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: )
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0008 OK Fetch completed (0.006 + 0.000 + 0.005 secs).
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] C: A0009 LOGOUT
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: * BYE Logging out
[06-Feb-2025 22:06:09 -1000]: <d1kc8579> [424F] S: A0009 OK Logout completed (0.001 + 0.000 secs).
You can see in the IMAP log that the imap server isn't returning the "QUOTA" capability. Since your imap server doesn't support it Roundcube can't show it.
Do you know how to fix that?
I set the quota for each mailbox in postfixadmin
I found that the whole block is called layout-sidebar and the part I need is footer small
But I couldn't find in the templates where footer small is...
Also, if I execute the command
doveadm quota get -u user@my_domain.com
I will get a response in the terminal
Quota name Type Value Limit %
storage=51200000 STORAGE 25092 102400 24
- "storage=51200000" - this record is taken from the postfixadmin db and displayed in bytes
but the limit will show me the one that I set in dovecot >>> 90-quota.conf and not in postfixadmin
maybe it will be helpful - my user_query is:
user_query = SELECT '/var/my_mail/mail_box/%d/%u' as home, 'maildir:/var/my_mail/mail_box/%d/%u' as mail, 1024 AS uid, 8 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = '%u' AND active = '1'
Since you seem to be using Dovecot you'll need to make sure the imap_quota plugin is setup https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/ it sounds like the quota plugin is already setup but you should verify that is done correctly as well.
Quote from: SKaero on February 07, 2025, 09:41:47 PMSince you seem to be using Dovecot you'll need to make sure the imap_quota plugin is setup https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/ it sounds like the quota plugin is already setup but you should verify that is done correctly as well.
- very useful, Thank you!
Good news, after making a change in
20-imap:
protocol imap {
mail_plugins = $mail_plugins imap_quota
}
the Roundcube started displaying
quota data
(https://iili.io/2Ds2PRI.png)
However, I still can't solve the problem with the limit
Quota name Type Value Limit %
storage=51200000 STORAGE 25092 102400 24
The current limit was define
plugin {
quota_rule = *:storage=0
quota_rule2 = *:bytes=100M
}
But I am looking for the limit to be taken from the postfixadmin_database, not set manually as I did like 100 Mb,
For example, if I set for each user its own limit in postfix admin, for example for one mailbox - 100 MB and for another mailbox I set 50 MB, then I would like to see for each user its own limit and not the same limit for all mailboxes that I set manually in
quota_rule2Maybe I did something wrong... idk
but now my 90-quota looks like this:
plugin {
quota_rule = *:storage=0
quota_rule2 = *:bytes=100M
plugin {
quota = dict:User quota::proxy::sqlquota
}
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf
}
plugin {
quota_grace = 10%%
# 10% is the default
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
}
Fixed ))))
in my case
dovecot-sql.conf.ext
user_query = SELECT '/var/my_mail/mail_box/%d/%u' as home, 'maildir:/var/my_mail/mail_box/%d/%u' as mail, 1024 AS uid, 8 AS gid, concat('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
conf.d/10-mail.conf
# Enable quota plugin for tracking and enforcing the quota.
mail_plugins = $mail_plugins quota
conf.d/20-imap.conf
protocol imap {
# Enable the IMAP QUOTA extension, allowing IMAP clients to ask for the
# current quota usage.
mail_plugins = $mail_plugins imap_quota
}
conf.d/90-quota.conf
plugin {
quota_rule = *:storage=0
quota = dirsize:User quota
quota_grace = 10%%
# 10% is the default
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
}
With these settings, when I set a quota in postfixadmin - it is correctly displayed in Roundcube
(a couple of mb are losing, but this is not critical, the main thing is that the data on the limit is received from the database)
Thank you SKaero!