Auto-update spam lists
This commit is contained in:
10
update-spamlists
Executable file
10
update-spamlists
Executable 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
|
||||
Reference in New Issue
Block a user