[Dovecot] Xlist in userdb, Foldernames with whitespace?
Hello,
i use dovecot 2.1.7 and exported all my XLIST FolderSettings to userdb Whole Story is here: http://dovecot.org/list/dovecot/2013-March/089209.html
This is all successful, but there is one problem left.
I use lines like this to realize individual XLIST Foldernames in usedb:
namespace/inbox/mailbox=Sent namespace/inbox/mailbox/Sent/name=Sent namespace/inbox/mailbox/Sent/auto=subscribe namespace/inbox/mailbox/Sent/special_use=\sent
My problem is to allow Foldernames with whitespace in it f.e. Sent Messages I tried to put these names in quotes in this line or mask the blank with backslash but nothing was working. Dovecot ist not accepting these settings:
dovecot: imap: Debug: Added userdb setting: namespace/inbox/mailbox="Sent Messages" dovecot: imap: Debug: Unknown userdb setting: plugin/namespace/inbox/mailbox/"Sent Messages"/auto=subscribe dovecot: imap: Debug: Unknown userdb setting: plugin/namespace/inbox/mailbox/"Sent Messages"/name="Sent Messages" dovecot: imap: Debug: Unknown userdb setting: plugin/namespace/inbox/mailbox/"Sent Messages"/special_use=\sent
How to code folders with whitespace etc. in my userdb settings? I tried a lot but nothing was correct.
Thanks, Hajo
Hello,
unfortunately still have the same problem. Currently i believe this is a kind of bug.
My problem is to allow Foldernames with whitespace in it f.e. Sent Messages I tried to put these names in quotes in this line or mask the blank with backslash but nothing was working. Dovecot ist not accepting these settings:
In your example here you created two mailboxes by commandlineparams: http://dovecot.org/list/dovecot/2013-March/089373.html 'namespace/inbox/mailbox=foo bar'
After putting this to userdb i tried a lot of masking, quoting etc, but dovecot is always splitting up at the blank space, and a foldername with blank space like "Sent Mails" seems to be impossible in userdb. How to achieve this? This would be nice for other features separate from the xlist feature, autocreation of individual folders can be used for different purposes.
What to do now?
Thanks, Hajo
On 13.5.2013, at 10.06, Hajo Locke <hajo.locke@gmx.de> wrote:
My problem is to allow Foldernames with whitespace in it f.e. Sent Messages I tried to put these names in quotes in this line or mask the blank with backslash but nothing was working. Dovecot ist not accepting these settings:
In your example here you created two mailboxes by commandlineparams: http://dovecot.org/list/dovecot/2013-March/089373.html 'namespace/inbox/mailbox=foo bar'
After putting this to userdb i tried a lot of masking, quoting etc, but dovecot is always splitting up at the blank space, and a foldername with blank space like "Sent Mails" seems to be impossible in userdb. How to achieve this? This would be nice for other features separate from the xlist feature, autocreation of individual folders can be used for different purposes.
I think you don't need to use the actual mailbox name as the "id". So the above URL's command modified:
/usr/local/libexec/dovecot/imap -o 'namespace/inbox/mailbox=foo bar' -o namespace/inbox/mailbox/foo/name="foo with spaces" -o namespace/inbox/mailbox/bar/name="bar with spaces" -o namespace/inbox/mailbox/foo/auto=create -o namespace/inbox/mailbox/bar/auto=create -o namespace/inbox/mailbox/foo/special_use=\\sent -o namespace/inbox/mailbox/bar/special_use=\\drafts
Hello,
I think you don't need to use the actual mailbox name as the "id". So the above URL's command modified:
/usr/local/libexec/dovecot/imap -o 'namespace/inbox/mailbox=foo bar' -o namespace/inbox/mailbox/foo/name="foo with spaces" -o namespace/inbox/mailbox/bar/name="bar with spaces" -o namespace/inbox/mailbox/foo/auto=create -o namespace/inbox/mailbox/bar/auto=create -o namespace/inbox/mailbox/foo/special_use=\\sent -o namespace/inbox/mailbox/bar/special_use=\\drafts
yes, this is working. I never considered to see id and mailboxname as different things. Thanks a lot, great Support of your users, Hajo
participants (2)
-
Hajo Locke
-
Timo Sirainen