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

Reply via email to