Browse Source

Remove dovecot logs

Bob Mottram 8 years ago
parent
commit
54368be2eb
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-logging

+ 1
- 0
src/freedombone-logging View File

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