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. <<Dan>> | -----Original Message----- | From: Chris Thielen [mailto:[EMAIL PROTECTED] | Sent: Thursday, January 22, 2004 4:04 AM | To: Smart,Dan; [EMAIL PROTECTED] | Subject: RE: [SAtalk] Rules Du Jour v 1.07b | | On Thu, 2004-01-22 at 14:49, Smart,Dan wrote: | > Chris: | > Great job on the scripts. I have modified the munging on Tripwire | > (set name to TW) and BigEvil (comment out WXYZ). How do I | add these | > custom munges to my_rules_du_jour? | | Dan, | | I'm going to suggest that you ignore the warning in my_rules | and configure it as a custom ruleset, eg: MY_TRIPWIRE and | MY_BIGEVIL (~ at indices 1000 and 1001, not 0 and 1). | | When working on my_rules_du_jour, I kept going back and forth | trying to decide how this sort of thing should be done. The | two options I was considering were A) allow you to set just | the one variable in my_rules for the ruleset that is | otherwise configured in the stock rules or B) have you | re-create the whole ruleset config in my_rules. I went with | (B) because I didn't like splitting the configuration of that | ruleset across 2 files. | | If there are enough request to do (A) I'd definately reconsider. | -- | 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