maillists@... ("Kai Schaetzl") writes:
> from /etc/init.d/greylist:
> user="root"
> daemon --user=$user /usr/local/bin/milter-greylist $OPTIONS
>
> from greylist.conf:
> user="smmsp"
>
> ps says it's indeed running as user smmsp. However, when I change to
> user="smmsp" in the init file I get the supplementary groups error. Also,
> usually the startup parameters take precedence over greylist.conf.
>
> Isn't that weird?
No; 'daemon --user=smmsp milter-greylist ...' executes something like
| sudo smmsp -c "milter-greylist ..."
Therefore, milter-greylist will be started as non-privileged user 'smmsp'
who does not have permissions to execute initgroups().
FWIW, Fedora Extras has a milter-greylist package which should be easy
to adapt for CentOS.
EnricoMessage
Re: [milter-greylist] Re: Compile problem on CentOS 4.2
2006-03-29 by Enrico Scholz