Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 03:01:14 -0600 (CST)
From:      donv648@kfogmail.com
To:        "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Best way to really archive mail logs?
Message-ID:  <m12Gec6-003GIMC@kfogmail.com>

next in thread | raw e-mail | index | archive | help
> First off, you seem to be missing the <enter>-key.
> Your paragraphs are all on one line.

My apologies for the line length. POPMail (inc)...

> Second, where did you get the idea its 24 hours since
> _boot?_

Is that not true? If first boot is at 10:05am, cron will
run newsyslog at 11:00 and each subsequent hour. I read
this to mean the rotation origin is set to 11:00 every day,
no?

> Manpage...
> For your example, the maillog file is rotated whenever
> it has been 24 hours since newsyslog(8) last rotated it
> (i.e. when the file's creation time is >24 hours). Where
> did booting ever come into this? 

I think the solution is to change the newsyslog.conf entry
to use a predictable absolute time so we don't have to
determine newsyslog's hour of rotation before we make our
copy. Does this sound right or am I still climbing the
wrong tree?

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m12Gec6-003GIMC>