Keeping maillogs

Kent Stewart kstewart at owt.com
Fri Oct 10 13:58:28 PDT 2003


On Friday 10 October 2003 01:27 pm, Toll, Eric wrote:
> Hello World.
>
> 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.
>
> Could I have a few pointers on this please?
>

My setting for maillog in /etc/newsyslog.conf is

/var/log/maillog                        640  7     400  *     Z

The last log was modified on 5 Jun 2003.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list