Auto-update spam lists

This commit is contained in:
2016-10-15 18:55:52 +02:00
parent c1231e58e6
commit aa921b0fd0
3 changed files with 16 additions and 0 deletions

10
update-spamlists Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
while true; do
if [[ $(date +%H) == 23 ]] ; then
razor-admin -home=/etc/spamassassin/.razor -discover
sa-update
fi
done