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.
_______________________________________________
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 [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to