On Sat, 2018-08-18 at 00:07 -0400, Bill Cole wrote:
> On 17 Aug 2018, at 18:49 (-0400), Chris wrote:
>
> > Not in one of my rules:
>
> OK, but also not part of the standard ruleset: 3rd-party rules. Kevin
> is a highly respected and active leader in the SpamAssassin project
> and the ASF as a who
Does anyone have a script that I can run as a cron job to update the
KAM.cf file?
Thanks
Chris
--
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
12:27:45 up 14:39, 1 user, load average: 8.88, 3.45, 1.40
Description:Ubuntu 18.04.1 LTS, kernel 4.15.0-32-generic
signature.
I have an entry in /etc/cron.daily
#!/bin/csh
cd /etc/spamassassin
mv KAM.cf KAM.cf.old
/usr/bin/wget http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf
/usr/bin/diff KAM.cf KAM.cf.old | /usr/bin/mail -s KAM_changes jpff
/bin/systemctl -l reload spamassassin.service
exit 0
Sems to work
On Sat, 2018-08-18 at 18:46 +0100, jpff wrote:
> I have an entry in /etc/cron.daily
>
> #!/bin/csh
>
> cd /etc/spamassassin
>
> mv KAM.cf KAM.cf.old
> /usr/bin/wget http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.
> cf
> /usr/bin/diff KAM.cf KAM.cf.old | /usr/bin/mail -s KAM_changes jpff
On Sat, 18 Aug 2018 18:46:57 +0100 (BST)
jpff wrote:
> I have an entry in /etc/cron.daily
>
> #!/bin/csh
If you haven't already seen the arguments against csh scripting, I
suggest you google 'csh programming considered harmful'.
I suggest replacing
mv KAM.cf KAM.cf.old
/usr/bin/wget
wi