Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2002 13:24:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem running newsyslog
Message-ID:  <20021231132456.GD73141@happy-idiot-talk.infracaninophi>
In-Reply-To: <20021230173937.G59003-100000@floyd.gnulife.org>
References:  <20021230173937.G59003-100000@floyd.gnulife.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021231132456.GD73141>