Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Wiki error in Linux startup script?

2011-07-28 by Johann Klasek

On Fri, Jul 15, 2011 at 08:22:57AM +0200, manu@... wrote:
> compconsultant <Compconsultant@...> wrote:
> 
> > The line that says:
> > daemon /usr/local/bin/milter-greylist -u $user $OPTIONS
> > 
> > Should be changed to:
> > daemon --user=$user /usr/local/bin/milter-greylist $OPTIONS
> 
> SInce I do not run any Linux installation, I cannot check this change
> does not break on other systems. Someone can confirm this is okay on a
> non-CentOS Linux distribution?

At least for Redhat based systems (Fedora, CentOS, RHEL) this should be
ok. I'm not sure if the daemon function (a shell function from the RC
environment) is generally available for different distribution.
Therefore "daemon" is not that "generic" someone might expect. For a
generic script a special "functionality" should be placed better into
the application (-u from milter-greylist) instead to rely on --user for
every "daemon"-function implemention ...


Johann E. K.

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.