Operating System - HP-UX
1838251 Members
4587 Online
110125 Solutions
New Discussion

Re: logrotate of mail.log

 
Ratzie
Super Advisor

logrotate of mail.log

I am added mail.log to my logrotate, does anything need to be done pre or post? Does mail.log need to be touched (created for it to write to it.) We do not have sendmail running on the machines.
2 REPLIES 2
Rick Garland
Honored Contributor

Re: logrotate of mail.log

How is the mail.log being rotated? Is it being /dev/null'ed? Is it being deleted? Is it being truncated?

If the mail.log is being deleted I would touch a new one just for peace of mind. Otherwise there should be no additional interactions required.

Ratzie
Super Advisor

Re: logrotate of mail.log

Thanks