Re: Problems with attached docs..

From: Bjarni R. Einarsson (
Date: Wed 08 Aug 2001 - 10:26:37 UTC

  • Next message: Bjarni R. Einarsson: "Log file format changes"

    On 2001-08-08, 09:37:23 (-0400), Phil Launchbury wrote:
    > The problem is that attachments from Exchange/Outlook users get
    > corrupted. The end result is that the document is completely unreadable
    > when detached.

    ... because they aren't sending their attachments as MIME, but uuencoded.

    > One of the symptoms is that it ends up with the following being inserted
    > into the body of the attachment:
    > M````````````````````````````````````````````````````````````
    > ><DEFANGED.35 M````````````````````````````````````````````````````````````

    This is HTML defanging...

    > # Active features.
    > #
    > feat_html = 1

    ... which you requested. :-)

    > feat_uuencoded = 0

    But have told the sanitizer not to recognized uuencoded attachments.

    Turn HTML defanging off or UUencoded recognition on and you should
    be fine... btw, why in the world aren't you scanning the contents of
    uuencoded attachments? That leaves a huge, gaping hole in your
    defenses and is IMHO a Very Bad Idea(tm).

    Bjarni R. Einarsson                           PGP: 02764305, B7A3AB89                -><-    

    Check out my open-source email sanitizer:

    hosted by