[Exim] Re: Log Rotation

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Suresh Ramasubramanian
Dátum:  
Címzett: John W Baxter
CC: KP^2 - NOC, Exim List
Tárgy: [Exim] Re: Log Rotation
+++ John W Baxter [exim-users] <01/09/01 23:56 -0700>:
> At 13:10 -0500 8/31/01, KP^2 - NOC wrote:
> >And if so, I would really like to use newsyslog (this is on a FreeBSD 4.4
> >system), which I tried but encountered a problem. When newsyslog creates
> >the new log file, it is owned by root. If any of you have a work around in


> >/var/log/exim/mainlog                   644  7     *    @T00  Z
> >/var/log/exim/paniclog                  644  7     *    @T00  Z
> >/var/log/exim/rejectlog                 644  7     *    @T00  Z


Try these instead - and if you looked at the documentation of the exim port
you'd have found these lines ...

/var/log/exim/mainlog sendmail:mail 640 7 * @T00 Z /var/run/exim.pid
/var/log/exim/rejectlog sendmail:mail 640 7 * @T00 Z

> If you have to rotate paniclog, you've got problems. paniclog should
> always be empty...if something does show up there that we need to study, we
> copy it out and empty paniclog again.


<AOL>me too</AOL>

--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin