Keeping maillogs
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? TIA Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Keeping maillogs
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 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Keeping maillogs
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/maillog640 7 400 * Z The last log was modified on 5 Jun 2003. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]