[Dovecot] DoveCot 2.0.9: Problem with some Clients and separator (migrate from Cyrus)
hi,
we had to move from a old dieing Sparc very quickly our Cyrus IMAP Users to Dovecot. Most things works, but some Clients (like Evolution or Thunderbird) are strange. Our separator in Dovecot2 is "^", the mailboxes on the filesystem are something like "INBOX.subfolder1.subfolder2", but in TB and Evo I see INBOX^subfolder1^subfolder^ In Roundcube Webmail, I have just a normal tree, as I expected.
I used cyrus2dovecot.pl for converting.
On Evolution I deleted the IMAP Profile and recreated it, and that was working, but it isn't a workaround for TB
So, how can I fix it?
namespace { type = private separator = ^ prefix = inbox = yes hidden = no subscriptions = yes }
cu denny
On 22.3.2011, at 16.43, Denny Schierz wrote:
we had to move from a old dieing Sparc very quickly our Cyrus IMAP Users to Dovecot. Most things works, but some Clients (like Evolution or Thunderbird) are strange. Our separator in Dovecot2 is "^", the mailboxes on the filesystem are something like "INBOX.subfolder1.subfolder2", but in TB and Evo I see INBOX^subfolder1^subfolder^ In Roundcube Webmail, I have just a normal tree, as I expected.
IMAP clients don't like it much when the separator changes.
On Evolution I deleted the IMAP Profile and recreated it, and that was working, but it isn't a workaround for TB
You mean recreating the profile didn't work, or you can't / don't want to recreate it?
So, how can I fix it?
I don't think there is anything on Dovecot's side that you can do, except change the separator to same as it was with Cyrus.
hi Timo,
Am 22.03.2011 um 17:48 schrieb Timo Sirainen:
You mean recreating the profile didn't work, or you can't / don't want to recreate it?
its more strange, than i thought. I created a new user and created some folders with TB:
On the filesystem I see:
total 46 drwx------ 5 vmail vmail 7 Mar 22 17:05 .Drafts drwx------ 5 vmail vmail 7 Mar 22 17:05 .INBOX.foobar drwx------ 5 vmail vmail 6 Mar 22 17:05 .Sent drwx------ 5 vmail vmail 6 Mar 22 17:05 .Spam drwx------ 5 vmail vmail 6 Mar 22 17:05 .Trash drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 cur -rw------- 1 vmail vmail 0 Mar 22 17:05 dovecot-acl-list -rw------- 1 vmail vmail 51 Mar 22 17:05 dovecot-uidlist -rw------- 1 vmail vmail 8 Mar 22 17:05 dovecot-uidvalidity -r--r--r-- 1 vmail vmail 0 Mar 22 17:05 dovecot-uidvalidity.4d88c8c3 -rw-r--r-- 1 vmail vmail 14 Mar 22 17:05 maildirsize drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 new -rw------- 1 vmail vmail 36 Mar 22 17:05 subscriptions drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 tmp
but, in TB:
INBOX: Drafts: Sent: Trash: INBOX/foobar
I created only "foobar" in TB, the other ones are created automatically. If i subscribe folders, I see something like "INBOX^foobar"
cu denny
On 23.3.2011, at 0.52, Denny Schierz wrote:
but, in TB:
INBOX: Drafts: Sent: Trash: INBOX/foobar
I created only "foobar" in TB, the other ones are created automatically. If i subscribe folders, I see something like "INBOX^foobar"
Why is there even INBOX/ or INBOX^ prefix at all? Did you intentionally create it under INBOX, or do you have namespace prefix in TB settings set to INBOX/ or something?
People rarely use other separators than '.' and '/'. I guess it's possible that TB just doesn't like '^'. What TB version are you testing with?
Anyway, you could test that Dovecot does nothing wrong by talking IMAP protocol:
telnet localhost 143 a login user pass b namespace c list "" * d lsub "" *
If the separators are all '^' there, then it's all ok from Dovecot's side.
on 3/22/2011 3:52 PM Denny Schierz spake the following:
hi Timo,
Am 22.03.2011 um 17:48 schrieb Timo Sirainen:
You mean recreating the profile didn't work, or you can't / don't want to recreate it?
its more strange, than i thought. I created a new user and created some folders with TB:
On the filesystem I see:
total 46 drwx------ 5 vmail vmail 7 Mar 22 17:05 .Drafts drwx------ 5 vmail vmail 7 Mar 22 17:05 .INBOX.foobar drwx------ 5 vmail vmail 6 Mar 22 17:05 .Sent drwx------ 5 vmail vmail 6 Mar 22 17:05 .Spam drwx------ 5 vmail vmail 6 Mar 22 17:05 .Trash drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 cur -rw------- 1 vmail vmail 0 Mar 22 17:05 dovecot-acl-list -rw------- 1 vmail vmail 51 Mar 22 17:05 dovecot-uidlist -rw------- 1 vmail vmail 8 Mar 22 17:05 dovecot-uidvalidity -r--r--r-- 1 vmail vmail 0 Mar 22 17:05 dovecot-uidvalidity.4d88c8c3 -rw-r--r-- 1 vmail vmail 14 Mar 22 17:05 maildirsize drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 new -rw------- 1 vmail vmail 36 Mar 22 17:05 subscriptions drwxr-xr-x 2 vmail vmail 2 Mar 22 17:05 tmp
but, in TB:
INBOX: Drafts: Sent: Trash: INBOX/foobar
I created only "foobar" in TB, the other ones are created automatically. If i subscribe folders, I see something like "INBOX^foobar"
cu denny
You created the foobar folder UNDER the INBOX... That is how it will look when you do it that way... I just tried. Most ppl make their folders under the root of the server, and not under the inbox.
hi,
Am Dienstag, den 22.03.2011, 16:43 -0700 schrieb Scott Silva:
You created the foobar folder UNDER the INBOX... That is how it will look when you do it that way... I just tried. Most ppl make their folders under the root of the server, and not under the inbox.
but why: Evolution, Apple Mail, Ipod, Kmail, Roundcube do it, how it was expected? Only Thunderbird (tested with 3.x unter OSX, Linux and Windows) is the problem (as I know from the studies).
@Timo:
DoveCot seems to be O.K:
b namespace
- NAMESPACE (("" "^")) NIL (("public^" "^")) b OK Namespace completed. c list "" *
- LIST (\HasNoChildren) "^" "Spam"
- LIST (\HasNoChildren) "^" "Sent"
- LIST (\HasNoChildren) "^" "Trash"
- LIST (\HasChildren) "^" "INBOX"
- LIST (\HasNoChildren) "^" "INBOX^foobar"
- LIST (\HasNoChildren) "^" "Drafts"
- LIST (\Noselect \HasChildren) "^" "public" c OK List completed. d lsub "" *
- LSUB () "^" "Sent"
- LSUB () "^" "Drafts"
- LSUB () "^" "Trash"
- LSUB () "^" "Spam"
- LSUB () "^" "INBOX^foobar" d OK Lsub completed. e logout
- BYE Logging out e OK Logout completed. Connection closed by foreign host.
I try a second instance from Dovecot for testing, otherwise the other productive clients maybe get confused.
cu denny
participants (3)
-
Denny Schierz
-
Scott Silva
-
Timo Sirainen