1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys |
2 |
--- smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys 2007-12-25 09:51:29.000000000 -0700 |
3 |
+++ mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys 2007-12-25 09:50:15.000000000 -0700 |
4 |
@@ -3,6 +3,15 @@ |
5 |
if [ -f /etc/cron.daily/sa_update ] |
6 |
then |
7 |
install -d -o root -g root -m 600 /etc/mail/spamassassin/sa-update-keys |
8 |
- /usr/bin/sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt |
9 |
- /usr/bin/sa-update --import /usr/share/spamassassin/sa-update-openprotect-sare.txt |
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 |