You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Martin Gregorie <ma...@gregorie.org> on 2010/01/10 02:32:03 UTC

About my sa_update cron script

There is an error in the 'sa_update' cron script as I published it, but
it has a simple fix:

Replace the single reference to $chkd with $sau so the first 'if'
statement reads:

        if [ -x $sau ]
        
The intention is that the script  will only attempt to run the SA issued
sa_update if it exists and is executable. If this condition fails the
failure report will be mailed to root. This script is merely a wrapper
for the SA-issued sa_update command. Its entire purpose is to ensure
that a report is mailed to root showing what sa_update did.
        
        
Martin