Works flawlessly. Thanks for all the effort. My poor scripting ability put together a "just works" downloader. All the logic in yours works great!
Now to drop into cron.daily... <<Dan>> | -----Original Message----- | From: Chris Thielen [mailto:[EMAIL PROTECTED] | Sent: Friday, January 23, 2004 12:44 PM | To: Smart,Dan; [EMAIL PROTECTED] | Subject: RE: [SAtalk] Rules Du Jour v 1.07b | | Dan, | | On Fri, 2004-01-23 at 09:04, Smart,Dan wrote: | | > This command works every time from command line, but not | passed as a | > param from SA_RESTART. | > "postfix stop ; sleep 15 ; /etc/init.d/spamassassin restart | ; postfix start" | > | > It runs the postfix stop and then quits. Any idea why? I | can create | > a sed that patches the rules_du_jour each time putting the | commands in | > one at a time in the restart if block, which does work, but | passing it | > as the SA_RESTART parameter would be really nice. | | I changed the line that runs $SA_RESTART to use: | sh -c "$SA_RESTART" | instead of just | $SA_RESTART | | This should do the trick, methinks. | | (Version 1.07e is up) | -- | Chris Thielen | | Easily generate SpamAssassin rules to catch obfuscated spam | phrases (0BFU$C/\TED SPA/\/\ P|-|RA$ES): | http://www.sandgnat.com/cmos/ | ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk