Welcome to MSDN Blogs Sign in | Join | Help

Exchange 2003 SP2 and UUENCODE attachments

We got lots of complains about weird and garbled attachments after installing SP2, with gibberish text appearing in the message body. Yes, SP2 does change the way certain  uuencode message are now rendered to the client. It's even worth  noting that this change is not entirely new, and was also included in Exchange 2000 since the April 2004 rollup, and Exchange 2003 post SP1 hotfixes. The first thing you could use to identify this issue, is that the message contains both a "MIME Version"  header, and the body of the messag starts with the word "BEGIN"

In Exchange 2003 SP2 and recent rollup builds of Exchange 2000, when a uuencode message is incorrectly tagged with a MIME version header, then the uuencode text is treated as MIME.  therefore, the text shows in the body of the message as garbled. In essence, the message is combining two different internet body formats by combining a MIME version 1.0 header within a UUENCODED message. Basically, both standards (MIME and UUENCODE) cannot be combined in the same message.

The word UUENCODE is derived from “Unix to Unix encoding”. A UUENCODED message can be identified by the first word in the message “BEGIN” .

e.g BEGIN <mode> <file>
The <mode> is the file's read/write/execute permissions as three octal digits, and <file> output name to write the decoded data.

 The “MIME Version 1.0” header on the other hand, usually identifies that a message is a MIME (Multipurpose Internet Mail Extensions) message, and in compliance with RFC 2045.

e.g  version := "MIME-Version" ":" 1*DIGIT "." 1*DIGIT
 
To lend some more history to this change. In the past, Exchange erroneously treated normal MIME messages that started with the word "BEGIN'
as UUENCODED messages, thus resulting in normal textual messages appearing as attachments.
For example, if you composed a message as such:

From: John@foobar.com
To: Jane@foo.net
Subject: This is a test


Begin please acknowledge receipt of this message

 

Below is a sample UUENCODE message that also has a MIME Version 1.0 header

 

Date: Fri, 2 Dec 2005 14:21:33 +1100 (EDT)

John Doe <JohnDoe@contoso.com>

Message-Id: <200512020321.server.domain.com>

To: Jane Doe@foo.com

Subject: View the attachment

Mime-Version: 1.0

Content-Type: text/plain; charset=us-ascii

Content-Transfer-Encoding: 7bit

Return-Path: JohnDoe@contoso.com

X-OriginalArrivalTime: 02 Dec 2005 03:21:31.0901 (UTC) FILETIME=[7DDA6AD0:01C5F6EF]

 

Here is your attachment report

begin 664 02122005142133.txt

