Re: [Dovecot] namespace problem / 1.1beta11
Hi Timo,
I think I've hit a separator bug:
This is namespace query of dovecot and source server:
---snip---
- OK Dovecot ready. 1 login ... 1 OK Logged in. 2 NAMESPACE
- NAMESPACE (("INBOX/" ".")) NIL NIL 2 OK Namespace completed. 3 logout
- BYE Logging out 3 OK Logout completed. Connection closed by foreign host.
Escape character is '^]'.
- OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=NTLM AUTH=SRP AUTH=OTP AUTH=PASSDSS-3DES-1 SASL-IR] Cyrus IMAP4 v2.3.8 server ready 1 login ... 1 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in 2 NAMESPACE
- NAMESPACE (("INBOX/" "/")) (("user/" "/")) (("" "/")) 2 OK Completed 3 logout
- BYE LOGOUT received
---snip---
So Dovecot is stating Namespace separator is ".". But my dovecot -n namespace section shows:
namespace: type: private separator: / prefix: INBOX/ inbox: yes list: yes subscriptions: yes
According to this I've set separator to "/". And this is the problem. I think problem arised somewhere between beta9 and beta11, as it worked before... The separator in imapsync was for both "/" (--sep1 /, --sep2 /), I just played with all possibilities...
Well, never mind if v1.2 or v2.0, as long as LMTP makes it in ;) Anyway, we can provide some good stress testing in such an environment...
Regards and for all Merry Christmas and a happy new year! Sebastian
----- Ursprüngliche Mail ---- Von: Timo Sirainen tss@iki.fi An: ja nein reg9009@yahoo.de CC: dovecot@dovecot.org Gesendet: Freitag, den 21. Dezember 2007, 18:19:31 Uhr Betreff: Re: [Dovecot] namespace problem / 1.1beta11
On Wed, 2007-12-12 at 07:16 +0000, ja nein wrote:
From Folder [INBOX/Trash] .. /home/imapsync/imapsync --host1 ip.of.host.1 --user1 user1 --password1 password --host2 127.0.0.1 --user2 user2 --password2 password --authmech2 LOGIN --regextrans2 s/\./_/g --delete2 --sep1 . --sep2 . --justfolders
Shouldn't those be -sep1 / -sep2 /. Or at least the one that's on Dovecot's side.
Btw., as we work in a load balanced environment, LMTP delivery would be a great feature for upcoming releases, as it would enable people to use multiple frontends of SMTP servers without the need of connecting them to a somewhat shared file system. Forwarding all mail to a SMTP server on the machine running dovecot and doing delivery there isn't the favoured option (at least for us).
Yes, LMTP would be nice, but it pretty much requires v2.0 framework. I'm still not sure if the next version will be v1.2 or v2.0..
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
On Sat, 2007-12-22 at 13:48 +0000, ja nein wrote:
I think I've hit a separator bug:
This is namespace query of dovecot and source server:
- NAMESPACE (("INBOX/" ".")) NIL NIL
Yes, that does look like a bug, but I've no idea how you managed to cause it. I just tested your namespace configuration and it works fine with me. Also there shouldn't even be any way to cause this configuration for a list=yes namespace:
imap(tss)(pid=31754): namespace configuration error: list=yes requires prefix=INBOX/ to end with separator
What do logs show with mail_debug=yes?
participants (3)
-
Charles Marcus
-
ja nein
-
Timo Sirainen