From owner-freebsd-questions Tue Nov 14 10:36:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [148.81.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 3D5F037B479 for ; Tue, 14 Nov 2000 10:36:13 -0800 (PST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id 8EF5F7D42D; Tue, 14 Nov 2000 19:36:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 75BDD2E78E; Tue, 14 Nov 2000 19:36:07 +0100 (CET) Date: Tue, 14 Nov 2000 19:36:07 +0100 (CET) From: Grzegorz Czaplinski To: cjclark@alum.mit.edu Cc: Len Conrad , freebsd-questions@FreeBSD.ORG Subject: Re: newsyslog unhappy In-Reply-To: <20001113231603.C75251@149.211.6.64.reflexcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Nov 2000, Crist J . Clark wrote: > On Mon, Nov 13, 2000 at 04:16:42PM +0100, Len Conrad wrote: > > I'd like to rotate my maillogs at 24:00, but leaving the > > default-as-installed settings which apparently are as I desired (24 > > rotation), one machine rotates at 22:00 and another rotates at 19:00 > > which, well, won't hack it for us. > > > > So I thought I'd stick in my own settings, but it looks like I'm > > having "typical fun with Unix man pages and tick marks". > > > > I get this mail, every hour, which is causing my attitude to be also malformed: > > > > newsyslog: malformed at: > > /var/log/maillog 664 365 * 24@`T000000' Z > > Lose the quotes. Actually, if you are aiming to rotate the log > everyday at midnight, all you need is, > > /var/log/maillog 664 365 * @T00 Z > > -- > Crist J. Clark cjclark@alum.mit.edu > Hello! I had similar problem on my box. Fixing $D0 in the " when " field will help for sure. So try: /var/log/maillog 664 365 * $D0 Z Anyway have a look at man 8 newsyslog Best regards Grzegorz Czaplinski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message