View Issue Details

IDProjectCategoryView StatusLast Update
0005280SOGoWeb Mailpublic2022-04-25 21:40
Reporterneko Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformServerOSLinuxOS VersionopenSuSE 15.2
Product Versionnightly master 
Summary0005280: Webmail ignores imap \Noselect flag with "show subscribed folders only" enabled.
Description

IMAP client should never try to select folder (or namespace) with \Noselect flag.

If option "show subscribed folders only" is disabled webmail client works expected. Folders with \Noselect flag are greyed out and can't be selected.
If option "show subscribed folders only" is enable webmail ignores \Noselect flag and allows user to select such folder. As result client sends "select" command to imap server and fails with error.

[ERROR] <0x0x278dfe0[NGImap4Connection]> could not select URL: imap://user%40domain.com@localhost/shared/?tls=NO&tlsVerifyMode=default: {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: shared (0.001 + 0.001 secs).\"; result = no; tagId = 16; }; ok = {CLOSED = \"Previous mailbox closed.\"; }; }"; reason = "Mailbox doesn't exist: shared (0.001 + 0.001 secs)."; result = 0; }

After this error uses ir forced to reload browsers window to reconnect.

My guess is if subscription are used client relays on subscribed folder list. This is wrong. If folder can be subscribe this doesn't mean that user have permission to select it. Client must chek \Noselect flag in both cases.

Steps To Reproduce

1) login into webmail using account with active namespaces (shared, public or any other)
2) enable "show subscribed folders only" option in settings.
2) select try to select namespace folder.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-03-13 10:37 neko New Issue
2022-04-25 21:40 francis Description Updated
2022-04-25 21:40 francis Assigned To => francis
2022-04-25 21:40 francis Status new => resolved
2022-04-25 21:40 francis Resolution open => fixed