On Thu, 2004-01-22 at 22:57, Smart,Dan wrote:
> That works great!  Thanks.
> 
> I added the following command for SA_RESTART  "/usr/sbin/postfix stop &&
> sleep 15 && /etc/init.d/spamassassin restart && /usr/sbin/postfix start"
> but it doesn't seem to work, even though it works for command line.  
> 
> I also need to make sure postfix starts if the SA_RESTART fails.

Are you running Rules Du Jour as root?  Might want to try editing the
rules_du_jour script and find the line where SA_RESTART is called;
remove the "> /dev/null" redirect.  Run it interactively and see if
there's anything interesting being dumped to the console.

As for "postfix start" even if "spamassassin restart" fails, use ";"
instead of "&&".


-- 
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