From owner-freebsd-questions Tue Dec 31 5:25: 8 2002 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 3629F37B401 for ; Tue, 31 Dec 2002 05:25:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2640C43E4A for ; Tue, 31 Dec 2002 05:25:06 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBVDP29Y097429 for ; Tue, 31 Dec 2002 13:25:02 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBVDOvde097428 for freebsd-questions@FreeBSD.ORG; Tue, 31 Dec 2002 13:24:57 GMT Date: Tue, 31 Dec 2002 13:24:56 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Problem running newsyslog Message-ID: <20021231132456.GD73141@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20021230173937.G59003-100000@floyd.gnulife.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021230173937.G59003-100000@floyd.gnulife.org> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 30, 2002 at 05:56:10PM -0600, Jamie wrote: > I am trying to get newsyslog running, and for some reason when I run > newsyslog, it skips over my syslog entry. > /home3/jo/mail/SPAM jo.admin 600 3 * * B Two things: Use a colon to separate the user and group names. A dot should still work, but it's deprecated nowadays. Seems that you need at least one of the 'size' or 'when' fields to be other than '*'. If you really want the file to be recycled every hour (which is how frequently newsyslog runs by default), try: /home3/jo/mail/SPAM jo:admin 600 3 * 1 B Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message