[Mimedefang] Problem with message rewrite and messages with more than one Content-Type header
David F. Skoll
dfs at roaringpenguin.com
Thu Apr 24 21:38:00 EDT 2003
On Thu, 24 Apr 2003, Michael Sims wrote:
> The problem occurs when the original message contains more than one
> "Content-Type" header.
That's probably illegal; we might want to delete all but the first from
within mimedefang.c. I'll think about this. The problem is that changing
the "overall" MIME type requires a call to smfi_chgheader; you can't just
rewrite the message as you can if you change an internal MIME header.
The design of Milter separates out the "headers" (that is, the real
top-level headers) from the "body" (everything else, possibly including
internal MIME headers.)
--
David.
More information about the MIMEDefang
mailing list