Comment 11 for bug 378955

Revision history for this message
Stas Sușcov (sushkov) wrote :

I did a new build, here are the changes in src/global/mail_params.c
---
81d80
< /* int var_command_maxtime;
258d256
< int var_command_maxtime;
270d267
< char *var_scache_service;
389,396c386
< struct group *grp, grp_b;
< long int initlen = sysconf(_SC_GETGR_R_SIZE_MAX);
< size_t len;
< if (initlen == -1)
< /* Default initial length. */
< len = 1024;
< else
< len = (size_t) initlen;
---
> struct group *grp;
398,400c388
< char *grp_buf = malloc(len);
<
< if ((NULL == grp_buf) || (getgrnam_r(var_sgid_group, &grp_b, grp_buf, len, &grp) != 0))
---
> if ((grp = getgrnam(var_sgid_group)) == 0)
419d406
<
---

I dput'ed the packages into nexenta repo, can you please review those?

Packages can also be tested from here:
http://kyle.utcluj.ro/postfix/