[Dovecot] problem with ~/mail/ namespace
We just changed from UW imap last night and one of our bigger problems right now is that the ~/mail/ compatibility namespace doesn't seem to work. dovecot 2.0.8
Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.warning] imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1 Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.warning] imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~tom2/mail/foo1/folder1
from .subscriptions: ~/mail/foo1/folder1 ~tom2/mail/foo1/folder1
in 10-mail.conf namespace { type = private separator = / prefix = inbox = yes } # for backwards compatibility: namespace { type = private separator = / prefix = mail/ hidden = yes list = no } namespace { type = private separator = / prefix = ~/mail/ hidden = yes list = no } namespace { type = private separator = / prefix = ~%u/mail/ hidden = yes list = no }
What's funny is that it appears to work with a preauthenticated session or by using openssl to connect to port 993.
1 list "~/mail/" *
- LIST (\NoInferiors \UnMarked) "/" "~/mail/testfolder"
- LIST (\NoInferiors \UnMarked) "/" "~/mail/Trash"
- LIST (\NoInferiors \UnMarked) "/" "~/mail/Sent"
- LIST (\Noselect \HasChildren) "/" "~/mail/foo1"
- LIST (\NoInferiors \UnMarked) "/" "~/mail/foo1/folder1"
- LIST (\Noselect \HasChildren) "/" "~/mail/foo2"
- LIST (\NoInferiors \UnMarked) "/" "~/mail/foo2/folder1" 1 OK List completed.
1 select ~/mail/foo2/folder1
- OK [CLOSED] Previous mailbox closed.
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
- 1 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1274985137] UIDs valid
- OK [UIDNEXT 2] Predicted next UID
- OK [HIGHESTMODSEQ 1] Highest 1 OK [READ-WRITE] Select completed.
We're seeing this with at least thunderbird and outlook.
thank you
Tom Lieuallen Oregon State University
On 12/15/2010 01:43 PM, Tom Lieuallen wrote:
Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.warning] imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1
What's funny is that it appears to work with a preauthenticated session or by using openssl to connect to port 993.
Out of curiousity, what does an LSUB command show? 1 LSUB "" "*"
Or an LSUB on on ~mail
I think Thunderbird/Outlook use LSUB rather than LIST unless looking at the subscriptions/updating folder list.
Willie
On 12/15/10 2:34 PM, Willie Gillespie wrote:
On 12/15/2010 01:43 PM, Tom Lieuallen wrote:
Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.warning] imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1
What's funny is that it appears to work with a preauthenticated session or by using openssl to connect to port 993.
Out of curiousity, what does an LSUB command show? 1 LSUB "" "*"
Or an LSUB on on ~mail
I think Thunderbird/Outlook use LSUB rather than LIST unless looking at the subscriptions/updating folder list.
Willie
You're right so far.
1 lsub "" "*" imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1 imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~tom2/mail/foo1/folder1
- LSUB () "/" "testfolder"
- LSUB () "/" "Trash"
- LSUB () "/" "foo1/folder1" 1 OK Lsub completed.
So the question now is what the fix would be. :-)
thank you
Tom Lieuallen
On 15.12.2010, at 22.49, Tom Lieuallen wrote:
1 lsub "" "*" imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1 imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~tom2/mail/foo1/folder1
- LSUB () "/" "testfolder"
- LSUB () "/" "Trash"
- LSUB () "/" "foo1/folder1" 1 OK Lsub completed.
Well, maybe it's a bug to fail these entries, I'll see about fixing it.. You could anyway work around it by modifying the .subscriptions file and removing the ~/mail/ prefix from them.
On 12/15/10 7:49 PM, Timo Sirainen wrote:
On 15.12.2010, at 22.49, Tom Lieuallen wrote:
1 lsub "" "*" imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~/mail/foo1/folder1 imap(tom2): Warning: Subscriptions file /nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: ~tom2/mail/foo1/folder1
- LSUB () "/" "testfolder"
- LSUB () "/" "Trash"
- LSUB () "/" "foo1/folder1" 1 OK Lsub completed.
Well, maybe it's a bug to fail these entries, I'll see about fixing it.. You could anyway work around it by modifying the .subscriptions file and removing the ~/mail/ prefix from them.
I was just following the examples. :-)
I went ahead and removed the ~/ part. 410 users. Thank goodness for sed. :-)
thanks
Toml
participants (3)
-
Timo Sirainen
-
Tom Lieuallen
-
Willie Gillespie