Remove dovecot logs

This commit is contained in:
Bob Mottram 2016-11-18 14:57:50 +00:00
parent fe874f3fc8
commit 54368be2eb
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ else
sed -i 's|info_log_path =.*|info_log_path = /dev/null|g' /etc/dovecot/dovecot.conf
sed -i 's|debug_log_path =.*|debug_log_path = /dev/null|g' /etc/dovecot/dovecot.conf
shred -zu /var/log/mail.*
shred -zu /var/log/dovecot*
fi
if [ -d /etc/mysql ]; then
if [ -d /var/log/mysql ]; then