Koozali.org: home of the SME Server

A uuencoded message attachment appears as garbled text in the body of a message

Offline dikko

  • *
  • 9
  • +0/-0
I received an pdf email what was encoded to text instead of pdf.
How can I fix this.
The sender uses an exchange server 2000.
When I send out a normal pdf problem is gone.

The following is a multipart MIME message which was extracted from a uu-encoded message.

------------=_1207566422-4179-0
Content-Type: application/octet-stream;
 name="GreenCommerce.pdf";
 x-unix-mode="0666"
Content-Disposition: inline; filename="GreenCommerce.pdf"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)

JVBERi0xLjIgCiXi48/TIAoxIDAgb2JqIAo8PCAKL1R5cGUgL0NhdGFsb2cg
Ci9QYWdlcyAyIDAgUiAKL
:-(

Offline zatnikatel

  • *****
  • 190
  • +0/-0
waht mail client do you use that some times happen with outllook to a different email client

Offline dikko

  • *
  • 9
  • +0/-0
We use outlook express and outlook

Offline zatnikatel

  • *****
  • 190
  • +0/-0
We use outlook express and outlook

base64 uses non-US-ASCII characters what country did the email come from it is rather strange that it has x-unix-mode in it
could you post the SMTP headers from the email please

Offline dikko

  • *
  • 9
  • +0/-0
------------=_1207566422-4179-0
Content-Type: application/octet-stream;
 name="GreenCommerce.pdf";
 x-unix-mode="0666"
Content-Disposition: inline; filename="GreenCommerce.pdf"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)

JVBERi0xLjIgCiXi48/TIAoxIDAgb2JqIAo8PCAKL1R5cGUgL0NhdGFsb2cg
Ci9QYWdlcyAyIDAgUiAKL1BhZ2VNb2RlIC9Vc2VOb25lIAovVmlld2VyUHJl
ZmVyZW5jZXMgPDwgCi9GaXRXaW5kb3cgdHJ1ZSAKL1BhZ2VMYXlvdXQgL1Np
bmdsZVBhZ2UgCi9Ob25GdWxsU2NyZWVuUGFnZU1vZGUgL1VzZU5vbmUgCj4+
IAo+PiAKZW5kb2JqIAoyIDAgb2JqIAo8PCAKL1R5cGUgL1BhZ2VzIAovS2lk
cyBbIDggMCBSIF0gCi9Db3VudCAxIAovTWVkaWFCb3ggMyAwIFIgCi9Dcm9w
Qm94IDQgMCBSIAo+PiAKZW5kb2JqIAozIDAgb2JqIApbIDAgMCA1OTUgODQx
IF0gCmVuZG9iaiAKNCAwIG9iaiAKWyAwIDAgNTk1IDg0MSBdIAplbmRvYmog

Offline dikko

  • *
  • 9
  • +0/-0
Return-Path: <??>
Delivered-To: ??
Received: (qmail 4189 invoked by alias); 7 Apr 2008 11:07:10 -0000

Received: (qmail 4185 invoked by uid 453); 7 Apr 2008 11:07:10 -0000
X-Virus-Checked: Checked by ClamAV on mycompany.local
X-Spam-Status: No, hits=2.6 required=5.0
   tests=MISSING_HB_SEP,RDNS_NONE
X-Spam-Check-By: mycompany.local
Received: from Unknown (HELO mail.xxx.xxx)
    by mycompany.local (qpsmtpd/0.40) with ESMTP; Mon, 07 Apr 2008 13:07:02 +0200
Received: from SMTP32-FWD by xxx
  (SMTP32) id A06A4857E; Mon,  7 Apr 2008 13:07:10 +0200
Received: from  by
 Mon, 07 Apr 2008 13:07:05 +0200
Received: from xxx.nl
   by with ESMTP id m37B6tJ4020411
   for ???@??? Mon, 7 Apr 2008 13:06:55 +0200 (CEST)
   (envelope-from .nl)
Received: from Sky1 ([192.168.16.55]) by ???.nl with Microsoft SMTPSVC(6.0.3790.211);
    Mon, 7 Apr 2008 13:09:10 +0200
