[Mimedefang] Stupid feature request

David F. Skoll dfs at roaringpenguin.com
Mon May 1 18:06:38 EDT 2006


Chris Myers wrote:

> Instead of a command-line option to disable it, how about adding:
> 
> 1) sub filter_headers() that is called before the body is even sent by
> sendmail to mimedefang, and
> 2) sub filter_undecoded() that is called before the body is decoded.

Those aren't bad ideas, but possibly the simplest solution is this:

- If the filter does not define ANY of the routines filter_begin,
  filter, filter_multipart and filter_end, then skip the whole
  content-filtering phase.

- A command-line option would still be useful for people who really want
  *no* body processing at all, because then we can turn off the milter code
  that transmits the body.

Regards,

David.



More information about the MIMEDefang mailing list