Yahoo Groups archive

Milter-greylist

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

Message

Re: {Disarmed} [milter-greylist] --with-user

2007-02-06 by Kai Schaetzl

Nerijus Baliunas wrote on Tue, 6 Feb 2007 17:19:42 +0200:

> Now a problem: --with-user=smmsp sets user="smmsp" in rc-redhat.sh,
> and then "/etc/rc.d/milter-greylist start" does not start with an error in the log:
> milter-greylist: /usr/bin/milter-greylist: cannot change supplementary groups: Operation not permitted

I think the reason for this is that the command line in rc-redhat.sh actually 
tries to hand the user to the daemon command and not to milter-greylist:

OPTIONS="-P $pidfile -p $socket"
daemon --user=$user /usr/local/bin/milter-greylist $OPTIONS

change to:

OPTIONS="-u $user -P $pidfile -p $socket"
daemon /usr/local/bin/milter-greylist $OPTIONS

(that's how it works here since long on RH systems)

or just start without OPTIONS and set this in the config file.

Emmanuel, I don't have files from cvs. If you would accept corrected files from 
the latest release tarball (3.1.4) as a whole I could send you a
corrected rc-suse.sh.in and rc-redhat.sh.in

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.