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-30 by Johann Klasek

On Sat, Jul 30, 2011 at 06:54:10PM +0200, manu@... wrote:
> Johann Klasek <johann@...> wrote:
> 
> > 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 ...
> 
> milter-greylist already has a -u. Perhaps there woule be merit de
> refactor the script and dump the call to daemon?

Because of this option I would recommend not to use the "daemon" variant, we
can not rely on its portability (especially in context for "generic linux").
At the moment I have no idea of a situation where "daemon --user"
has any advantage over "milter-greylist -u" ...

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.