Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 15:39:08 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Toll, Eric" <etoll@vipstructures.com>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@freebsd.org>
Subject:   Re: Keeping maillogs
Message-ID:  <20031010203908.GE77306@dan.emsphone.com>
In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9427177F@VIP10-WIN2K.vipstructures.com>
References:  <9BC86C67C3AF7646B9C5382020457A9427177F@VIP10-WIN2K.vipstructures.com>

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



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