[Mimedefang] Content-type mystery
Rolf E. Sonneveld
R.E.Sonneveld at sonnection.nl
Mon Aug 22 17:25:29 EDT 2011
On 8/22/11 7:42 PM, David F. Skoll wrote:
> On Mon, 22 Aug 2011 10:36:00 -0700 (PDT)
> kd6lvw at yahoo.com wrote:
>> However, since MD must first parse the message to determine whether
>> it is already a multipart/* type, wouldn't it make sense to save that
>> information into a global variable available during body processing?
> Yes. Right now, it sets an undocumented variable $WasMultipart to 1
> if the message was originally multipart and 0 if it was not.
Unfortunately, the information about multipart or not multipart, is not
sufficient for what we want to achieve.
> It makes
> sense to have another variable hold the original top-level type; I'll
> implement this for the next release.
More information about the MIMEDefang