Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show size of folders in folders list #1303

Closed
corvus-albus opened this issue Nov 8, 2023 · 6 comments
Closed

Show size of folders in folders list #1303

corvus-albus opened this issue Nov 8, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@corvus-albus
Copy link

corvus-albus commented Nov 8, 2023

Is your feature request related to a problem? Please describe.
Cannot easily investigate, which email is eating up my space. It would be very nice to get an idea where to look after huge emails.

Describe the solution you'd like
It would be great if the folder size is displayed along to the folder list (https://.../apps/snappymail/#/settings/folders).

@the-djmaze
Copy link
Owner

I will investigate RFC 8438 https://www.rfc-editor.org/rfc/rfc8438.html

@corvus-albus
Copy link
Author

corvus-albus commented Nov 10, 2023

Perhaps it helps: There is a roundcube plugin with a very similar function: https://github.com/jfcherng-roundcube/plugin-show-folder-size .

@the-djmaze the-djmaze added the enhancement New feature or request label Nov 14, 2023
@corvus-albus
Copy link
Author

So fast - this is unbelievable!
Many, many thanks!

@the-djmaze
Copy link
Owner

the-djmaze commented Nov 14, 2023

The code was already partially there for IMAP4rev2 😉
It is disabled by default as STATUS SIZE can take a significant amount of time.
You must turn it on in the ?admin Domains -> domain

afbeelding

@corvus-albus
Copy link
Author

corvus-albus commented Nov 15, 2023

Thank you for the last hint. I checked it for our installation, Status size is allowed. If mbox-quota is set, I can observe the percentage at the openening page.
Nevertheless I can't see any folder size information. Is there another setting needed or do you have to set limits for foldersize?
(edit: updated yesterday to latest snappymail 2.29.2 so I assume I should see foldersize ...)
(edit2: roundcube shows foldersize though it's implemention does not allow an overview. I assume, that the query for folder size with rfc438 is working. Our mailserver is dovecot and it is implemented there.)
(edit 3: We are using snappymail as an app in nextcloud.)

grafik

@corvus-albus
Copy link
Author

Ahhh, shame on me. There is a german phrase which says: Who can read, is clearly in advantage.
Displaying of foldersize is really working and I it was my fault to misunderstand your screenshot. It is clearly written: DISABLE Capabilities. If "status size" is checked, it is obviously disabled!
And finally I understood and the foldersize is displayed.
So please forget about my last comment.

Thanks again for your fast reaction to this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants