tonj wrote: [...] > so would action_bounce_redundant_html_parts($entity); be correct? Please do two things: 1) Learn Perl, and 2) read and understand the mimedefang-filter man page. Until you do both of those things, you will not be able to implement your filtering policy. Regards, David.