Sanitizer messing up embedded contents

From: Peter Milesson (
Date: Tue 11 Jun 2002 - 21:38:35 UTC

  • Next message: Peter Milesson: "Re: Sanitizer messing up embedded contents"


    I have a setup with Postfix and the Anomy Sanitizer. The Postfix installation works Ok, as do the Sanitizer, except for one thing.

    If incoming mails (Outlook Express 5, MIME-encoding, Base-64) have got embedded files, e.g. a .PDF-document, the original, as sent from the remote, contains MIME-encoded end-of-line characters (=0A=). When the message body, containing the embedded .PDF-file comes out of the Sanitizer, the MIME-encoded line-ends are gone, and only the ordinary ones, according to the feat_newlines, remain. When I load that message back in Outlook Express, the contents are not as in the original file I sent away. The attachment is considered corrupt, and is not readable by Acrobat reader.

    If somebody got a good idea of how to solve this, I would really appreciate it.



    hosted by