[Mimedefang] replace_with_url with multiple small attachments

David F. Skoll dfs at roaringpenguin.com
Wed Dec 20 13:06:13 EST 2006


Matthew S. Cramer wrote:

> Since filter is called for each attachment, there is no need to build
> in iteration beyond that which MIMEDefang naturally performs (David,
> you rock!).  The code above will keep getting executed until the
> entire mail is < 10MB since filte ris called once for each attachment.

Actually, if the original message was >= 10MB, the code would execute
all the time.  MIMEDefang doesn't modify INPUTMSG.  It just
manipulates the in-memory MIME entities, and creates a new message
after the filtering has finished.

Regards,

David.



More information about the MIMEDefang mailing list