1 |
slords |
1.1 |
diff -ruN smeserver-spamassassin-2.0.0.old/root/etc/cron.daily/00-sa_keys smeserver-spamassassin-2.0.0/root/etc/cron.daily/00-sa_keys |
2 |
|
|
--- smeserver-spamassassin-2.0.0.old/root/etc/cron.daily/00-sa_keys 2008-10-07 08:49:50.000000000 -0600 |
3 |
|
|
+++ smeserver-spamassassin-2.0.0/root/etc/cron.daily/00-sa_keys 1969-12-31 17:00:00.000000000 -0700 |
4 |
|
|
@@ -1,17 +0,0 @@ |
5 |
|
|
-#!/bin/sh |
6 |
|
|
- |
7 |
|
|
-if [ -f /etc/cron.daily/sa_update ] |
8 |
|
|
-then |
9 |
|
|
- install -d -o root -g root -m 600 /etc/mail/spamassassin/sa-update-keys |
10 |
|
|
- for key in release-spamassassin.org-key.txt \ |
11 |
|
|
- sa-update-openprotect-sare.txt \ |
12 |
|
|
- sa-update-pubkey.txt \ |
13 |
|
|
- saupdates.openprotect.com-key.txt \ |
14 |
|
|
- updates.spamassassin.org-key.txt |
15 |
|
|
- do |
16 |
|
|
- if [ -f /usr/share/spamassassin/$key ] |
17 |
|
|
- then |
18 |
|
|
- /usr/bin/sa-update --import /usr/share/spamassassin/$key |
19 |
|
|
- fi |
20 |
|
|
- done |
21 |
|
|
-fi |
22 |
|
|
diff -ruN smeserver-spamassassin-2.0.0.old/root/etc/cron.daily/zz-sa_restart smeserver-spamassassin-2.0.0/root/etc/cron.daily/zz-sa_restart |
23 |
|
|
--- smeserver-spamassassin-2.0.0.old/root/etc/cron.daily/zz-sa_restart 2008-10-07 08:49:50.000000000 -0600 |
24 |
|
|
+++ smeserver-spamassassin-2.0.0/root/etc/cron.daily/zz-sa_restart 1969-12-31 17:00:00.000000000 -0700 |
25 |
|
|
@@ -1,10 +0,0 @@ |
26 |
|
|
-#!/bin/sh |
27 |
|
|
- |
28 |
|
|
-if [ -f /etc/cron.daily/sa_update ] |
29 |
|
|
-then |
30 |
|
|
- N=$(find /var/lib/spamassassin/3.* -type f -newer /service/spamd/supervise/pid) |
31 |
|
|
- if test -n "$N" |
32 |
|
|
- then |
33 |
|
|
- sv t /service/spamd |
34 |
|
|
- fi |
35 |
|
|
-fi |