Hi folks,
I have configured the imap folder separator to '/' (see below).
AFAIU the separator character does not affect the internal
folder representation managed by Dovecot, but just the
communication between client and imap server. Question is:
What is supposed to happen if I try to create a folder named
"a.b" in this configuration? Since '.' is not a separator
character anymore, and since the client doesn't know anything
about the internals of Dovecot, I do not see why Dovecot
complains about an invalid character? Shouldn't it hide its
internal Maildir structure?
Regards
Harri
=====================================================================# 1.2.9:
/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32.2 x86_64 Debian squeeze/sid
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
namespace:
type: private
separator: /
location: maildir:~/Maildir
inbox: yes
list: yes
subscriptions: yes
auth default:
passdb:
driver: pam
userdb:
driver: passwd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20100103/24345e25/attachment-0002.bin>
On January 3, 2010 6:16:18 PM +0100 Harald Dunkel <harald.dunkel at t-online.de> wrote:> What is supposed to happen if I try to create a folder named > "a.b" in this configuration? Since '.' is not a separator > character anymore, and since the client doesn't know anything > about the internals of Dovecot, I do not see why Dovecot > complains about an invalid character? Shouldn't it hide its > internal Maildir structure?You'd think so, but . is used by the Maildir++ format in the filesystem so as long as you're using Maildir++ it is illegal. You can't have a folder named "a.b" because when this looks like a/b in Maildir++. So, . is always illegal, and whatever your separator character is, is also illegal. You can use the folder structure (ie, maildir instead of maildir++) and then . should be legal but I personally haven't tried this. I think you just append :LAYOUT=fs to the location spec to use it. -frank
On 3.1.2010, at 12.16, Harald Dunkel wrote:> What is supposed to happen if I try to create a folder named > "a.b" in this configuration? Since '.' is not a separator > character anymore, and since the client doesn't know anything > about the internals of Dovecot, I do not see why Dovecot > complains about an invalid character? Shouldn't it hide its > internal Maildir structure?See listescape plugin.