summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index b6524f69..0a59452c 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -520,6 +520,9 @@ kiteMailServer = propertyList "kitenet.net mail server" $ props
`onChange` Service.restarted "amavisd-milter"
`describe` "amavisd-milter configured for postfix"
& Apt.serviceInstalledRunning "clamav-freshclam"
+ -- Workaround https://bugs.debian.org/569150
+ & Cron.niceJob "amavis-expire" Cron.Daily (User "root") "/"
+ "find /var/lib/amavis/virusmails/ -type f -ctime +7 -delete"
& dkimInstalled