> Gary V wrote: > > Myself, I would be more inclined modify amavisd and run > this once a day: > > > > sa-update --nogpg --updatedir \ > > /var/amavisd/var/lib/spamassassin/3.001004 && amavisd reload > > > Jo Rhett wrote: > SA-Update returns with code 1 when there are no new rules. > Do you want to restart amavisd when there are no new rules?
The && is a short-circuting AND; it will only perform the next command *iff* the previous command succeeds. Since 1 is a failure, the amavisd reload does not occur. ------------------------------------------------------------------------- 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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/