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

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Aug 1 17:52:20 EEST 2013


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

Hi,

I'm trying to make my life easier with sendmail and virtual users. For 
that I'd like to pass sendmail the home directory and uid/gid for each 
user. The user data is storred in a LDAP,& I retrieve it from the 
auth-userdb socket fine.

If I add uid / gid to each user, I get them via that socket as well, but 
is there a way I get the default uid/gid? I mean, without calling an 
external program, such as doveadm. There is an "initialize" phase, so the 
default information is retrieved just once per lifetime of the demon, but 
each time the sendmail binary is invoked.

Kind regards,

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

iQEVAwUBUfp2JF3r2wJMiz2NAQL61Af+MuF1BTwaX+Tm+rOWe+smcVUzRmMYZdtL
J08wDGNB2EyQ9a0zXwZleO/X3Jvaqr8HSHaC6oTzliS25yqPT4AYG0VVswZoyDTg
hggyS9kVse2R1koLZKPAM1EatTmpTsKfUKDjsB3cxbYsBU5NYMJY+u4YATPTl7ui
46K4YmeL4xkKirRXc7j0fIMxdXttuD9zPq20qJ0p41HK2W0ECVHeQpUahozWY45h
DREbwdZBZe9PeZNbfOYTLWnxPi1/FK/AX20QH3y3uxEhgMDfYAUHNwAleSCpack5
JEuVYwTPchxsH6uibk62qIsK/uWO3vZM0Zj18S0BBWDNvPhg0Nz92w==
=abqh
-----END PGP SIGNATURE-----


More information about the dovecot mailing list