[Mimedefang] Bug in action_defang?

Sidney Markowitz sidney at sidney.com
Fri Oct 25 17:59:00 EDT 2002


David F. Skoll <dfs at roaringpenguin.com> wrote:
> You can't use action_defang outside filter().

Then what do you suggest to achieve the following:

I would like to check the message with SpamAssassin. If it scores over the threshold
I would like to add some headers and rewrite the message in multiple parts, the first
being the entire body of the original message with the content-type set to be
text/plain (defanged), the second being the unchanged original message as
content-type message/rfc822 to make it easy to recover the original message, and the
third part being the SpamAssassin report as content-type text/plain.

Does this make sense as something to do in filter_end()?

 -- sidney




More information about the MIMEDefang mailing list