Log file rotation
Damien Hull
dhull at digitaloverload.net
Wed Aug 30 02:29:39 UTC 2006
Scott J. Henson wrote:
> Damien Hull wrote:
>
>> I've got Ubuntu Dapper installed and configured as a mail server. I'm
>> using Postfix as the MTA. My problem is with /var/log/mail.log. I would
>> like to keep the log file for a week and then have it rotate. However,
>> this isn't happening. It seems to be rotating when it wants to.
>>
> <snip>
>
>> Can someone tell me what's going on here? Again, I want /var/log/mail to
>> rotate once a week.
>>
>>
>
> Try /etc/logrotate.d/postfix.
>
>
Postfix isn't in there. It seems the mail.log is handled by sysklogd.
More information about the ubuntu-users
mailing list