[Mimedefang] md_graphdefang_log() must be called "in messagecontext"?
gary at intrepid.com
Thu Sep 11 17:56:30 EDT 2008
On 09/11/08 15:58:11, Damrose, Mark wrote:
> -----Original Message-----
> From: Gary Funck
> > I tried to add some MDLOG entries in filter_relay()
> > and filter_recipient(), but md_graphdefang_log() complained
> > that it wasn't called inside a message context,
> Why not use md_syslog?
Yup. Already doing that. However, since graphdefang()
looks for MDLOG entries, and graphdefang_log() writes them,
it's redundant to replicate a mostly unchanged graphdefang_log()
into my mimedefang_filter(), when a small upward compatible
tweek to graphdefang_log() will allow it to be called from
any filter routine.
More information about the MIMEDefang