/var/log/ has the following for the mail logs:

        8522897 Jul 11 16:03 maillog
         251190 Jul  6 04:40 maillog.1
        2831224 Jun  5 04:40 maillog.2
        2829037 Jun 29 04:40 maillog.3
        39391337 Jun 23 04:40 maillog.4

which has uneven date spacing. (messages.* has the same datetime stamps.)
There's no command in /etc/logrotate.d/ for maillog and
/etc/cron.daily/logrotate has:

#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf \
  || { /usr/bin/logger -t logrotate "ALERT - exited abnormally." && false ; }

   What do I change so that all logs rotate daily? I don't need to retain
mail or message logs for more than 4 days.

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to