Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RC keywords question



On Mon, Dec 05, 2005 at 08:26:58PM +0300, Yar Tikhiy wrote:
> > > 
> > > "BEFORE: mail" acts for most intents and purposes like all mail
> > > scripts contained "REQUIRE: dspam" so dspam does not depend on
> > > LOGIN.  As a rule, there's no point in depending on syslogd, just
> > 
> > I think it's better if I make sure dspam starts before its potential
> > consumers that the other way around; and this for one reason: I know
> > that my port's consumers are mail servers, but making each mail server
> > OPTIONally depend of each content filter is obviously unfeasible (of
> > course I counld ask the user to modify his server's rc script by hand).
> > Please correct me if I'm wrong.
> 
> IMHO this is a very good general point.  A mail server can live
> without a content filter while the latter is meaningless without
> the former.  So the filter's rc.d script should use `BEFORE: mail'.

Just a small clarification: I don't mean that the filter must start
before mail.  I mean that it is the filter's rc.d script that should
contain the information for rcorder if any.  OTOH, the mail rc.d script
need not care about this issue at all.

-- 
Yar