Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You can change the method for transfer encoding after you apply Update Rollup 4 for Exchange Server 2007 Service Pack 1


View products that this article applies to.

Symptoms

In a Microsoft Exchange Server 2007 environment, the 7-bit transfer encoding method for the MIME format is set to use Quoted-Printable (QP) encoding. This behavior affects the usage in some scenarios. For example, you can use a third-party Internet Message Access Protocol (IMAP) gateway to retrieve messages from the Exchange server and to serve mobile users. However, the IMAP gateway does not work with 7-bit transfer encoding. An IMAP gateway works only with Base64 encoding.

↑ Back to the top


Resolution

Update information

To resolve this problem, install Update Rollup 4 for Exchange Server 2007 Service Pack 1 (SP1) on the Exchange server. For more information about Update Rollup 4 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:After you apply Update Rollup 4 for Exchange 2007 Service Pack 1 (SP1), you can change the transfer encoding method by editing the Microsoft.Exchange.Imap4.exe.config file or the Microsoft.Exchange.Pop3.exe.config file. To do this, follow these steps:
  1. On the server that is running Exchange Server 2007, open Windows Explorer.
  2. Locate the following folder:
    drive:\Program Files\Microsoft\Exchange Server\ClientAccess\PopImap
  3. Make a backup copy of the Microsoft.Exchange.Imap4.exe.config file or the Microsoft.Exchange.Pop3.exe.config file.
  4. Open the Microsoft.Exchange.Imap4.exe.config file or the Microsoft.Exchange.Pop3.exe.config file in Notepad, and then locate the following line between the <appSettings> segment and the </appSettings> segment.
    <add key="ByteEncoderTypeFor7BitCharsets" value="2" />
    Note If this line does not exist between the <appSettings> segment and the </appSettings> segment, insert the line. The following is an example.
    <configuration> 
     <appSettings> 
      <add key="ByteEncoderTypeFor7BitCharsets" value="2" /> 
     </appSettings> 
    </configuration>
    
  5. Change the value attribute in this line of code to an appropriate value that is based on the following table. This value controls the MIME encoding behavior.

    Note The value should be written as a number. It should not be spelled out.
    ValueBehavior
    1Always use QP encoding for HTML and for plain text. This is the equivalent of setting Exchange to its pre-hotfix default behavior.
    2Always use Base64 encoding for HTML and for plain text.
    Note This setting affects only the following 7-bit charsets:
    • - ISO-2022-JP
    • - ISO-2022-KR
    • - UTF-7
  6. Save the changes, and then exit Notepad.
  7. Restart the Exchange IMAP service or the Exchange POP service.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about the Content-Transfer-Encoding: header field, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB954058, kbhotfixrollup, kbqfe, kbfix, kbbug, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 954058
Revision : 2
Created on : 9/3/2013
Published on : 9/3/2013
Exists online : False
Views : 398