Itamar Reis Peixoto wrote:
currently vpopmail user and vchkpw group's need's to be created before
running ./configure.

this is not good for packaging it as rpm, because in rpm the user and
group are created in %post section (after vpopmail installed)

#define VPOPMAILGID 503
#define VPOPMAILUID 507

any chance to improve this with automatic detection uid and gid using
getpwnam function ?

Could the user and group be created in the %pre section so it is done before the files are dropped into the system?



Reply via email to