On Wed, 2004-03-03 at 02:37, Brian Hoover wrote: > The problem I'm trying to solve is rotating the qmail-queue.log file. > ...
Too much effort! What's wrong with a cronjob that runs at 4am and does mv -f qmail-queue.log qmail-queue.log.1 That's it. I do that on all my Q-S servers so I have two days worth of logs. > The problem is that the log is not used until I restart qmail. > How should this file be properly rotated? Err - then you're not running "normal" Q-S. Q-S totally controls how it writes to qmail-queue.log - restarting qmail would have absolutely no affect on that... Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
