From owner-freebsd-questions Thu Feb 3 22: 7:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kfogmail.com (home.kfogmail.com [207.55.181.71]) by builder.freebsd.org (Postfix) with SMTP id B58E03F21 for ; Thu, 3 Feb 2000 22:07:28 -0800 (PST) Received: from home.kfogmail.com([207.55.181.71]) (1063 bytes) by kfogmail.com via sendmail-kfogmail.com with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Fri, 4 Feb 2000 00:07:42 -0600 (CST) (Smail-3.2.0.101 1997-Dec-17 #5 built 1998-Apr-23) Message-Id: Date: Fri, 4 Feb 2000 00:07:42 -0600 (CST) Content-Type: text/plain From: donv648@kfogmail.com To: freebsd-questions@freebsd.org Subject: Best way to really archive mail logs? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We need to keep a permanent copy of our maillog files. I have looked through newsyslog a bit and see the default for maillog rotation is... /var/log/maillog 664 7 * 24 Z Since cron fires this every hour at minute 0 I think this implies that once every hour newsyslog will evaluate whether the time since booting is divisible by 24, and rotate the logs if so. Is that right? The 24th hour since boot thing is where I'm stumped. I'm not seeing a clean way to get a copy via my own cron or whatever when the rotation is based on a time since the last boot (without creating our own "hours since boot" copier). Must be missing something. ??? Thank you Don .......................... Get your own free email! http://www.kfog.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message