Logrotate and MailScanner
Rick Gutlon
rgutlon at YAHOO.COM
Tue Jan 11 10:17:34 GMT 2005
I believe you need to restart cron in order for the
changes in your logrotate.conf file to take effect. An
example would be /etc/rc.d/init.d/crond restart
Regards -
--- Mister PO <misterpo at IFRANCE.COM> wrote:
> 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!
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
------------------------ 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