bug-cfengine
[Top][All Lists]
Advanced

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

Cfengine ate my mail


From: Andrew Stribblehill
Subject: Cfengine ate my mail
Date: Tue, 16 Aug 2005 17:26:34 +0100
User-agent: Mutt/1.5.9i

We run Cfengine across all of our servers and workstations in Durham.
One of the things it does is control the sendmail.cf file and HUP
sendmail if it changes.

To determine whether or not a host is a mail exchanger, we have:

groups:
  mxes = ( address@hidden )

However, we lost access to NIS (the core router blew up) so our MXes
forgot that's what they were and reconfigured themselves, presumably
caching the negative response in nscd. Net result: we bounced a load
of legitemate mail.

I believe that Cfengine could do better than this, by checking the
return code of setnetgrent() and (conditionally, perhaps) aborting if
it can't find the netgroup.

What do other people think?

-- 
VIKING NORTH UTSIRE
WEST 3 OR 4 BACKING SOUTH 5 TO 7. OCCASIONAL RAIN. GOOD BECOMING
MODERATE OR POOR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]