Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Compile problem on CentOS 4.2

2006-03-29 by Enrico Scholz

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.



Enrico

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.