summaryrefslogtreecommitdiff
path: root/spamassassin
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin')
-rwxr-xr-xspamassassin/sa-updateandimprove.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/spamassassin/sa-updateandimprove.sh b/spamassassin/sa-updateandimprove.sh
deleted file mode 100755
index ac262c7..0000000
--- a/spamassassin/sa-updateandimprove.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-# Based on this: http://saupdates.openprotect.com/
-
-# Install SARE GPG key
-if [ "$1" = "-i" ]; then
- TMPFILE=`mktemp`
- wget -O"$TMPFILE" http://saupdates.openprotect.com/pub.gpg
- sa-update --import "$TMPFILE"
- rm "$TMPFILE"
-fi
-
-sa-update --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com --channel updates.spamassassin.org
-invoke-rc.d amavis restart > /dev/null
-
-# Install cronjob
-if [ "$1" = "-i" ]; then
- ln -sf /etc/local-COMMON/spamassassin/sa-updateandimprove.sh /etc/cron.daily/local-sa-update
-fi