thread-index: AciYn9Rnv0VhzBrTQ+Kw1IeAqvO+XA==
Thread-Topic: Vegetables Market Place bv Order #22469
From: <gert@????.nl>
To: <dick@????.nl>
Cc: <gert@???.nl>
Subject: Vegetables Market Place bv Order #22469
Date: Mon, 7 Apr 2008 13:09:21 +0200
Message-ID: <000401c8989f$d46770b0$3710a8c0@????.local>
X-Mailer: Microsoft CDO for Exchange 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-OriginalArrivalTime: 07 Apr 2008 11:09:10.0618 (UTC) FILETIME=[CE2A9BA0:01C8989F]
X-Virus-Scanned: by XS4ALL Virus Scanner
MIME-Version: 1.0
X-TNEF2MIME-Plugin: UUENCODE -> MIME
--------=_1207566422-4179-0"


Offline m

  • *****
  • 276
  • +0/-0
  • Peet
dikko ,

the X-TNEF2MIME-Plugin header indicates that the qpsmtp plugin tnef2mime converted the uuencoded message to MIME.
Is there anything suspicious in the qpsmtpd log? Search around the line with  "uuencoded attachment converted to MIME"

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
the X-TNEF2MIME-Plugin header indicates that the qpsmtp plugin tnef2mime converted the uuencoded message to MIME.
Is there anything suspicious in the qpsmtpd log? Search around the line with  "uuencoded attachment converted to MIME"

Michael and dikko - please take this to the bug tracker.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Michael and dikko - please take this to the bug tracker.
And post a reference to the bug number for future readers here please. Thanks.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
dikko,

if possible please  attach the raw message to your bug report.
Best way is to localize it in the Maildir directory and zip it to avoid modification during upload and downlaod.

Offline dikko

  • *
  • 9
  • +0/-0
Bug # 4206  in sme server 7.3

Offline dikko

  • *
  • 9
  • +0/-0
The email I gave was forwarded to an other server here is the one which was send directly

eturn-Path: <>
Delivered-To: dick@mail.mycompany.local
Received: (qmail 20328 invoked by alias); 17 Apr 2008 05:45:34 -0000
Delivered-To: alias-localdelivery-
Received: (qmail 20325 invoked by uid 453); 17 Apr 2008 05:45:34 -0000
X-Virus-Checked: Checked by ClamAV on mycompany.local
X-Spam-Status: No, hits=2.5 required=5.0
   tests=MISSING_HB_SEP
X-Spam-Check-By: mycompany.local
Received: from smtp-)
    by mycompany.local (qpsmtpd/0.40) with ESMTP; Thu, 17 Apr 2008 07:45:30 +0200
Received: from
   by smtp-vbr13.(8.13.8/8.13.8) with ESMTP id m3H5jSUn098406;
   Thu, 17 Apr 2008 07:45:28 +0200 (CEST)
   (envelope-from )
Received: from Skysales1 ([192.168.16.55]) by with Microsoft SMTPSVC(6.0.3790.211);
    Thu, 17 Apr 2008 07:47:47 +0200
thread-index: AcigTpHZKfTbYlqWTHGZcxK/I3jkSg==
Thread-Topic: Vegetables Market Place bv Order #22521 test voor Dick
From: <l>
To: <>, <>
Cc: <>
Subject: Vegetables Market Place bv Order #22521 test voor Dick
Date: Thu, 17 Apr 2008 07:47:49 +0200
Message-ID: <000001c8a04e$91e55c00$3710a8c0@skyline.local>
X-Mailer: Microsoft CDO for Exchange 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-OriginalArrivalTime: 17 Apr 2008 05:47:47.0118 (UTC) FILETIME=[906F84E0:01C8A04E]
X-Virus-Scanned: by XS4ALL Virus Scanner
MIME-Version: 1.0
X-TNEF2MIME-Plugin: UUENCODE -> MIME
--------=_1208411130-20319-0"


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
The email I gave was forwarded to an other server here is the one which was send directly

Please followup only via the Bug Tracker. Thanks.