summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific/JoeySites.hs
diff options
context:
space:
mode:
authorJoey Hess2015-09-13 12:49:08 -0400
committerJoey Hess2015-09-13 12:49:08 -0400
commit0f9f05ae9e65182daa9bfc98a9932e2e1382e9b5 (patch)
treeb50b56d366fe2e7f2b6c8ddb30746970253d5aff /src/Propellor/Property/SiteSpecific/JoeySites.hs
parent7c5bfb7d77bf64557b7b98c9ae358048b64e8329 (diff)
parent2af70d4ac7ff25a3e596de195abe40db46c74074 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/SiteSpecific/JoeySites.hs')
-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