From owner-freebsd-questions@FreeBSD.ORG Tue May 3 17:16:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB411065673 for ; Tue, 3 May 2011 17:16:19 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2A64A8FC1B for ; Tue, 3 May 2011 17:16:18 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-232-63.pitbpa.east.verizon.net [96.236.232.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 1017545D7B for ; Tue, 3 May 2011 12:40:48 -0400 (EDT) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 042C75C1D for ; Tue, 3 May 2011 12:40:46 -0400 (EDT) Date: Tue, 3 May 2011 12:40:37 -0400 From: Janos Dohanics To: freebsd-questions@freebsd.org Message-Id: <20110503124037.a4469206.web@3dresearch.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: /etc/newsyslog.conf and denyhosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2011 17:16:19 -0000 What is the correct way to rotate denyhosts log files? In /etc/newsyslog.conf I have: /var/log/denyhosts 644 12 * $M1D0 JC /var/run/denyhosts.pid However, denyhosts does not log in the new file. -- Janos Dohanics