From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 13:39:09 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 F131716A4B3 for ; Fri, 10 Oct 2003 13:39:09 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC18B43FA3 for ; Fri, 10 Oct 2003 13:39:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h9AKd8Fs020549; Fri, 10 Oct 2003 15:39:08 -0500 (CDT) (envelope-from dan) Date: Fri, 10 Oct 2003 15:39:08 -0500 From: Dan Nelson To: "Toll, Eric" Message-ID: <20031010203908.GE77306@dan.emsphone.com> References: <9BC86C67C3AF7646B9C5382020457A9427177F@VIP10-WIN2K.vipstructures.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9427177F@VIP10-WIN2K.vipstructures.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: Keeping maillogs 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, 10 Oct 2003 20:39:10 -0000 In the last episode (Oct 10), Toll, Eric said: > I love FreeBSD. One such thing I am not sure on how to do is to keep > the /var/log/maillog files for more than 7 days. I'd like to keep 60 > days. Also I have enough space so I don't need the system to gunzip > them. Edit /etc/newsyslog.conf, find the maillog line, raise the 'count' value, and remove the Z (or J) flag. See the newsyslog manpage for more info. -- Dan Nelson dnelson@allantgroup.com