From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 06:05:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF13037B40D for ; Fri, 4 Jul 2003 06:05:00 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B6043FE1 for ; Fri, 4 Jul 2003 06:04:59 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h64D4iZj071715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jul 2003 14:04:51 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h64D4i6Q071714; Fri, 4 Jul 2003 14:04:44 +0100 (BST) (envelope-from matthew) Date: Fri, 4 Jul 2003 14:04:44 +0100 From: Matthew Seaman To: "Dave [Hawk-Systems]" Message-ID: <20030704130444.GC69059@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Dave [Hawk-Systems]" , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+xNpyl7Qekk2NvDX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.2 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: daily /security run output via periodic - stopped X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 13:05:01 -0000 --+xNpyl7Qekk2NvDX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 04, 2003 at 08:48:24AM -0400, Dave [Hawk-Systems] wrote: > >we have 4 servers running, each sends daily and security run output emai= l each > >day around 3am. Recently one of them stopped sending these messages. In > >looking at the periodic.conf and associated directories, I don't see any > >problems or changes that I am aware of. There are no enrties in cron fo= r it, > >but then again there aren't any entries in the functional servers either. > > > >Is it possible we have disabled something by accident which could stop t= his one > >server from sending these messages? >=20 > double checked everything just after sending... >=20 > periodic.conf was missing. (doh!) =2E.. but that's OK, as the periodic system will just run using the default settings from /etc/defaults/periodic.conf -- note the instructions in that file: /etc/periodic.conf should contain only those entries you want to be different to the default values. As for how the periodic scripts get run each night: they are run as cron jobs, but out of the system crontab in /etc/crontab. That's a slightly different animal which lives in a parallel universe to the normal per-user crontabs, which are stored in /var/cron/tabs and generally accessed via crontab(1). As for the missing mail, did you check the client mailqueue? # mailq -Ac or look at the contents of /var/spool/clientmqueue. If the messages are held up there, you should investigate what happened to the sendmail msp queue-runner process which the system will run by default so long as 'sendmail_enable=3DYES' or 'sendmail_enable=3DNO' is in /etc/rc.conf. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --+xNpyl7Qekk2NvDX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/BXtsdtESqEQa7a0RAgWfAJ99/ih76lYqVP/QqCOZNFfdgBpLSgCcCun9 1xvx1LfmfsRXjvmZiT3QrxI= =i3DJ -----END PGP SIGNATURE----- --+xNpyl7Qekk2NvDX--