[Dovecot] Problem with LSUB and public namespace
Hi,
I'd like to know if the following is normal. I've a setup with 2 namespace (private/public) where each user can use subscriptions.
This problem is triggered by claws-mail, which uses LSUB to get subscribed mailboxes:
- OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. . login user password . namespace
- NAMESPACE (("INBOX." ".")) NIL (("public." ".")) . OK Namespace completed. . subscribe public.Admin . OK Subscribe completed. . LSUB "" "%"
- LSUB () "." "INBOX" . OK Lsub completed.
LSUB does not return "public" as namespace :-(
Is this a bug in dovecot, a bug in Claws mail, or a misconfiguration of my dovecot server? I can provide more info if needed.
Cheers,
Julien Danjou // ᐰ <julien@danjou.info> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // There is nothing under this line.
At 1254487668 time_t, Timo Sirainen wrote:
On Oct 2, 2009, at 8:44 AM, Julien Danjou wrote:
. LSUB "" "%"
- LSUB () "." "INBOX" . OK Lsub completed.
LSUB does not return "public" as namespace :-(
LSUB returns only subscribed mailboxes. Is anything subscribed under public? dovecot -n output could also be useful.
You may have missed it, but in my telnet example I did: . subscribe public.Admin . OK Subscribe completed.
But anyway, I've a bunch of public.* subscribed, yes, I do confirm.
dovecot -n follows:
# 1.2.5: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-686 i686 Debian 5.0.2 log_timestamp: %Y-%m-%d %H:%M:%S protocols: imaps ssl_cert_file: /etc/dovecot/imapd.pem ssl_key_file: /etc/dovecot/imapd.pem login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_privileged_group: mail mbox_write_locks: fcntl dotlock namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes namespace: type: public separator: . prefix: public. location: maildir:/home/Maildir-shared:CONTROL=~/Maildir/public:INDEX=~/Maildir/public list: yes subscriptions: yes auth default: passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 432 group: 1001
-- Julien Danjou // ᐰ <julien@danjou.info> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // Tomorrow I was nothing, yesterday I'll be.
On Oct 2, 2009, at 9:13 AM, Julien Danjou wrote:
At 1254487668 time_t, Timo Sirainen wrote:
On Oct 2, 2009, at 8:44 AM, Julien Danjou wrote:
. LSUB "" "%"
- LSUB () "." "INBOX" . OK Lsub completed.
LSUB does not return "public" as namespace :-(
LSUB returns only subscribed mailboxes. Is anything subscribed under public? dovecot -n output could also be useful.
You may have missed it, but in my telnet example I did: . subscribe public.Admin . OK Subscribe completed.
OK, I'll get that bug fixed. Anyway, you could already solve it by
doing something like:
namespace private { prefix = list = no }
i.e. get an empty namespace first where all subscriptions go, then set
subscriptions=no to all other namespaces.
participants (2)
-
Julien Danjou
-
Timo Sirainen