I use filter_tick on very small servers to keep a database connection alive (<200 messages per day, and overnight 3-4 hours can pass without a message), but if it wasn't there then I'd code filter_begin to check on the state and reconnect if necessary, or make a new connection every time.
Best Wishes, Paul. _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang