On 4/20/05, Dan Scrimpsher <[EMAIL PROTECTED]> wrote: > > I am trying to figure out something with the qmail-smtpd log file. > Right now when the /var/log/qmail/smtpd/current log file reaches 96K it > rolls to a new current file and gives the old current file a name like > '@4000000042669d580ae613c4.s'. > > I am not sure where qmail is gettings this setting from or if I can change > it. > Is there a way to keep the /var/log/qmail/smtpd/current logfile logging for > a day and then roll it to a new file at the end of the day? > > Thanks > Dan
configure this in /var/qmail/supervise/qmail-smtpd/log/run #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s5000000 n30 /var/log/qmail/smtpd This means allow the qmail-smtpd/current log to grow to 5MB before rotating and to keep up to 30 files before throwing them away -- Jason [EMAIL PROTECTED]
