[imp] no message body on 8-bit encoding

TengYung Lee walkerfleck at gmail.com
Sun Mar 29 09:18:43 UTC 2009


I installed horde recently.
I have found there are similar question on the archive, but no answer there.
I found out a problem, when the received message is encoded by 8bit,
the imp will not display the message body.
for example :

Return-Path: <serv...<http://groups.google.com/groups/unlock?_done=/group/mailing.www.horde-imp/browse_thread/thread/e3edf0025d07ad5e&msg=4e67f18fcea0f2bd>
X-Original-To: myemail at mydomain
Delivered-To: myemail at mydomain
Received: from ns2.echia.net (mail.echia.net [])
        by mydomain (Postfix) with ESMTP id 6C53146C0DF
        for <myemail at mydomain>; Sat, 28 Mar 2009 22:53:06 +0800 (CST)
Received: from localhost (localhost.echia.net [])
        by ns2.echia.net (Postfix) with ESMTP id E5FBAE608E;
        Sat, 28 Mar 2009 22:55:14 +0800 (CST)
X-Virus-Scanned: amavisd-new at echia.net
Received: from ns2.echia.net ([])
        by localhost (ns2.echia.net []) (amavisd-new, port 10024)
        with ESMTP id EIP-LJ3HJoUM; Sat, 28 Mar 2009 22:54:51 +0800 (CST)
Received: from www.tianzhu.org (tianzhu.org [])
        by ns2.echia.net (Postfix) with ESMTPA id 7EEF2E6054;
        Sat, 28 Mar 2009 22:54:51 +0800 (CST)
Date: Sat, 28 Mar 2009 22:57:42 +0800
To: myemail at mydomain
From: =?big5?B?r3WyerlxpXi69K+4?=
Subject: =?big5?Q?To_Start_Your_Account__=AFu=B2z=B9q=A5x=BA=F4=AF=B8?
Message-ID: <7bdb511ef681d766ab894660cb69bbbb at www.tianzhu.org>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="big5"

<p><br>中文在這裡Chinese Characters in Big5 charset hereXXX

the message will not be shown in traditional-chinese mode.
I have set the language to Traditional-Chinese,
and set the default charset for messages into Traditinal-Chinese too.
But the message body was totally blank, except I view the message source by
my own.
I find out actually there was the message body and can not be shown by IMP.

If I switch the language to English, the message body not shown also,
but instead a message in the body:

This message was written in a character set (big5) other than your own. If
it is not displayed correctly, click here to open it in a new window.

And I've tried if the received message was in the quoted-printable encoding,

the message body was ok.

The same 8bit encoding message body will be displayed by another mail
so I believe there is no error on the message format.

Just wondering how to setup IMP to solve this problem.
Thanks for any pointers.



My environments:

Horde Version

   - Horde: 3.3.3

Horde Applications

   - Dimp: H3 (1.1)
   - Horde: 3.3.3
   - Imp: 4.3.3
   - Ingo: H3 (1.2.1)
   - Kronolith: H3 (2.3)
   - Mimp: H3 (1.1.1)
   - Mnemo: H3 (2.2.1)
   - Nag: H3 (2.3)
   - Turba: H3 (2.3.1)

PHP Version

   - PHP Version: 5.2.6-2ubuntu4.1
   - PHP Major Version: 5.2
   - PHP Minor Version: 6
   - PHP Subminor Version: 2ubuntu4.1
   - PHP Version Classification: release
   - *You are running a supported version of PHP.*

