logrotate configuration

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: elemint@theriver.com
日付:  
To: plug-discuss
題目: logrotate configuration
I have added the below config to the bottom of logrotate.conf to
rotate my postfix mail logs on my Debian system.. The problem is that
these are still not being rotated daily, any suggestions?




      "/var/log/mail.log" /var/log/mail.log {
          daily
          rotate 365
          delaycompress
          create
          postrotate
           /utilities/mail.stop && /utilities/mail.start
       endscript
    }



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss