Have a look at the attached dialog. It shows the folder "shared/a...@db.org/Archive" not being SELECT-able until after it's been mentioned in a LIST response.

This can't possibly be right, can it?


        Bob
* OK [....] Dovecot ready.
0 LOGIN d...@db.org d
0 OK [....] Logged in
1 SELECT "shared/a...@db.org/Archive"
1 NO Mailbox doesn't exist: shared/a...@db.org/Archive
2 LIST "shared/a...@db.org/" "*"
* LIST (\Noselect \HasChildren) "/" "shared/a...@db.org/"
* LIST (\Noselect \HasNoChildren) "/" "shared/a...@db.org/Archive"
* LIST (\HasNoChildren) "/" "shared/a...@db.org/Archive"
2 OK List completed.
3 SELECT "shared/a...@db.org/Archive"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags 
permitted.
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1270933316] UIDs valid
* OK [UIDNEXT 1] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
3 OK [READ-WRITE] Select completed.
4 LOGOUT
* BYE Logging out
4 OK Logout completed.

# 2.0.beta4: /usr/local/mailsys/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-18-generic i686 Ubuntu lucid (development branch) 
disable_plaintext_auth = no
log_path = /tmp/dovecot.log
namespace {
  hidden = no
  inbox = yes
  list = yes
  location = maildir:~/Maildir:LAYOUT=fs
  prefix = 
  separator = /
  subscriptions = yes
  type = private
}
namespace {
  hidden = no
  inbox = no
  list = children
  location = maildir:%%h/Maildir:LAYOUT=fs:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /usr/local/mailsys/etc/dovecot/db.conf
  driver = sql
}
protocols = imap
service auth {
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = root
  }
}
ssl = no
userdb {
  args = /usr/local/mailsys/etc/dovecot/db.conf
  driver = sql
}

Reply via email to