Cannot unsubscribe IMAP folders where my access was revoked
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: bugzilla, Unassigned)
Details
Attachments
(1 file)
Comment 2•16 years ago
|
||
Comment 4•14 years ago
|
||
Comment 6•14 years ago
|
||
Updated•3 years ago
|
Comment 8•3 months ago
|
||
Does https://connect.mozilla.org/t5/ideas/option-to-hide-unused-or-non-subscribable-imap-folders/idc-p/123173#M63928 sound like the same issue?
(I've CC some proton users)
Comment 9•3 months ago
|
||
I have a test folder called BMO with full imap access/privileges so I can do anything in TB with this folder. With my local dovecot imap server (used for testing only) on folder BMO I removed all the permissions on BMO so it does not LIST and can't be subscribed and can't be opened, deleted or renamed. That leaves folder BMO visible (but grayed) in TB and, when accessed, no messages appear. So what we have is a mailbox BMO that doesn't exist (from TBs viewpoint) but is still exists and is subscribed at the server so it appears gray in TB. This is similar to what reporter above shows in the attachment and also similar to what the link in comment 8 shows for proton server.
Now I can invoke the TB "subscribe" dialog and it shows BMO as not subscribed since LSUB will show folder BMO even if LIST doesn't show it. It will be gray in subscribe dialog. I can go to subscribe dialog and unsubscribe BMO and the gray BMO folder goes away in TB.
Anyhow, this bug and comment 8 link are the same issue, it appears to me. I'm not sure why the reporter of this bug (from 16 years ago) doesn't see checkboxes for the gray folders in the attachment. I'm not sure about the comment 8 link regarding proton mail and they imply that the "system" folder don't have checkbox in the subscribe dialog. A possibility is the proton server doesn't allow unsubscribe on the system folders which would be a server bug (unsubscribe shouldn't require any special permission).
For the proton mail case, I would probably need an IMAP:4 log showing the LIST that occur during startup and folder discovery. Also the log should record the activity when subscribe dialog is triggered by the user. So basically do this:
Start TB with logging enabled, e.g., MOZ_LOG=IMAP:4,timestamp,sync MOZ_LOG_FILE=~/tblog
Then open the subscription dialog. Then shutdown TB and attach the log tblog.moz_log
Another possibility is the proton mail "system" folders are flagged "NoSelect". This means they are folders that have no messages but just act as containers for selectable subfolders and in TB are gray. I can't tell without the log. NoSelect folders don't have a subscribe checkbox, not sure why. However you can delete them and you may see a "folder doesn't exist error" from server as I do with dovecot. However TB goes ahead and, on delete, unsubscribes them and they go away. So deleting the proton "system" folders will (probably) force an unsubscribe and hide them and not cause any issues.
Note: An example of a NoSelect system folder in gmail is the [Gmail] folder which is a special case in TB and now this NoSelect folder is hidden since most standard and selectable gmail folders are under it. However, it still appears in the subscribe dialog with no checkbox.
Description
•