[Mimedefang] Poll: Who uses the "filter_tick" and "map" functionality of MIMEDefang? (-X and -N options to mimedefang-multiplexor)

Dianne Skoll dfs at roaringpenguin.com
Wed Apr 27 19:18:53 EDT 2016


On Wed, 27 Apr 2016 22:45:42 +0000
Paul Murphy <pjm at ousekjarr.org> wrote:

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

That's not a good approach; you don't know which process handles the
tick, so another process's connection could die.

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

Doing either of those is the better approach.

Regards,

Dianne.



More information about the MIMEDefang mailing list