A bit more info after some more troubleshooting. I found a few options in a sogo.conf file, that seem to suggest SOGo is configured to use '/' as folder separator.
SOGoMailShowSubscribedFoldersOnly = NO; NGImap4ConnectionStringSeparator = "/"; I turned on two debug settings in the sogo.conf as well. SOGoDebugRequests = YES; ImapDebugEnabled = YES; And found the following appear in my sogo logs. Archive has children, and Invalid, Aggregate, and Forensic are in the list. Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 1 login "postmas...@redacted.com" "REDACTED" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE LITERAL+ NOTIFY METADATA SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 2 capability Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE LITERAL+ NOTIFY METADATA SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 2 OK Capability completed (0.001 + 0.000 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 3 ID ("x-originating-ip" "192.168.70.81") Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * ID ("name" "Dovecot") Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 3 OK ID completed (0.001 + 0.001 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 4 namespace Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * NAMESPACE (("" "/")) (("Shared/" "/")) NIL Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 4 OK Namespace completed (0.001 + 0.001 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: Nov 05 21:38:05 sogod [69]: |SOGo| request took 0.239990 seconds to execute Nov 5 21:38:05 ca4d2842acf4 sogod [69]: 192.168.70.81 "GET /SOGo/so/postmas...@redacted.com/Mail/0/view HTTP/1.0" 200 1377/0 0.245 - - 1M Nov 5 21:38:05 ca4d2842acf4 sogod [69]: |SOGo| starting method 'POST' on uri '/SOGo/so/postmas...@redacted.com/Mail/0/folderINBOX/view' Nov 5 21:38:05 ca4d2842acf4 sogod [69]: |SOGo| request took 0.193569 seconds to execute Nov 5 21:38:05 ca4d2842acf4 sogod [69]: 192.168.70.81 "POST /SOGo/so/postmas...@redacted.com/Mail/0/folderINBOX/view HTTP/1.0" 200 206/48 0.196 - - 0 Nov 5 21:38:05 ca4d2842acf4 sogod [69]: |SOGo| starting method 'POST' on uri '/SOGo/so/postmas...@redacted.com/Mail/unseenCount' Nov 5 21:38:05 ca4d2842acf4 5 LIST "" "" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\Noselect) "/" "" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 5 OK List completed (0.001 + 0.000 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 6 LIST "" "*" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren \Drafts) "/" Drafts Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasChildren \Archive) "/" Archive Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren) "/" Archive/Invalid Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren \Marked) "/" Archive/Forensic Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren) "/" Archive/Aggregate Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren \Junk) "/" Junk Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren \Trash) "/" Trash Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren \Sent) "/" Sent Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * LIST (\HasNoChildren) "/" INBOX Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 6 OK List completed (0.003 + 0.000 + 0.002 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 7 LIST "" "Shared/*" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 7 OK List completed (0.001 + 0.000 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 8 getquotaroot "INBOX" Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: 8 OK No quota (0.003 + 0.000 + 0.003 secs). Nov 5 21:38:05 ca4d2842acf4 C[0x5568bf7d1180]: 9 logout Nov 5 21:38:05 ca4d2842acf4 S[0x5568bf7be5a0]: * BYE Logging out Haven't found much else related to subfolders not appearing, but will continue digging. Cheers, Justin C. On 2022-11-05, Justin Charette wrote: > I operate a mailcow server [1] using docker. It's currently running > SoGO 4.3.2. > > [1]: https://docs.mailcow.email/ > > I recently began to run parsedmarc on a newly created postmaster > mailbox, and, although I configured the Inbox mail to be archived, found > no mail in Inbox or Archive after a single run. The Inbox had dozens of > messages before running parsedmarc. > > Through the parsedmarc debug option, I found it was moving messages from > the Inbox to one of Archive/Invalid, Archive/Aggregate, or > Archive/Forensic. > > The SoGO mail client does not display the subfolders for Archive. It > does show Inbox, Junk, Trash, Sent, Drafts, and Archive. > > With the doveadm command, I could list the mail folders for the > postmaster, and see that Archive/{Invalid,Aggregate,Forensic} all > exist, but were unsubscribed. I'm not sure what the subscribe feature > does, but it was easy enough to subscribe to the subfolders with > doveadm. > > However, none of the Archive subfolders appear in SoGO. > > I tried to create the subfolders via the SoGO webmail client by clicking > the Archive 3-dot option menu icon, and selecting "New Subfolder...". I > provided a name of "Invalid", and clicked "OK". An error appear that > SoGO was unable to create the folder, while the subfolder in dovecot > still remained. > > I also attempted to create an Archive/Invalid subfolder via SoGO webmail > client with another account that lacked the subfolder. No error > presented, but SoGO does not display an entry for Archive/Invalid. An > error does present ("Unable to create folder Invalid") if I make another > attempt. > > I do not know whether this problem is related to SoGO, some > configuration mismatch in Mailcow's settings, but I figured I'd inquire > here first. > > > > 1. Is there a process I must run to force SoGO to refresh its list of > mailbox folders to include those not created via the SoGO webmail client? > > 2. Do I need to fix a configuration in dovecot or SoGO to allow SoGO to > see the subfolders that exist in dovecot? > > > > Cheers, > Justin C.