On 12 Dec 2017, at 19:03 (-0500), Amit Gupta wrote:
Given a parent entity and child entity, what's the best way to delete the child entity? I see code that clears all parts for an entity and then selectively adds them back in. I would like to scan through and selectively remove instead.
See the man page for mimedefang-filter, specifically the description of "action_drop" which you would call from your filter() implementation when you deem a part worthy of dropping.
-- Bill Cole b...@scconsult.com or billc...@apache.org (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Currently Seeking Steady Work: https://linkedin.com/in/billcole _______________________________________________ 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 MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang