Yahoo Groups archive

Milter-greylist

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

Message

Re: Compile problem on CentOS 4.2

2006-03-28 by Kai Schaetzl

Kai Schaetzl wrote on Wed, 22 Mar 2006 00:51:38 +0100:

> /usr/local/bin/milter-greylist: cannot change supplementary groups: 
> Operation not permitted 
>  
> My first chosen user daemon indeed has several secondary groups, so I 
> changed the user to smmsp. Still that error. group smmsp has a password. I 
> changed to user mail, that user's primary group doesn't have a password 
> and it doesn't have secondary groups. Still no go. I donated it a real 
> login shell. Still no go. What's causing this?

I wanted to revisit this problem today and fix it. milter-greylist had been 
running as root for the last days. At least that is what I thought.

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?

Kai

-- 
Kai Sch\ufffdtzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com

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.