[Mimedefang] delete part best practice

Bill Cole mdlist-20140424 at billmail.scconsult.com
Tue Dec 12 21:09:32 EST 2017

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 
which you would call from your filter() implementation when you deem a 
part worthy of dropping.

Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole

More information about the MIMEDefang mailing list