Logrotate and MailScanner

Mister PO misterpo at IFRANCE.COM
Tue Jan 11 09:02:13 GMT 2005


Hello all,

My Mailscanner RedHat 9 Linux server logs its activity in the
/var/log/maillog file.

I have added the following section to /etc/logrotate.conf to purge logs daily :

/var/log/maillog {
daily
create
rotate 3
}

but my log file is still growing and logrotate doesn't do its job.

Do I need stop and start MailScanner to help logrotate do its job ?

I know there is a postrotate instruction, but is there prerotate one ?

Thanks in advance for your help,

PO.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list