[Dovecot] unexpected subfolder locaton in Maildir/.INBOX.subfolder
Hallo,
I try to migrate existing imap server to dovecot 1.2 in debian squeeze
if I connect to imap://user@host/INBOX Inbox works as expected and I get the content of Maildir/{cur,new,tmp}
Maildir/.subfolder already exists if I connect to imap://user@host/INBOX.subfolder I get "folder not found"
if I do a imap directory listing (raw mutt config, no subscriptions)
- I see "../"
- If I navigate to "../" I se all my existing subfolders
if I create a new folder via imap the folder is created in Maildir/.INBOX.new_subfolder I expect the creation of Maildir/.new_subfolder
This doesn't fit to the client configs and if I move the existing folders it doesn't fit to existing delivery agent filters and settings.
I enabled mail_debug and the expansion looks ok for me:
dovecot: imap-login: Login: user=<wulf>, method=PLAIN, rip=85.178.xx.xxx, lip=80.81.xxx.xxx, TLS dovecot: IMAP(wulf): Effective uid=112, gid=114, home=/var/mail/home/wulf dovecot: IMAP(wulf): maildir: data=~/Maildir dovecot: IMAP(wulf): maildir++: root=/var/mail/home/wulf/Maildir, index=, control=, inbox=/var/mail/home/wulf/Maildir
the existing subscription information from courier-imap looks like INBOX.subolder Yes I can sed them to subfolder (of course I have to copy them to Maildir/subscriptions anyhow) But is that the idea? I like to avoid trouble with all the users and their already configured mail-clients.
Where is my mistake? Thanks for feedback Best Wulf
CONF:
protocols = imap imaps log_timestamp = "%Y-%m-%d %H:%M:%S " ssl = required ssl_cert_file = /etc/exim4/xxxxxxxxxxxxxxx.pem ssl_key_file = /etc/exim4/xxxxxx.key mail_location = maildir:~/Maildir mail_uid = 112 mail_gid = 114 mail_access_groups = vmail mail_debug = yes first_valid_uid = 112 protocol imap { } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol managesieve { } auth_verbose = yes auth_debug = yes auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb static { args = uid=112 gid=114 home=/var/mail/home/%u } user = root } dict { } plugin { }
dovecot-ldap.conf: hosts = 127.0.0.1:389 auth_bind = yes auth_bind_userdn = uid=%u,ou=users,dc=xxxxxxxx,dc=de base = dc=xxxxxxxx,dc=de
Hi,
I dont know if this will help but, When I upgraded from Debain 5.0 to 6.0 I had to specify the mail directory explicitly, it then all worked fine.
so in the dovecot.conf there is this line,
"mail_location = mbox:~/mail:INBOX=/var/mail/%u"
I took the # out and restarted Dovecot and it was happy.
regards
From: dovecot-bounces@dovecot.org [dovecot-bounces@dovecot.org] on behalf of wulf [grenouille@c-base.org] Sent: Friday, 27 May 2011 11:59 a.m. To: dovecot@dovecot.org Subject: [Dovecot] unexpected subfolder locaton in Maildir/.INBOX.subfolder
Hallo,
I try to migrate existing imap server to dovecot 1.2 in debian squeeze
if I connect to imap://user@host/INBOX Inbox works as expected and I get the content of Maildir/{cur,new,tmp}
Maildir/.subfolder already exists if I connect to imap://user@host/INBOX.subfolder I get "folder not found"
if I do a imap directory listing (raw mutt config, no subscriptions)
- I see "../"
- If I navigate to "../" I se all my existing subfolders
if I create a new folder via imap the folder is created in Maildir/.INBOX.new_subfolder I expect the creation of Maildir/.new_subfolder
This doesn't fit to the client configs and if I move the existing folders it doesn't fit to existing delivery agent filters and settings.
I enabled mail_debug and the expansion looks ok for me:
dovecot: imap-login: Login: user=<wulf>, method=PLAIN, rip=85.178.xx.xxx, lip=80.81.xxx.xxx, TLS dovecot: IMAP(wulf): Effective uid=112, gid=114, home=/var/mail/home/wulf dovecot: IMAP(wulf): maildir: data=~/Maildir dovecot: IMAP(wulf): maildir++: root=/var/mail/home/wulf/Maildir, index=, control=, inbox=/var/mail/home/wulf/Maildir
the existing subscription information from courier-imap looks like INBOX.subolder Yes I can sed them to subfolder (of course I have to copy them to Maildir/subscriptions anyhow) But is that the idea? I like to avoid trouble with all the users and their already configured mail-clients.
Where is my mistake? Thanks for feedback Best Wulf
CONF:
protocols = imap imaps log_timestamp = "%Y-%m-%d %H:%M:%S " ssl = required ssl_cert_file = /etc/exim4/xxxxxxxxxxxxxxx.pem ssl_key_file = /etc/exim4/xxxxxx.key mail_location = maildir:~/Maildir mail_uid = 112 mail_gid = 114 mail_access_groups = vmail mail_debug = yes first_valid_uid = 112 protocol imap { } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol managesieve { } auth_verbose = yes auth_debug = yes auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb static { args = uid=112 gid=114 home=/var/mail/home/%u } user = root } dict { } plugin { }
dovecot-ldap.conf: hosts = 127.0.0.1:389 auth_bind = yes auth_bind_userdn = uid=%u,ou=users,dc=xxxxxxxx,dc=de base = dc=xxxxxxxx,dc=de
Hi Steve,
On Fri, May 27, 2011 at 12:35:49AM +0000, Steven Jones wrote:
I dont know if this will help but, When I upgraded from Debain 5.0 to 6.0 I had to specify the mail directory explicitly, it then all worked fine. no, it don't I already tried this, and as you can see there is a correct expansion off INBOX in the log.
dovecot: IMAP(wulf): maildir++: root=/var/mail/home/wulf/Maildir, index=, control=, inbox=/var/mail/home/wulf/Maildir
best wulf
On Fri, 2011-05-27 at 01:59 +0200, wulf wrote:
Maildir/.subfolder already exists if I connect to imap://user@host/INBOX.subfolder I get "folder not found"
You'd access it as imap://user@host/subfolder.
Or alternatively you can create a namespace with INBOX. prefix. http://wiki.dovecot.org/Namespaces
Hi Timo,
thanks for response.
On Fri, Jun 03, 2011 at 04:04:51PM +0300, Timo Sirainen wrote:
You'd access it as imap://user@host/subfolder.
that was clear, but I want to make sure clients don't need reconfiguration after migration.
Or alternatively you can create a namespace with INBOX. prefix. http://wiki.dovecot.org/Namespaces I don't know the namespace concept before. That's the hint I'm looking for. And there is special a paragraph about my case:
Backwards Compatibility: Courier IMAP You can continue using the same INBOX. namespace as Courier: ...
Best Wulf++
participants (3)
-
Steven Jones
-
Timo Sirainen
-
wulf