M:6-L;W)P+G`@92L@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@

M("`@(#,N-BXV($EN=F5N=&]R>2!$971A:6P@8GD@3&]C871I;VX@("`@("`@

M("`@("`@("`@("`@("`@("`@("`@("`@("`@($1A=&4Z(#`R+S$R+S`U#0I0

M86P-"E-I=&4@("`@($QO8V%T:6]N($ET96T@3G5M8F5R("`@("`@("!2968@

M("`@("`@("`@("`@("`@54T@(%%T>2!/;B!(86YD($-R96%T960@($5X<&ER

M92`@($%S<V%Y("4@1W)A9&4@4W1A='5S("`@079A:6P@3F5T($]V<DES#0HM

M+2TM+2TM+2`M+2TM+2TM+2`M+2TM+2TM+2TM+2TM+2TM+2T@+2TM+2TM+2TM

M+2TM+2TM+2TM("TM("TM+2TM+2TM+2TM+2`M+2TM+2TM+2`M+2TM+2TM+2`M

M+2TM+2TM("TM+2TM("TM+2TM+2TM("TM+2TM("TM+2`M+2TM+0T*,C`P,"`@

M("`@1C`P,2`@("`@,3`P,#`@("`@("`@("`@("`@("`@("`@("`@("`@("`@

M("`@("!%02`@("`@("`@+3$X+C`@,#(O,#<O,#`@("`@("`@("`@("`P+C`P

=("`@("`@("`@("`@("`@($)A=&-H($E$.@T*#!H@

`

end
 

The solution here is to configure the non-Exchange server (usually UNIX) sending to Exchange, not to add the "MIME Version" header to UUENCODE message,  or alternatively configure to send pure MIME messages to Exchange.

 

See http://www.ietf.org/rfc/rfc2045.txt and http://support.microsoft.com/default.aspx?scid=kb;en-us;836555

Published Friday, December 16, 2005 11:57 AM by adef

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Exchange 2003 SP2 and UUENCODE attachments

Monday, March 05, 2007 4:09 PM by Alex Loker

All we did was add mimeheader=no to our mailx message in HP-UX to fix it. i.e. uuencode bob.txt bob.txt|mimeheader=no mailx -s "Test email" fred@mary.com

# re: Exchange 2003 SP2 and UUENCODE attachments

Saturday, August 15, 2009 4:04 AM by 出会い

大好評の逆ナンイベントが毎週開催決定!素敵な出会いのきっかけ探し・アイナビにきませんか?積極的な出会いを求める人達なら無料参加OK!あなたもほんの少しの勇気で素敵な彼氏・彼女をGETしちゃおう!

# re: Exchange 2003 SP2 and UUENCODE attachments

Sunday, August 16, 2009 4:14 AM by 家出

夏休みで家出する女の子が急増しています。最初はマンガ喫茶やネットカフェで過ごすことが多いようですが、すぐにお小遣いが無くなり家出掲示板で泊めてくれたり遊んでくれる男性を探す子が多いようです。当サイトはそんな女の子達をサポートしたいという人たちと困っている女性たちの為のサイトです

# re: Exchange 2003 SP2 and UUENCODE attachments

Monday, August 17, 2009 6:19 AM by 玉の輿度チェッカー

当サイトは、みんなの「玉の輿度」をチェックする性格診断のサイトです。ホントのあなたをズバリ分析しちゃいます!玉の輿度チェッカーの診断結果には、期待以上の意外な結果があるかも

# re: Exchange 2003 SP2 and UUENCODE attachments

Thursday, August 20, 2009 12:40 AM by セレブラブ

毎月10万円を最低ラインとする謝礼を得て、セレブ女性に癒しを与える仕事があります。無料登録した後はメールアプローチを待つだけでもOK、あなたもセレブラブで欲求を満たしあう関係を作ってみませんか

# re: Exchange 2003 SP2 and UUENCODE attachments

Thursday, August 20, 2009 11:20 PM by ほむぺ完成記念

よーやくプロフ持ちになれました。私の事気になった方がいましたら気軽にメールください。恋バナとか好きなんでよろしくでぇす。zuttozuttoissyodayo@docomo.ne.jp

# re: Exchange 2003 SP2 and UUENCODE attachments

Friday, August 21, 2009 11:30 PM by 出張ホスト

女性会員様増加につき、当サイトの出張ホストが不足中です。女性の自宅やホテルに出向き、欲望を満たすお手伝いをしてくれる男性アルバイトをただいま募集していますので、興味のある方はTOPページから無料登録をお願いいたします

# re: Exchange 2003 SP2 and UUENCODE attachments

Saturday, August 22, 2009 11:49 PM by 家出

最近様々なメディアで紹介されている家出掲示板では、全国各地のネットカフェ等を泊り歩いている家出少女のメッセージが多数書き込みされています。彼女たちはお金がないので掲示板で知り合った男性とすぐに遊びに行くようです。あなたも書き込みに返事を返してみませんか

# re: Exchange 2003 SP2 and UUENCODE attachments

Monday, August 24, 2009 12:34 AM by モテる度チェッカー

あなたのモテ度数を診断できる、モテる度チェッカー!日頃モテモテでリア充のあなたもそうでないヒキニートの貴方も隠されたモテスキルを測定して今以上にモッテモテになること間違いなし

# re: Exchange 2003 SP2 and UUENCODE attachments

Monday, August 24, 2009 11:20 PM by 救援部

オ○ニーライフのお手伝い、救援部でHな見せたがり女性からエロ写メ、ムービーをゲットしよう!近所の女の子なら実際に合ってHな事ができちゃうかも!?夏で開放的になっている女の子と遊んじゃおう

# re: Exchange 2003 SP2 and UUENCODE attachments

Tuesday, August 25, 2009 11:16 PM by 逆援助

メル友募集のあそび場「ラブフリー」はみんなの出逢いを応援する全国版の逆援助コミュニティーです!女の子と真剣にお付き合いしたい方も、複数の女性と戯れたい方も今すぐ無料登録からどうぞ

# re: Exchange 2003 SP2 and UUENCODE attachments

Wednesday, August 26, 2009 10:24 PM by 倶楽部

簡単にお小遣い稼ぎをしたい方必見、当サイト逆¥倶楽部では無料登録して女性の性の欲求に応えるだけのアルバイトです。初心者でもすぐに高収入の逆¥交際に興味をもたれた方はTOPページまでどうぞ。

# re: Exchange 2003 SP2 and UUENCODE attachments

Thursday, August 27, 2009 11:12 PM by プロフ公開

プロフ作りました。興味ある方連絡まってま〜す。メアドを乗せておくので連絡ください。色んな人の色んな話聞きたい感じですのでヨロシクhappy-my-life-.-@docomo.ne.jp

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker