You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Jan-Eric Hellenberg (Jira)" <se...@james.apache.org> on 2025/01/03 12:44:00 UTC

[jira] [Comment Edited] (JAMES-4099) Make mailbox folder delimiter configurable

    [ https://issues.apache.org/jira/browse/JAMES-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909579#comment-17909579 ] 

Jan-Eric Hellenberg edited comment on JAMES-4099 at 1/3/25 12:43 PM:
---------------------------------------------------------------------

That's a good question. However, for such an important system setting, I do not quite like allowing arbitrary options that are not thoroughly validated by tests. The annoying thing here is that I can imagine the system easily breaking (now or in the future) in subtle and hard-to-debug ways when you get unlucky with your selection. (For example, you would need to know that using '#' as a delimiter, while maybe decent-looking at first, is a pretty bad idea because it clashes with the namespace prefix character)

That said, I'm not opposed to adding more options; we could consider '|', ':', ',', '\' (any more suggestions?) But we have to be aware that any character added to this list might need to be handled with increased care going forward.

 


was (Author: JIRAUSER307420):
That's a good question. However, for such an important system setting, I do not quite like allowing arbitrary options that are not thoroughly validated by tests. The annoying thing here is that I can imagine the system easily breaking (now or in the future) in subtle and hard-to-debug ways when you get unlucky with your selection. (For example, you would need to know that using '#' as a delimiter, while maybe decent-looking at first, is a pretty bad idea because it clashes with the namespace prefix character)

That said, I'm not opposed to adding more options; we could consider '|', ':', ',', '\' (any more suggestions?)  

 

> Make mailbox folder delimiter configurable
> ------------------------------------------
>
>                 Key: JAMES-4099
>                 URL: https://issues.apache.org/jira/browse/JAMES-4099
>             Project: James Server
>          Issue Type: Improvement
>          Components: mailbox
>            Reporter: Jan-Eric Hellenberg
>            Priority: Minor
>
> Currently, we use '.' as a constant hierarchical delimiter for mailbox folders.
> We believe this to be a suboptimal choice and think using '/' would serve better in general; however, changing the default is not desirable because it would break existing deployments. For this reason, we propose to add a configuration switch enabling to select a delimiter out of a list of suitable options (only '.' and '/' for now, with '.' being the default).
> This might also aid with #3545, where '.' as a delimiter is identified as a problem for JMAP as well.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org