If I set FAILSAFE=0 what will happen? Will it bounce mail while cleanup is running, or defer it? Will it go back to normal after cleanup is done running, or will it require intervention to start accepting mail again?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan-Frode Myklebust Sent: Tuesday, August 26, 2008 11:53 PM To: [email protected] Subject: Re: [policyd-users] policyd bypasses all mail On Tue, Aug 26, 2008 at 12:01:25PM -0700, albert wrote: > After taking a closer look at the log I see that I'm getting several > hundred of these per hour, all between X:00 and X:03. It looks like > this is only happening while cleanup is running; apparently cleanup is > locking the table. Hmm, I think we had similar problems, and ended up doing a weekly truncate on the triplet table to avoid it getting too large. #! /bin/sh - echo counting triplets...: echo select count\(\*\) from triplet\; | mysql -u policyd -h mysqlserver --password=ppppassword policyd echo truncate triplet\; | mysql -u policyd -h mysqlserver --password=ppppassword policyd > Does this log entry indicate that policyd is permitting all mail since > it can't contact the database, or is mail being deferred? Yes, policyd is being bypassed... so everything should be working the same as if you weren't running policyd at all. Nice failsafe mechanism. -jf _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
