[dovecot] Why can't hierarchy sep be changed?
From: Charlie Brady <charlieb@e-smith.com>
There's something wrong with manually accepting posts from non-subscribed addresses now, they're just left to queue directory for some reason.. Please try to keep the From-address the same as the subscribed one.
From maildir-storage.c:
... '.', /* hierarchy_sep - can't be changed */ ...
Why can't it be changed? Is this just for courier compatibility, or is there a deeper reason why it can't be changed?
Actually I'm going to change it to '/' to allow folders such as shared/timo.sirainen/mailbox. The directory names themselves will still contain '.' separator to stay compatible with Courier's Maildir++ format. So even though new IMAP separator will be '/', '.' still can't be used in mailbox names.
On 7 Apr 2003, Timo Sirainen wrote:
From maildir-storage.c:
... '.', /* hierarchy_sep - can't be changed */ ...
Why can't it be changed? Is this just for courier compatibility, or is there a deeper reason why it can't be changed?
Actually I'm going to change it to '/' to allow folders such as shared/timo.sirainen/mailbox. The directory names themselves will still contain '.' separator to stay compatible with Courier's Maildir++ format. So even though new IMAP separator will be '/', '.' still can't be used in mailbox names.
I don't care about Courier compatibility (speaking just for myself - no flames please), and I do want '.' in mailbox names. Will that be easy for me?
And just to repeat my question - is the only reason that '.' is unwelcome Courier compatibility?
-- Charlie
On Mon, 2003-04-07 at 23:43, Charlie Brady wrote:
Actually I'm going to change it to '/' to allow folders such as shared/timo.sirainen/mailbox. The directory names themselves will still contain '.' separator to stay compatible with Courier's Maildir++ format. So even though new IMAP separator will be '/', '.' still can't be used in mailbox names.
I don't care about Courier compatibility (speaking just for myself - no flames please), and I do want '.' in mailbox names. Will that be easy for me?
I could make it easy when I separate the IMAP/directory separators. Currently you'd have to change the '.' from several places, it's included inside some strings too. Everything should be in maildir-list.c and maildir-storage.c anyway.
And just to repeat my question - is the only reason that '.' is unwelcome Courier compatibility?
Yes.
participants (2)
-
Charlie Brady
-
Timo Sirainen