4
4
The Listescape plugin allows users to use characters in mailboxes names that
5
would otherwise be illegal, for example:
5
would otherwise be illegal (due to the underlying mailbox storage), for
7
* Maildir++ layout disallows using the '.' character, since it's used
8
internally as the hierarchy separator.
8
* Maildir++ layout disallows using the '.' character (unless LAYOUT=fs is
9
used), since it's used internally as the folder hierarchy separator.
9
10
* The '~' character at the beginning of the mailbox name is disallowed,
10
11
because of the possibility that it gets expanded to user's home directory.
11
* The '/' character is disallowed with all layouts (if it's not the hierarchy
12
* The '/' character is disallowed on POSIX systems.
14
14
The Listescape plugin allows you to use all of these characters, as long as the
15
virtual separator is changed to something else. The characters are escaped to
16
the mailbox name as \NN hex codes.
15
virtual separator (i.e. what is set by the separator= setting and used as such
16
by the IMAP protocol) is changed to something else, which means that the plugin
17
does *not* make it possible to use the virtual separator in folder names.
19
The characters are escaped to the mailbox name as \NN hex codes.
18
21
So what would be a good hierarchy separator to use?
20
23
* '.' and '/' are very commonly used and should work everywhere
21
* '\' is used by Exchange, and should also work everywhere
24
* '\' is used by Exchange, and should also work everywhere (when specifying
25
this in the separator= setting it must be quoted, so one sets separator =
22
27
* '^' is used internally by Thunderbird and causes some trouble with it
28
33
Allow '.' characters with Maildir++ layout when virtual hierarchy separator is
34
changed to '/' (it could be anything else except '.' itself):
31
36
---%<-------------------------------------------------------------------------
32
37
mail_plugins = $mail_plugins listescape