By the way https://www.rfc-editor.org/rfc/rfc3501#section-5.1
5) Two characters, "#" and "&", have meanings by convention, and should be avoided except when used in that convention.-- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jun 22, 2023 12:32 PM, from Benoit Tellier Hello Wojtek, That is because James employs a folder hierarchy where '#' is used to denote a namespace. #private:wojtek:INBOX denotes your inbox on which I would have a shared access. #shared:marketting:INBOX denotes a shared mailbox for the marketting team. I bet you could do: #private:wojtek:#hashtest ? That being said, james have no support for accessing shared mailboxes in IMAP just quite yet. The usefulness of that addressing scheme is thus limited. IMO we could: - Drop the #namespace:user:mailbox addressing sheme in IMAP as it is not currently in use... - Or (lighter) if we can't parse a mailbox path (no : after #) then keep the name as is, IE support #hashtest - Review and adopt another addressing sheme that matches those of eg cyrus. -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jun 22, 2023 9:10 AM, from Wojtek Hi, I ran into an issue when importing mails from other servers - it seems that it's not possible to create folder which name starts with hash-sign, e.g.: "#testfolder". I tested other mail servers (gmail, mailu [postfix?], fastmail [cyrrus?], mailbox.org, infomaniak [no idea what they use]) and all of them allowed folder names starting with "#". ``` A4 CREATE #hashtest A4 NO CREATE You can not access a mailbox that does not belong to you ``` Looking at the spec (https://datatracker.ietf.org/doc/html/rfc3501#section-5.1) it seems that `#` can have special meaning and could be used to denote namespaces. Is it a configurable option (i.e. is it possible to disable namespaces/shared mailboxes or some such) that would result in James allowing mailboxes starting with `#`? -- Wojtek --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org