marcus lively
2013-Oct-30 03:08 UTC
[Dovecot] IMAP Dovecot unknown namespace creating root folders
Hi, I hope someone can point me in the right direction here. I am migrating a
mailbox from a non cPanel server, and the mailboxes have folders which seem to
be at the same level as the Inbox. The users access these mailboxes using IMAP.
The new server configuration is Exim > Dovecot 1.2.17 > Maildir with the
standard cPanel install settings. dovecot -n output below
I have created the new mailbox within cPanel however when I try to create a
'top level' folder in Outlook I receive the error 'Cannot create the
folder: Unknown namespace' (Note I also tried this with the windows mail
client to ensure it was not client side)
I know that I can get round this by setting the root folder path on the client
to 'Inbox' and therefore the folders would be created as sub-folders of
Inbox, and this would not be visible to the user, but I was hoping to migrate
without touching the clients.
Should dovecot report the default root folder path automatically, or create a
default top level namespace for each user so this can be done, or could I have
just gone wrong and missed something.
Any advice on getting this working appreciated, thanks for any help
Maspry
# 1.2.17: /etc/dovecot.conf
# OS: Linux 2.6.32-71.el6.x86_64 x86_64 CentOS release 6.4 (Final)?
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/dovecot/ssl/dovecot.crt
ssl_key_file: /etc/dovecot/ssl/dovecot.key
ssl_cipher_list: ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_process_per_connection: no
login_processes_count: 2
login_max_processes_count: 50
login_max_connections: 500
mail_max_userip_connections(default): 20
mail_max_userip_connections(imap): 20
mail_max_userip_connections(pop3): 3
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default): acl quota imap_quota
mail_plugins(imap): acl quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): UID%u-%v
pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(pop3): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
namespace:
? type: private
? prefix: INBOX.
? inbox: yes
? list: yes
? subscriptions: yes
lda:
? postmaster_address: postmaster at example.com
auth default:
? mechanisms: plain login
? cache_size: 1024
? username_chars:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%
? passdb:
? ? driver: checkpassword
? ? args: /usr/local/cpanel/bin/dovecot-auth
? userdb:
? ? driver: prefetch
? socket:
? ? type: listen
? ? client:
? ? ? path: /var/run/dovecot/auth-client
? ? ? mode: 438
plugin:
? quota: maildir
? quota_rule: Trash:ignore
? acl: vfile
Marcus Lively
2013-Oct-30 13:17 UTC
[Dovecot] IMAP Dovecot unknown namespace creating root folders
Hi all, I believe I have worked this out, there is an entry in dovecot.conf for the private namespace which sets the prefix required to access the namespace as follows prefix = INBOX. I commented this out and restarted dovecot. I know that I need to make this change in the template for dovecot as the direct edit of dovecot.conf will be overwritten when dovecot is updated. I am also checking if there are any implications in doing this, If anyone knows any please drop me a reply. Many thanks Marcus> -----Original Message----- > From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] > On Behalf Of marcus lively > Sent: 30 October 2013 03:08 > To: dovecot at dovecot.org > Subject: [Dovecot] IMAP Dovecot unknown namespace creating root folders > > Hi, I hope someone can point me in the right direction here. I am > migrating a mailbox from a non cPanel server, and the mailboxes have > folders which seem to be at the same level as the Inbox. The users > access these mailboxes using IMAP. > > The new server configuration is Exim > Dovecot 1.2.17 > Maildir with > the standard cPanel install settings. dovecot -n output below > > I have created the new mailbox within cPanel however when I try to > create a 'top level' folder in Outlook I receive the error 'Cannot > create the folder: Unknown namespace' (Note I also tried this with the > windows mail client to ensure it was not client side) > > I know that I can get round this by setting the root folder path on the > client to 'Inbox' and therefore the folders would be created as sub- > folders of Inbox, and this would not be visible to the user, but I was > hoping to migrate without touching the clients. > > Should dovecot report the default root folder path automatically, or > create a default top level namespace for each user so this can be done, > or could I have just gone wrong and missed something. > > Any advice on getting this working appreciated, thanks for any help > > Maspry > > # 1.2.17: /etc/dovecot.conf > # OS: Linux 2.6.32-71.el6.x86_64 x86_64 CentOS release 6.4 (Final) > protocols: imap imaps pop3 pop3s > ssl_cert_file: /etc/dovecot/ssl/dovecot.crt > ssl_key_file: /etc/dovecot/ssl/dovecot.key > ssl_cipher_list: ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP > disable_plaintext_auth: no > login_dir: /var/run/dovecot/login > login_executable(default): /usr/libexec/dovecot/imap-login > login_executable(imap): /usr/libexec/dovecot/imap-login > login_executable(pop3): /usr/libexec/dovecot/pop3-login > login_process_per_connection: no > login_processes_count: 2 > login_max_processes_count: 50 > login_max_connections: 500 > mail_max_userip_connections(default): 20 > mail_max_userip_connections(imap): 20 > mail_max_userip_connections(pop3): 3 > maildir_copy_preserve_filename: yes > mail_executable(default): /usr/libexec/dovecot/imap > mail_executable(imap): /usr/libexec/dovecot/imap > mail_executable(pop3): /usr/libexec/dovecot/pop3 > mail_plugins(default): acl quota imap_quota > mail_plugins(imap): acl quota imap_quota > mail_plugins(pop3): quota > mail_plugin_dir(default): /usr/lib64/dovecot/imap > mail_plugin_dir(imap): /usr/lib64/dovecot/imap > mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 > pop3_uidl_format(default): %08Xu%08Xv > pop3_uidl_format(imap): %08Xu%08Xv > pop3_uidl_format(pop3): UID%u-%v > pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s > pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s > pop3_logout_format(pop3): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, > bytes=%i/%o > namespace: > ? type: private > ? prefix: INBOX. > ? inbox: yes > ? list: yes > ? subscriptions: yes > lda: > ? postmaster_address: postmaster at example.com auth default: > ? mechanisms: plain login > ? cache_size: 1024 > ? username_chars: > abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$- > =?^_{}~./@+% > ? passdb: > ? ? driver: checkpassword > ? ? args: /usr/local/cpanel/bin/dovecot-auth > ? userdb: > ? ? driver: prefetch > ? socket: > ? ? type: listen > ? ? client: > ? ? ? path: /var/run/dovecot/auth-client > ? ? ? mode: 438 > plugin: > ? quota: maildir > ? quota_rule: Trash:ignore > ? acl: vfile