[Dovecot] Problem in sharing mailboxes across users

Rampage atomikramp at email.it
Wed Feb 10 12:11:19 EET 2010


Timo Sirainen ha scritto:
> On Tue, 2010-02-09 at 16:44 +0100, Rampage wrote:
>   
>> i mean when i go to "manage subscriptions" i can see the shared folder 
>> from the other users as "shared/user at domain/sharedfoldername" but since 
>> only "sharedfoldername" is present i cant subscribe to it.
>>     
>
> I don't really understand.
>
> 1) Show your dovecot -n output
>
> 2) Talk IMAP protocol directly. What does LIST command show?
> http://wiki.dovecot.org/TestInstallation
>
>   
Hi, thnx for your reply.
here is my dovecot -n output

-------------------
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-6-686 i686 Debian 4.0 ext3
log_path: /var/log/dovecot.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s
ssl: no
ssl_cert_file: /etc/ssl/easymail.crt
ssl_key_file: /etc/ssl/easymail.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_greeting: EasyM at IL ready.
mail_location: maildir:/var/utenti/%d/%n/Maildir
mmap_disable: yes
lock_method: dotlock
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): acl imap_acl
mail_plugins(imap): acl imap_acl
mail_plugins(pop3):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): oe-ns-eoh
namespace:
  type: private
  separator: /
  prefix: INBOX/
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%u/
  location: 
maildir:/var/utenti/%d/%%n/Maildir:INDEX=/var/utenti/%d/%n/Maildir/shared/%%u
  list: children
lda:
  auth_socket_path: /var/run/dovecot/auth-master
  mail_plugins: cmusieve  acl
auth default:
  mechanisms: login plain
  verbose: yes
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  passdb:
    driver: pam
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: static
    args: uid=65000 gid=65000 mail=maildir:/var/utenti/ADS/%Lu/Maildir
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
plugin:
  acl: vfile
  acl_shared_dict: file:/var/utenti/%d/shared-mailboxes.db

-------------------

and here is what happens when i list the imap folders via telnet

-------------
b list "" *
* LIST (\HasChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "INBOX/Trash"
* LIST (\Noselect \HasChildren) "/" "shared/cattivo at ciccio.it"
* LIST (\HasNoChildren) "/" "shared/cattivo at ciccio.it/bumbum"
b OK List completed.
c logout
* BYE Logging out
c OK Logout completed.
Connection closed by foreign host.
-------------

as you can see the shared folder is listed but something seems to be 
wrong in the path.

thnx in advice for your help.

Best regards
Francesco.


More information about the dovecot mailing list