Open Bug 1576359 Opened 6 years ago Updated 3 years ago

Creation of IMAP folders fails with "NO" response code, showing no error message to user due to limit on the server

Categories

(MailNews Core :: Networking: IMAP, defect)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: erik.brangs, Unassigned)

References

Details

(Whiteboard: [dupme?])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

I tried to create a new folder on my IMAP GMX account using Thunderbird. I right-clicked on the accout and selected "New Folder...".

Actual results:

No new folder was created and no error message appeared.

This happened both on Debian Stretch and on Windows 10.

Expected results:

I would expect Thunderbird to display a user-visible, understandable error message about the failure to create a folder. Currently, the creation of the folder simply fails silently.

I know that the creation of the folder fails because I logged into the GMX web interface and tried to create the folder from there. This displayed an error message that said that I reached the maximum number of folders for my account type.

Erik,

Given that you have already reached your limit, could you open the developer console found under Tools-->Developer Tools-->Error Console and try to create a folder?

Paste whatever appears in the console window here or attach it as a file if you would rather.

Flags: needinfo?(erik.brangs)

The error console does not get any new entries when I try to create a folder.

Flags: needinfo?(erik.brangs)

Looks like we need to improve error handling here.

Component: Untriaged → Networking: IMAP
Product: Thunderbird → MailNews Core

Probably an IMAP log would be useful: https://wiki.mozilla.org/MailNews:Logging

Reporter, I haven't tested this but curious to know what the GMX folder count limit is. Also, the IMAP:5 log that Magnus mentioned would help. Typically when an imap server returns a hard error for a command the text in the response is quoted in a pop-up message and the error also appears in "Activity Manager".

Flags: needinfo?(gds)
Attached file Tail of the IMAP log

I've attached a shortened IMAP log from the point where the folder name appears.

The "Activity Manager" says: "The current command did not succeed. The mail server for account * responded: quota exceeded". I do not get a popup.

According to the GMX web interface, the quota is 20 folders for my account type.

I try to create a really too "looo....oooog" folder name on isp's imap server and all I see about failure is when I look in activity mgr (no pop-up occurs). This is another case where the imap create commands returns "NO" response code.
Looking at imap code, it appears that NO vs BAD should both indicate failure and cause the user to be alerted via pop up.

Flags: needinfo?(gds)
Summary: Creation of IMAP folders fails without error message due to limit on the server → Creation of IMAP folders fails with "NO" response code, showing no error message to user due to limit on the server
Whiteboard: [dupme?]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: