Re: It's not possible to create folder which name starts with hash-sign (#)
Wojtek <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
I did linked it in the email - I'm aware of the specification but as with RFCs - it's not even "SHOULD" (or SHOULD NOT), not to mention explicit MUST, and considering that all other implementations (that I tested) ignore it then I'm not sure it's valid. Wojtek On 22/06/2023 01:33, Benoit TELLIER wrote: > 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: [email protected] > > 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: [email protected] > > 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: [email protected] > For additional commands, e-mail: [email protected] > > >