On Wed, Aug 06, 2003 at 04:50:36PM +0100, John Ekins wrote:
> 
> -- 
> On Wed, 6 Aug 2003 11:42:27 -0400 (EDT)
> Steve Hovey <[EMAIL PROTECTED]> wrote:
> 
> -> 
> -> I do
> -> 
> -> cat /dev/null > mainlog
> -> 
> -> etc
> 
> Or how about exicyclog? It installed as part of exim. It is the "more
> subtle" way.
Or have exim write to dated logfiles:

log_file_path = /var/log/exim/%s.%D.log
(in /usr/local/etc/exim/configure)

ie:

[17:05:30] [EMAIL PROTECTED] /home# ls -l /var/log/exim/
<snip>
-rw-r-----  1 mailnull  mail  101766 Aug  5 23:59 main.20030805.log
-rw-r-----  1 mailnull  mail  126424 Aug  6 17:02 main.20030806.log

That way you can just remove the older logfiles (once you've backed up
first of course!).

-- 
Jez

http://www.munk.nu/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to