[Dovecot] listing available subscriptions - shared mailboxes

Hendrik Pahl h.pahl at lw-systems.de
Wed Oct 28 14:51:51 EET 2009


here you are:
> 1) Show dovecot -n output
# 1.2.4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.27.19-5-pae i686 SUSE Linux Enterprise Server 11 (i586) ext3
protocols: imap pop3 imaps managesieve
ssl_cert_file: /etc/ssl/server.crt
ssl_key_file: /etc/ssl/server.key
disable_plaintext_auth: no
login_dir: /usr/local/stow/dovecot-1.2.4/var/run/dovecot/login
login_executable(default):
/usr/local/stow/dovecot-1.2.4/libexec/dovecot/imap-login
login_executable(imap):
/usr/local/stow/dovecot-1.2.4/libexec/dovecot/imap-login
login_executable(pop3):
/usr/local/stow/dovecot-1.2.4/libexec/dovecot/pop3-login
login_executable(managesieve):
/usr/local/stow/dovecot-1.2.4/libexec/dovecot/managesieve-login
mail_max_userip_connections(default): 150
mail_max_userip_connections(imap): 150
mail_max_userip_connections(pop3): 10
mail_max_userip_connections(managesieve): 10
mail_location: maildir:/var/spool/imap/%n:INDEX=%h/Maildir/shared/%%u
mail_executable(default): /usr/local/stow/dovecot-1.2.4/libexec/dovecot/imap
mail_executable(imap): /usr/local/stow/dovecot-1.2.4/libexec/dovecot/imap
mail_executable(pop3): /usr/local/stow/dovecot-1.2.4/libexec/dovecot/pop3
mail_executable(managesieve):
/usr/local/stow/dovecot-1.2.4/libexec/dovecot/managesieve
mail_plugins(default): acl imap_acl
mail_plugins(imap): acl imap_acl
mail_plugins(pop3):
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/local/stow/dovecot-1.2.4/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/stow/dovecot-1.2.4/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/stow/dovecot-1.2.4/lib/dovecot/pop3
mail_plugin_dir(managesieve):
/usr/local/stow/dovecot-1.2.4/lib/dovecot/managesieve
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%n
  location: maildir:%%h:INDEX=~/shared/%%n
  list: children
lda:
  mail_plugins: sieve acl
  postmaster_address: postmaster at badiburg.de
auth default:
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  socket:
    type: listen
    master:
      path: /usr/local/stow/dovecot-1.2.4/var/run/dovecot/auth-master
      mode: 384
      user: imap
plugin:
  quota: maildir:User quota
  quota_rule: *:storage=100MB
  sieve: /var/lib/sieve/%n.sieve
  acl: vfile
  acl_anyone: allow
  acl_shared_dict: file:/var/lib/dovecot/shared-mailboxes.db



>
> 2) Show the IMAP traffic of the LIST and LSUB commands' output. You
> could also do it manually:
list:
<snip>
* LIST (\Noselect) "/" "shared/ed"
* LIST (\HasChildren) "/" "shared/edv"
* LIST (\HasNoChildren) "/" "shared/edvINBOX"
</snip>
reduced output to where the magic happens. two appereances which are
totally senseless to me.


lsub:
<snip>
* LSUB () "/" "shared/edvINBOX"
* LSUB () "/" "shared/edv"
</snip>

also reduced.

hth,

hendrik






-- 
LWsystems GmbH & Co. KG  ++  http://www.lw-systems.de/impressum
Tel: +49 (0)5403 / 5556  ++  Fax: +49 (0)5403 / 7 95 89 97

Ihr Spezialist für Linux, Open Source & IT-Sicherheit

###
###  LWsystems veranstaltet den LINUX SOLUTION DAY 2009
###  29. Oktober 2009 ab 13.30 Uhr in Osnabrück
###  Alle Details und Agenda unter: http://www.linux-solution-day.de
###  
###  Gleich anmelden: mailto:info at linux-solution-day.de?subject=Anmeldung
###

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

LWsystems GmbH & Co. KG
Sitz der Gesellschaft: Tegelerweg 11, 49186 Bad Iburg
Telefon +49 (0)5403 5556
Telefax +49 (0)5403 7958997
Handelsregister: Amtsgericht Osnabrück, HRA 110668
USt.-ID-Nr. DE23852211

Persönlich haftende Gesellschafterin: LWsystems Verwaltungs GmbH
Sitz der Gesellschaft: Tegelerweg 11, 49186 Bad Iburg
Handelsregister: Amtsgericht Osnabrück, HRB 111163

Geschäftsführer:
Dipl.-Ing. Ansgar H. Licher, Bad Iburg
Dipl.-Ing. Martin Werthmöller, Ibbenbüren 

Für weitere Firmendetails zu LWsystems siehe / 
For further company details please look at:
http://www.lw-systems.de/impressum

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20091028/6b664ebd/attachment-0001.bin 


More information about the dovecot mailing list