diff options
-rw-r--r-- | fripost-docs.org | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/fripost-docs.org b/fripost-docs.org index f6296e3..b614129 100644 --- a/fripost-docs.org +++ b/fripost-docs.org @@ -2518,6 +2518,40 @@ For the webmail, we only log messages of priority warn or higher. invoke-rc.d rsyslog reload > /dev/null endscript } + /var/log/mail.warn + /var/log/mail.err + [...] + + :: /etc/logrotate.d/roundcube-core + + /var/log/roundcube/errors + /var/log/roundcube/sendmail + /var/log/roundcube/userlogins + { + create 0640 www-data adm + compress + missingok + notifempty + rotate 3 + daily + } + + :: /etc/logrotate.d/apache2 + + /var/log/apache2/*.log { + daily + missingok + rotate 3 + compress + delaycompress + notifempty + create 640 root adm + sharedscripts + postrotate + /etc/init.d/apache2 reload > /dev/null + endscript + } + ** Necessary stuff to fix for security *** Bacula for backups |