Bug 368381 - KMail 5.2.3 / Akonadi 16.04.3 shows no quota warnings
Summary: KMail 5.2.3 / Akonadi 16.04.3 shows no quota warnings
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 5.2.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 10:26 UTC by Dennis Schridde
Modified: 2020-12-20 19:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-09-07 10:26:32 UTC
KMail 5.2.3 / Akonadi 16.04.3 provides me with no warning about exceeded quota or failing uploads due to exceeded quota.

Reproducible: Always

Steps to Reproduce:
1. Exceeded IMAP quota on the server.
2. Fill folders with new emails (e.g. in the \Sent folder after sending emails).

Actual Results:  
1. KMail stops uploading messages to the server, without notifying me that it was unable to synchronise completely.
2. Deleting messages also becomes impossible, presumably because they are first copied to \Trash, which will fail due to the exceeded quota.

Expected Results:  
KMail should display a warning when I am at e.g. 90% of my IMAP quota, a very noticable error message when I am above 99% (i.e. when it becomes impossible to store a reasonably sized email), and very noticable error messages for every mail that cannot be uploaded to the server for whatever reason. It should also mark such not-synchronised messages with a warning in the message list and folders containing such messages (and folders containing folders containing such messages) in the folder list.

I am using KMail 5.2.3 (the "version" list here in bugzilla allows me to select only 5.2.1).
The server is running (response to the ID IMAP command from RFC 2971 [2]): Cyrus IMAPD v2.4.17-Fedora-RPM-2.4.17-8.el7_1 d1df8aff 2012-12-01

Trojita displays a modal warning dialogue that "quota exceeded" (or similar). This might be a message coming from the server, probably via the OVERQUOTA response code from RFC 5530 [1], which is handled in src/Imap/Parser/Response.{cpp,h} in the Trojita source code.

[1]: https://tools.ietf.org/html/rfc5530
[2]: https://tools.ietf.org/html/rfc2971
Comment 1 Thiago Sueto 2020-12-20 19:03:45 UTC
Recently the quota for the email account provided by the company I work at exceeded 90% and I was having trouble receiving mail, not knowing I had exceeded the quota. The automatic message the server sends is usually late in my case.
I don't recall seeing a message in KMail mentioning the exceeded quota.