Remove dependency on tmpwatch and tmpreaper

This commit is contained in:
Francis Lachapelle
2018-05-03 15:28:17 -04:00
parent 3d2e5adee8
commit 64414ee060
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
# SOGOSPOOL must match the value of the configuration parameter SOGoMailSpoolPath
SOGOSPOOL=/var/spool/sogo
/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
find "$SOGOSPOOL" -type f -user sogo -atime +23 -delete > /dev/null
find "$SOGOSPOOL" -mindepth 1 -type d -user sogo -empty -delete > /dev/null