Larry Starr wrote:
> From my install there is a "/etc/cron.daily/spamassassin" which I'm not 
> using, 
> that provides none of that information.
>
> I believe I will have to implement a wrapper script to, at least, notify me 
> when updates have been applied.
>   

I patched sa-update to add a verbose option which outputs all the
channel names that had changes.  Very simple patch if anyone is
interested.  It installs cleanly on 3.2.5, I haven't tried 3.3.

-- 
Bowie


*** sa-update.raw       Wed Mar 26 11:28:18 2008
--- sa-update.raw-patched       Wed Mar 26 11:30:42 2008
***************
*** 136,141 ****
--- 136,142 ----
    'help|h|?'                            => \$opt{'help'},
    'checkonly'                           => \$opt{'checkonly'},
    'allowplugins'                        => \$opt{'allowplugins'},
+   'verbose|v'                           => \$opt{'verbose'},

    # allow multiple of these on the commandline
    'gpgkey=s'                          => $opt{'gpgkey'},
***************
*** 435,440 ****
--- 436,447 ----
      next;
    }

+   # If we are in verbose mode, print the channel name
+   # (not needed in debug mode)
+   if ($opt{'verbose'} and not $opt{'debug'}) {
+     print "$channel\n";
+   }
+
    # If we are only checking for update availability, exit now
    if ( defined $opt{'checkonly'} ) {
      dbg("channel: $channel: update available, not downloading in checkonly 
mode");

Reply via email to