[Dovecot] works | Re: Getting default uid/gid of users via socket for virtual user support for sendmail

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Aug 9 16:10:08 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 1 Aug 2013, Timo Sirainen wrote:

> You can't get the mail_uid/gid/home, because they really don't belong to auth process.. But what you could do with v2.2 is:
>
> userdb {
>  driver = ldap
>  args = ..
>  default_fields = uid=1234 gid=1234 home=/home/user/%u
> }

works like charm, thanks!

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUgTqMF3r2wJMiz2NAQK1PwgAh77/ZC1PTh1qReOQ7yNr0uGswzEmw2aM
dNJTdbAXnWvxUPXGl9nmmYs/GahbyyJbD42/MM2Hpl+w95vIgWOhQxkPp2QyzJFt
T+MfHvLKcg6vDvmeSBUGTL08m9tGyb4EXMROh1ONLW4bAhPHtN8qJrgR4vKTTOqe
Ri75cATI3LbiWPS53ub+9s+DAvCFvoakSdl08BIOJmzzVClEF0iis9AnRpOY9a4p
7y2P6DG0nGY/MvFSXnpu0wP0E3IGqQm9jFD1d7aXgznkPr5lyHFkLXe3xkSmHV0M
nGBRf3WV4WPHyWVPsjZNr1h3Xcl+CzXIQImadZt/WZF41UGUz2GJbQ==
=suGe
-----END PGP SIGNATURE-----


More information about the dovecot mailing list