On 10/27/06, Anders Norrbring <[EMAIL PROTECTED]> wrote:
> Ralf Hildebrandt skrev:
> > * Anders Norrbring <[EMAIL PROTECTED]>:
> >
> >> AFAIK, no. But SpamAssassin need to lint the new rulesets, so I've added
> >> a lint into my update script, like this:
> >>
> >> cat /etc/cron.daily/spamassassin
> >> #!/bin/sh
> >>
> >> /usr/bin/sa-update -D --channel saupdates.openprotect.com --channel
> >> updates.spamassassin.org --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10
> >> sa_exit=$?
> >>
> >> if test $sa_exit = 4; then
> >>          echo "Problem with sa-update.."
> >> elif test $sa_exit = 1; then
> >>          echo "No SA updates available.."
> >> elif test $sa_exit = 0; then
> >>          echo "SA updates downloaded and installed."
> >>          /usr/bin/spamassassin --lint
> >> fi

If I understand sa-update's perl code well enough, it appears that it
does a lint as part of installing the updates, so you shouldn't need
to run it again, yourself.
-- 
        -ste

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to