From xxx@example.com  Thu Aug  3 07:32:10 2000
Return-Path: <xxx@example.com>
Received: from example.com (root@example.com [149.144.245.5])
	by example.com (8.9.3/8.9.3) with ESMTP id HAA01305
	for <bre@example.com>; Thu, 3 Aug 2000 07:32:03 GMT
From: xxx@example.com
Date: Thu, 3 Aug 2000 06:39:59 GMT
Message-Id: <200008030639.GAA23780@example.com>
MIME-Version: 1.0
Sender: xxx@example.com
To: fake@example.com
Content-Type: multipart/mixed; boundary="=ABACAB:=_0006@@UtD0uere5ZCIrVlOp0vV"
X-Sanitizer: This message has been sanitized!
X-Sanitizer-URL: http://mailtools.anomy.net/


--=ABACAB:=_0006@@UtD0uere5ZCIrVlOp0vV
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

This is the text part that contains a uuencoded message with
some really evil, icky headers that need truncating.

begin_664 testfile
this is not uuencoded data

begin  testfile.DEFANGED-100
M1G)O;2!X>'A`97AA;7!L92YC;VT@(%1H=2!!=6<@(#,@,#<Z,S(Z,3`@,C`P
M,`I2971U<FXM4&%T:#H@/'AX>$!E>&%M<&QE+F-O;3X*4F5C96EV960Z(&9R
M;VT@97AA;7!L92YC;VT@*')O;W1`97AA;7!L92YC;VT@6S$T.2XQ-#0N,C0U
M+C5=*0H)8GD@97AA;7!L92YC;VT@*#@N.2XS+S@N.2XS*2!W:71H($533510
M(&ED($A!03`Q,S`U"@EF;W(@/&)R94!E>&%M<&QE+F-O;3X[(%1H=2P@,R!!
M=6<@,C`P,"`P-SHS,CHP,R!'350*1G)O;3H@>'AX0&5X86UP;&4N8V]M"D1A
M=&4Z(%1H=2P@,R!!=6<@,C`P,"`P-CHS.3HU.2!)3D-214%$24),64Q/3D=4
M24U%6D].149)14Q$"DUE<W-A9V4M260Z(#PR,#`P,#@P,S`V,SDN1T%!,C,W
M.#!`97AA;7!L92YC;VT^"E-E;F1E<CH@>'AX0&5X86UP;&4N8V]M"E1O.B!F
M86ME0&5X86UP;&4N8V]M($1%1D%.1T5$6S$P,5TZ=VET:&%R96%L;'ER96%L
M;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER
M96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L
M;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER
M96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L
M;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER
M96%L;'ER96%L;'ER96%L;"`B("(@1$5&04Y'141;,3`Q73IY<F5A;&QY<F5A
M;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY
M<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A
M;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY
M<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A
M;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY
M<F5A;&QY<F5A;&QY<F5A;&QY<F5A("(@(B!L;'ER96%L;'ER96%L;'EL;VYG
M:&5A9&5R"D-O;G1E;G0M5'EP93H@;75L=&EP87)T+VUI>&5D.R!B;W5N9&%R
M>3TB/75C:WDB"@H*+2T]=6-K>0I#;VYT96YT+51Y<&4Z('1E>'0O<&QA:6X[
M(&-H87)S970](FES;RTX.#4Y+3$B"D-O;G1E;G0M5')A;G-F97(M16YC;V1I
4;F<Z(#AB:70*"BTM/75C:WDM+0H`
`
end

This is a test of text following the uuencoded data.

--=ABACAB:=_0006@@UtD0uere5ZCIrVlOp0vV
Content-Type: text/sanitizer-log; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="sanitizer.log"

This message has been 'sanitized'.  This means that potentially
dangerous content has been rewritten or removed.  The following
log describes which actions were taken.

Sanitizer (start="0"):
  Part (pos="533"):
    SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
      Match (names="unnamed.txt", rule="2"):
        Enforced policy: accept

    Escaped invalid uuencode preamble (http://www.rodos.net/outlook/#begin)
    Part (pos="258"):
      SanitizeFile (filename="testfile", mimetype="INLINE/message/rfc822"):
        Match (rule="default"):
          Enforced policy: defang

        Replaced mime type with: application/DEFANGED-100
        Replaced file name with: testfile.DEFANGED-100

      Part (pos="0"):
        Split unusually long word(s) in header.
        Part (pos="1034"):
          Rewrote long ( >40 bytes ) MIME encoding from:
              >>eviiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiil<<
           to >>8bit<<
          Split unusually long word(s) in header.
          SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
            Match (names="unnamed.txt", rule="2"):
              Enforced policy: accept

  Total modifications so far: 5



--=ABACAB:=_0006@@UtD0uere5ZCIrVlOp0vV--
