Keeping maillogs
Dan Nelson
dnelson at allantgroup.com
Fri Oct 10 13:39:10 PDT 2003
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 at allantgroup.com
More information about the freebsd-questions
mailing list