[Dovecot] Outlook can't see namespace folders
Hi guys i understand that you can't subscribe to the Prefix names of namespace folders right now with dovecot. But for instance if i user outlook express and it can't see the prefix name then it can't see the subfolders of that "prefix folder" either. So even though it can detect and see the subfolders it won't display them cause it can't see the "parent"
Is there any fix for this? it's also kind of annoying in thunderbird but at least you can still see the subfolders.
TIA James
Here's my config
# /etc/dovecot/dovecot.conf protocols = imap imaps pop3 pop3s log_timestamp = "%Y-%m-%d %H:%M:%S " first_valid_uid = 100 login_user=vmail mail_extra_groups = mail mail_debug = yes pop3_uidl_format = %08Xu%08Xv mail_location = maildir:/home/vmail/domains/%n/Maildir #default_mail_env = maildir:/home/vmail/domains/%n/Maildir
auth default {
mechanisms = plain
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
}
# maildir namespace private { separator = / prefix = location = maildir:/home/vmail/domains/%n/Maildir inbox = yes hidden = no } # mbox namespace private { separator = / prefix = "Mbox/" location = mbox:/home/vmail/domains/%n/Mbox inbox = no hidden = no }
#public spam folder namespace public { separator = / prefix = /Spam/ location = maildir:/home/vmail/domains/Spam/Maildir/ hidden = no }
ssl_disable = no ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem ssl_verify_client_cert = no ssl_cipher_list = ALL:!LOW:HIGH:MEDIUM:+SSLv2:RSA
James wrote:
Hi guys i understand that you can't subscribe to the Prefix names of namespace folders right now with dovecot. But for instance if i user outlook express and it can't see the prefix name then it can't see the subfolders of that "prefix folder" either. So even though it can detect and see the subfolders it won't display them cause it can't see the "parent"
Is there any fix for this? it's also kind of annoying in thunderbird but at least you can still see the subfolders.
TIA James
Here's my config
# /etc/dovecot/dovecot.conf protocols = imap imaps pop3 pop3s log_timestamp = "%Y-%m-%d %H:%M:%S " first_valid_uid = 100 login_user=vmail mail_extra_groups = mail mail_debug = yes pop3_uidl_format = %08Xu%08Xv mail_location = maildir:/home/vmail/domains/%n/Maildir #default_mail_env = maildir:/home/vmail/domains/%n/Maildir
auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb ldap { args = /etc/dovecot/dovecot-ldap.conf } }
# maildir namespace private { separator = / prefix = location = maildir:/home/vmail/domains/%n/Maildir inbox = yes hidden = no } # mbox namespace private { separator = / prefix = "Mbox/" location = mbox:/home/vmail/domains/%n/Mbox inbox = no hidden = no }
#public spam folder namespace public { separator = / prefix = /Spam/ location = maildir:/home/vmail/domains/Spam/Maildir/ hidden = no }
ssl_disable = no ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem ssl_verify_client_cert = no ssl_cipher_list = ALL:!LOW:HIGH:MEDIUM:+SSLv2:RSA To clarify for everyone this is regarding Outlook Express The namespaces work fine for regular Outlook
On Fri, 2007-10-05 at 12:12 -0700, James wrote:
Hi guys i understand that you can't subscribe to the Prefix names of namespace folders right now with dovecot. But for instance if i user outlook express and it can't see the prefix name then it can't see the subfolders of that "prefix folder" either. So even though it can detect and see the subfolders it won't display them cause it can't see the "parent"
Is there any fix for this? it's also kind of annoying in thunderbird but at least you can still see the subfolders.
Changed in v1.1: http://hg.dovecot.org/dovecot/rev/0511e301acbc
There's no simple fix for v1.0 though.
On Sat, Oct 27, 2007 at 08:30:57PM +0300, Timo Sirainen wrote:
On Fri, 2007-10-05 at 12:12 -0700, James wrote:
Hi guys i understand that you can't subscribe to the Prefix names of namespace folders right now with dovecot. But for instance if i user outlook express and it can't see the prefix name then it can't see the subfolders of that "prefix folder" either. So even though it can detect and see the subfolders it won't display them cause it can't see the "parent"
Is there any fix for this? it's also kind of annoying in thunderbird but at least you can still see the subfolders.
Changed in v1.1: http://hg.dovecot.org/dovecot/rev/0511e301acbc
There's no simple fix for v1.0 though.
I am glad to see a patch. For 1.0, I was concerned with the same thing, and it turns out that the way our helpdesk was setting up Outlook Express was the same as the workaround I was going to suggest:
Setup a seperate Account/profile in OE, set the mail folder prefix to your namespace prefix, then that seperate account will have an Inbox plus all of the folders in that prefix will be available for subscription and stay there.
Also, as an alternative (not a very good one) I think you can see the folders in the subscribe window and double click to see them, then OE shows the whole tree for just that session until logout.
On Sat, Oct 27, 2007 at 08:30:57PM +0300, Timo Sirainen wrote:
On Fri, 2007-10-05 at 12:12 -0700, James wrote:
Hi guys i understand that you can't subscribe to the Prefix names of namespace folders right now with dovecot. But for instance if i user outlook express and it can't see the prefix name then it can't see the subfolders of that "prefix folder" either. So even though it can detect and see the subfolders it won't display them cause it can't see the "parent"
Is there any fix for this? it's also kind of annoying in thunderbird but at least you can still see the subfolders.
Changed in v1.1: http://hg.dovecot.org/dovecot/rev/0511e301acbc
There's no simple fix for v1.0 though.
I tried this, with b6 and b7 which seem to have the patch, it doesn't seem to work?
sr6v SUBSCRIBE "#shared" sr6v NO [TRYCREATE] Mailbox doesn't exist: #shared
same for #shared/decs. All of my public folders are under #shared/[namespace]/.
On Fri, 2007-11-09 at 14:25 -0500, Adam McDougall wrote:
sr6v SUBSCRIBE "#shared" sr6v NO [TRYCREATE] Mailbox doesn't exist: #shared
same for #shared/decs. All of my public folders are under #shared/[namespace]/.
Well, I didn't think anyone would want that. :) http://hg.dovecot.org/dovecot/rev/f7aea3542cce
On Sat, Nov 10, 2007 at 06:10:49PM +0200, Timo Sirainen wrote:
On Fri, 2007-11-09 at 14:25 -0500, Adam McDougall wrote:
sr6v SUBSCRIBE "#shared" sr6v NO [TRYCREATE] Mailbox doesn't exist: #shared
same for #shared/decs. All of my public folders are under #shared/[namespace]/.
Well, I didn't think anyone would want that. :) http://hg.dovecot.org/dovecot/rev/f7aea3542cce
Thanks, now I can subscribe to #shared, but it still won't let me for #shared/decs. I verified this was new behavior by removing the patch.
On Sat, 2007-11-10 at 11:46 -0500, Adam McDougall wrote:
On Sat, Nov 10, 2007 at 06:10:49PM +0200, Timo Sirainen wrote:
On Fri, 2007-11-09 at 14:25 -0500, Adam McDougall wrote:
sr6v SUBSCRIBE "#shared" sr6v NO [TRYCREATE] Mailbox doesn't exist: #shared
same for #shared/decs. All of my public folders are under #shared/[namespace]/.
Well, I didn't think anyone would want that. :) http://hg.dovecot.org/dovecot/rev/f7aea3542cce
Thanks, now I can subscribe to #shared, but it still won't let me for #shared/decs. I verified this was new behavior by removing the patch.
Oh? Works with me. What kind of configuration does that namespace have?
x namespace
- NAMESPACE (("" "/")("#shared/decs/" "/")) NIL NIL x OK Namespace completed. x subscribe #shared x OK Subscribe completed. x subscribe #shared/decs x OK Subscribe completed.
On Sat, Nov 10, 2007 at 07:21:21PM +0200, Timo Sirainen wrote:
On Sat, 2007-11-10 at 11:46 -0500, Adam McDougall wrote:
On Sat, Nov 10, 2007 at 06:10:49PM +0200, Timo Sirainen wrote:
On Fri, 2007-11-09 at 14:25 -0500, Adam McDougall wrote:
sr6v SUBSCRIBE "#shared" sr6v NO [TRYCREATE] Mailbox doesn't exist: #shared
same for #shared/decs. All of my public folders are under #shared/[namespace]/.
Well, I didn't think anyone would want that. :) http://hg.dovecot.org/dovecot/rev/f7aea3542cce
Thanks, now I can subscribe to #shared, but it still won't let me for #shared/decs. I verified this was new behavior by removing the patch.
Oh? Works with me. What kind of configuration does that namespace have?
x namespace
- NAMESPACE (("" "/")("#shared/decs/" "/")) NIL NIL x OK Namespace completed. x subscribe #shared x OK Subscribe completed. x subscribe #shared/decs x OK Subscribe completed.
My NAMESPACE reply looks a little different (NILs in different places) amd I tried unloading the acl plugin just to rule it out.
? OK Logged in. x namespace
- NAMESPACE (("" "/")) NIL (("#shared/decs/" "/")) x OK Namespace completed. x subscribe #shared x OK Subscribe completed. x subscribe #shared/decs x NO [TRYCREATE] Mailbox doesn't exist: #shared/decs x subscribe #shared/decs/unixadmin x OK Subscribe completed.
Does this have anything to do with it?: x LIST "" "#shared/" x OK List completed. x LIST "" "#shared/decs/"
- LIST (\Noselect \HasChildren) "/" "#shared/decs/" x OK List completed.
I tried making a brand new namespace called #shared/empty/ drwxrwx--- 2 postlocal postlocal 4096 Nov 10 13:36 empty but it behaved the same.
# 1.1.beta7: /usr/local/etc/dovecot.conf ssl_cert_file: /usr/local/etc/apache2/ssl/mail.pem ssl_key_file: /usr/local/etc/apache2/ssl/mail.pem disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_extra_groups: postlocal mail_location: maildir:%h/Maildir:CONTROL=%h/Maildir/dovecot/private/control:INDEX=%h/Maildir/dovecot/%q/private/indexes mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes mail_plugins: acl mail_log_max_lines_per_sec: 0 imap_client_workarounds: delay-newmail netscape-eoh tb-extra-mailbox-sep namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: mail/ hidden: yes subscriptions: yes namespace: type: private separator: / prefix: Mail/ hidden: yes subscriptions: yes namespace: type: public separator: / prefix: #shared/decs/ location: maildir:/egr/mail/shared/decs:CONTROL=%h/Maildir/dovecot/public/control/decs:INDEX=%h/Maildir/dovecot/%q/public/indexes/decs list: yes subscriptions: yes namespace: type: public separator: / prefix: #shared/empty/ location: maildir:/egr/mail/shared/decs:CONTROL=%h/Maildir/dovecot/public/control/empty:INDEX=%h/Maildir/dovecot/%q/public/indexes/empty list: yes subscriptions: yes auth default: passdb: driver: pam userdb: driver: passwd args: system_user= socket: type: listen client: path: /var/spool/postfix/private/auth mode: 384 user: postfix group: postfix plugin: acl: vfile:/usr/local/etc/dovecot-acls:cache_secs=10
On 10.11.2007, at 20.39, Adam McDougall wrote:
x subscribe #shared/decs x NO [TRYCREATE] Mailbox doesn't exist: #shared/decs
Maybe this then: http://hg.dovecot.org/dovecot/rev/ba74249c79f0
On Sat, Nov 10, 2007 at 08:55:48PM +0200, Timo Sirainen wrote:
On 10.11.2007, at 20.39, Adam McDougall wrote:
x subscribe #shared/decs x NO [TRYCREATE] Mailbox doesn't exist: #shared/decs
Maybe this then: http://hg.dovecot.org/dovecot/rev/ba74249c79f0
Yep, fantastic, thanks!
participants (3)
-
Adam McDougall
-
James
-
Timo Sirainen