creating a sysv script

Craig White craigwhite at azapple.com
Sun Jan 30 00:25:24 UTC 2005


On Sat, 2005-01-29 at 16:28 -0600, micheal wrote:
> On Fri, 2005-01-28 at 08:47 -0700, Craig White wrote:
> > On Fri, 2005-01-28 at 08:46 -0500, Scot L. Harris wrote:
> > > On Fri, 2005-01-28 at 02:51, Paul Howarth wrote:
> > > 
> > > > 
> > > > It appears from this that your milter-greylist properly daemonizes
> > > > itself (i.e. it detaches itself from the terminal), unlike the milter
> > > > Craig is trying to use. So I expect this script won't work for him.
> > > > 
> > > > It might actually be easier to patch the (perl) milter to do this, in
> > > > much the same way as the SPF milter does at
> > > > http://spf.pobox.com/sendmail-milter-spf-1.41.pl
> > > > 
> > > > (the relevant code is near the bottom of the file)
> > > 
> > > I originally suggested that he take a look at the milter-greylist
> > > package to see how it daemonizes the process.  
> > > 
> > > Or alternatively use milter-greylist as I think that is the
> > > functionality he is trying to add to the system.
> > ----
> > I must have missed your suggestion about looking at milter-greylist
> > package - sometimes can't see the forest for the trees.
> > 
> > Thanks for you help - I'm heading down that path now that I see the
> > light.
> > 
> > I'll follow up over the weekend
> > 
> > Craig
> > 
> 
> 
> Just a question, Would calling the milter script from /etc/inittab be a
> viable solution?
----
not in my book when there is a provided method in the initscripts for
sysV - heck, I could just as easily start it up in rc.local.

Craig




More information about the users mailing list