/var/log/maillog {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    daily
    rotate 29
    size 100k
    missingok
    create 640 root dosis
    postrotate
	/bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
    endscript
}

/var/log/spooler {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    daily
    size 1M
    rotate 29
    missingok
    create 640 root dosis
    postrotate
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}

/var/log/boot.log {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    daily
    rotate 29
    missingok
    create 640 root dosis
}

/var/log/cron {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    daily
    rotate 29
    missingok
    create 640 root dosis
    postrotate
	/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
} 

/var/log/syslog
{
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    size 500M
    rotate 13
    notifempty
    delaycompress
    compress
    missingok
    create 640 root dosis
    postrotate
	    /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
        /usr/lib/rsyslog/rsyslog-rotate || true
    endscript
}

/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
{
    rotate 4
    weekly
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        /usr/lib/rsyslog/rsyslog-rotate || true
    endscript
}
