Re: Keeping maillogs

2003-10-10 Thread Kent Stewart
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]"


Re: Keeping maillogs

2003-10-10 Thread Dan Nelson
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]"