PHP Module Capabilities

   - Ctype Support: *Yes*
   - DOM XML Support: *Yes*
   - FTP Support: *Yes*
   - GD Support: *Yes*
   - Gettext Support: *Yes*
   - GeoIP Support (via PECL extension): *No*
   *Horde can optionally use the GeoIP extension to provide faster country
   name lookups.*
   - Iconv Support: *Yes*
   - GNU Iconv Support: *Yes*
   - IMAP Support: *Yes*
   - JSON Support: *Yes*
   - LDAP Support: *No*
   *LDAP support is only required if you want to use an LDAP server for
   anything like authentication, address books, or preference storage.*
   - LZF Compression Support: *Yes*
   - Mbstring Support: *Yes*
   - PCRE Support: *Yes*
   - PCRE UTF-8 Support: *Yes*
   - Mcrypt Support: *Yes*
   - memcached Support (memcache): *Yes*
   - MIME Magic Support (fileinfo): *Yes*
   - MIME Magic Support (mime_magic): *Yes*
   - MySQL Support: *Yes*
   - OpenSSL Support: *Yes*
   - PostgreSQL Support: *No*
   *The PostgreSQL extension is only required if you want to use a
   PostgreSQL database server for data storage.*
   - Session Support: *Yes*
   - XML Support: *Yes*
   - Zlib Support: *Yes*

Miscellaneous PHP Settings

   - magic_quotes_runtime disabled: *Yes*
   - memory_limit value: 128M
   *If PHP's internal memory limit is not set high enough Horde will not be
   able to handle large data items (e.g. large mail attachments in IMP). You
   should set the value of memory_limit in php.ini to a sufficiently high value
   - at least 64M is recommended.*
   - safe_mode disabled: *Yes*
   - session.use_trans_sid disabled: *Yes*
   - session.auto_start disabled: *Yes*
   - zlib.output_compression disabled: *Yes*
   - zend_accelerator.compress_all disabled: *Yes*

File Uploads

   - file_uploads enabled: *Yes*
   - upload_max_filesize: 15M
   - post_max_size: 8M
   This value should be several times the expect largest upload size
   (notwithstanding any upload limits present in an application). Any upload
   that exceeds this size will cause any state information sent along with the
   uploaded data to be lost. This is a PHP limitation and can not be worked

Required Horde Configuration Files

   - config/conf.php: *Yes*
   - config/mime_drivers.php: *Yes*
   - config/nls.php: *Yes*
   - config/prefs.php: *Yes*
   - config/registry.php: *Yes*

PHP Sessions

   - Session counter: 1
   - To unregister the session: click


   - *PEAR Search Path (PHP's include_path)*:
   - PEAR: *Yes*
   - Recent PEAR: *Yes*
   - Mail: *Yes*
   - Mail_Mime: *Yes*
   - Mail_mimeDecode: *Yes*
   - Log: *Yes*
   - DB: *Yes*
   - MDB2: *Yes*
   - Net_Socket: *Yes*
   - Date: *Yes*
   - Auth_SASL: *Yes*
   - HTTP_Request: *Yes*
   - HTTP_WebDAV_Server: *Yes*
   - Net_SMTP: *Yes*
   - Services_Weather: *Yes*
   - Cache: *Yes*
   - XML_Serializer: *Yes*


IMP Version

   - IMP: 4.3.3

Other Horde Applications

   - dimp: *Yes* (Version: H3 (1.1))
   - gollem: *No*
   *Gollem provides access to local VFS filesystems to attach files.*
   - ingo: *Yes* (Version: H3 (1.2.1))
   - mimp: *Yes* (Version: H3 (1.1.1))
   - nag: *Yes* (Version: H3 (2.3))
   - turba: *Yes* (Version: H3 (2.3.1))

PHP Version

   - PHP Version: 5.2.6-2ubuntu4.1
   - PHP Major Version: 5.2
   - PHP Minor Version: 6
   - PHP Subminor Version: 2ubuntu4.1
   - PHP Version Classification: release
   - *You are running a supported version of PHP.*

PHP Module Capabilities

   - Internationalized Domain Names Support: *Yes*
   - IMAP Support: *Yes*
   - OpenSSL Support: *Yes*
   - Tidy support: *Yes*

Miscellaneous PHP Settings

   - file_uploads enabled: *Yes*

Required IMP Configuration Files

   - config/conf.php: *Yes*
   - config/mime_drivers.php: *Yes*
   - config/prefs.php: *Yes*
   - config/servers.php: *Yes*


   - *PEAR Search Path (PHP's include_path)*:
   - PEAR: *Yes*
   - Recent PEAR: *Yes*
   - Auth_SASL: *Yes*
   - HTTP_Request: *Yes*

More information about the imp mailing list