[Dovecot] Public dovecot namespace visible only to some users

Joachim Breitner mail at joachim-breitner.de
Thu Oct 17 21:20:27 EEST 2013


Hi Steffen,

Am Donnerstag, den 17.10.2013, 09:25 +0200 schrieb Steffen Kaiser:
> On Mon, 14 Oct 2013, Joachim Breitner wrote:
> > of "namespace feeds", and add "userdb_namespace/feeds/list=yes" to the
> > passwd file, but the latter did not seem to have any effect.
> 
> you use a static userdb, so the setting is not read from the passwd file. 
> The file is consulted for password only per your config.

that was it. After changing userdb to:
        
        userdb {
          args = /etc/vhosts/dovecot-userdb
          default_fields = uid=vhost gid=vhost home=/var/vhosts/%d/%n
          driver = passwd-file
        }

I was able to selectively enable the namespace
in /etc/vhosts/dovecot-userdb using

        username:{MD5}password::::::userdb_namespace/feeds/list=yes

(It has "list=no" set in the namespace configuration.)

Thanks!
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20131017/a698a922/attachment.bin>


More information about the dovecot mailing list