Quantcast

filemanager and imap problem

classic Classic list List threaded Threaded
14 messages Options
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

filemanager and imap problem

hello.I am a new egroupware user in china.i have two problem need your help.

(1)When i use filemanager,file with english filename is all ok. And the file with filename include chinese character,upload is ok,filename link display is ok,delete is ok,But click the link to download is "404 not found". If i change my IE's character set to GB2312,the whole page display in invalid character,but click the invalid filename link ,the file can download and display.what can i do ?

(2) When i use imap module to display the mail content,the open window display "The mimeparser can not parse this message." what's the problem?

Hope someone can help me , thanks advance.
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

question 1 answer: use IE "advance setting" ---> "send UTF-8 url" ,then the filemanger work ok.
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

This post was updated on .
In reply to this post by gamerobot
the question two is, felamimail can not parse the text/plain content type, why? maybe is a bug? any suggest?

my mail client is foxmail , it send the mail in text/plain type
anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

I presume that you have tnef installed?

For v1.8 you can check in:

domain.com/egroupware/setup/check_install.php

This little utility is required to open up some of the 'proprietary'
attachment formats.

Check:

http://en.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format

for more info.

HTH

On 13/03/2012 03:36, gamerobot wrote:

> the question two is, felamimail can not parse the text/plain contenttype
> ,why?
>
> --
> View this message in context: http://egroupware.219119.n3.nabble.com/filemanager-and-imap-problem-tp3818834p3821222.html
> Sent from the egroupware-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> eGroupWare-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

I already download tnef-1.4.9,and install with

./configure CFLAGS="-O3 -fPIC"
make check
make install

so tnef program install in /usr/local/bin,but egroupware cannot find the program (maybe cause by php environment
),so i link it to /usr/sbin/tnef , the egroupware install check ok.

but after testing, with or  without tnef install, the mail parse is the same.just like that

---------------------------------------------------------------------------------------
mail from website or outlook can be parse,

Received: from ip <1.1.1.1> (as6.inner-111.cn [10.62.8.16])
        by 111.cn (HERMES) with ESMTP id D673A290071
        for <panther@111.cn>; Wed, 14 Mar 2012 14:16:08 +0800 (CST)
HMM_ATTACHE_NUM:0000
HMM_SOURCE_IP:wmail.10.62.8.16.601815337
HMM_SOURCE_TYPE:WEBMAIL
Received: from ip<218.77.16.1> ([218.77.16.1])
        by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331705764.25504 for panther@111.cn
        ;
        Wed Mar 14 14:16:09 2012
0/X-Total-Score: 18:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>, score=<1331705769AIRl32uytMAyMAtMIMMIAM1DLQfcsXkTskTXk1kk1TkT>  
Message-ID: <14677037.44611331705768925.JavaMail.hermes@yt-webmail15>
Date: Wed, 14 Mar 2012 14:16:04 +0800 (CST)
From: zhen@111.cn
To: panther <panther@111.cn>
Subject: test from 111.cn web
MIME-Version: 1.0
Content-Type: multipart/mixed;
        boundary="----=_Part_4433_22703481.1331705764393"
HMM_WEBCLN_IP: 218.77.16.1
X-Priority: 3

------=_Part_4433_22703481.1331705764393
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: base64

PFA+PEJSPjwvUD4NCjxQPjxCUj48L1A+DQo8UD7kvaDlpb08QlI+PC9QPg0KPFA+PEJSPjwvUD48
U1BBTiBpZD1lZGl0RGl2IGNsYXNzPWVkaXRNYWlsPjxTUEFOIGlkPW5vdERyYWZ0PjwvU1BBTj48
U1BBTiBpZD11bmRlclNpZ24+PC9TUEFOPjxTUEFOIGlkPWNvbnRlbnRfb2xkPjwvU1BBTj48L1NQ
QU4+
------=_Part_4433_22703481.1331705764393--

------------------------------------------------------------------------------------------------
And mail from my mailclient foxmail can not be parse:

HMM_SOURCE_IP:10.62.8.16:51550.574403746
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from zhen-PC (as6.inner-111.cn [10.62.8.16])
        by 111.cn (HERMES) with ESMTP id AC55611C106
        for <panther@111.cn>; Wed, 14 Mar 2012 11:36:06 +0800 (CST)
Received: from zhen-PC ([218.77.16.1])
        by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331696162.26777 for panther@111.cn
        ;
        Wed Mar 14 11:36:07 2012
0/X-Total-Score: 5:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>, score=<1331696167MMWMmj6FCV4WsMMCMMVMM4kokMDOgs4voZkkskk4kkvk>  
Date: Wed, 14 Mar 2012 11:36:05 +0800
From: "zhen" <zhen@111.cn>
To: "panther" <panther@111.cn>
Subject: test from no tnef
Message-ID: <201203141136009312471@111.cn>
X-mailer: Foxmail 6, 15, 201, 22 [cn]
Mime-Version: 1.0
Content-Type: text/plain;
        charset="gb2312"
Content-Transfer-Encoding: base64

cGFudGhlcqOsxPq6w6OhDQoNCgkgICAgaGVvDQoNCqGhoaGhoaGhoaGhoaGhoaHWwg0KwPGjoQ0K
IAkJCQkNCg0KoaGhoaGhoaGhoaGhoaGhoXpoZW5nbHENCqGhoaGhoaGhoaGhoaGhoaF6aGVuZ2xx
QDE4OS5jbg0KoaGhoaGhoaGhoaGhoaGhoaGhoaEyMDEyLTAzLTE0DQo=

------------------------------------------------------------------------------------------

thanks for your help !
anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

The error that you're getting looks like a tnef one. I presume that you have the same problem with all emails from Foxmail? Try sending an email from something like Thunderbird:

http://www.mozilla.org/en-US/thunderbird/

and see if you get the same problem. Foxmail:

http://en.wikipedia.org/wiki/Foxmail

is also a bit naughty in that it violates various RFCs, so may also be an issue. (Outlook at least is rfc 822 compliant)

Be aware that the setup process tests for the existence of the binary, and doesn't actually run it. Particularly if you are on a shared server, the permissions/restrictions are different (include path/open base dir and no doubt others). I presume that there are no errors associated with this in your log files?

If you are getting no errors in your log files, then I suspect this is a failure of the felamimail to cope with the attachment, and therefore is presenting it as raw base64.

Worst case scenario is that you get the base-64 gunge and have to manually transalate them:

http://www.motobit.com/util/base64-decoder-encoder.asp

giving:

-------8X------------
<P><BR></P>
<P><BR></P>
<P>ä½ å¥½<BR></P>
<P><BR></P><SPAN id=editDiv class=editMail><SPAN id=notDraft></SPAN><SPAN id=underSign></SPAN><SPAN id=content_old></SPAN></SPAN>
-------8X------------

I notice some funny characters in there - odd? I see that you've tried foxmail  sending 'plain text' rather than html, but can you try selecting a more 'common' character set?

other base64 code gives:
-------8X------------
panther£¬ÄúºÃ£¡

        heo

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
                

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡zhenglq
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[hidden email]
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-03-14
-------8X------------

...the ! marks are because I can't match up the character set correctly, which leads me to think that there may be a character set issue here.

Interestingly also from the Microsoft Website:

http://msdn.microsoft.com/en-us/library/cc815781%28v=office.12%29.aspx

-8X--------------
  • If 25% or more of the characters have the high bit set, the attachment is binary. It is encoded using the Base64 algorithm. Content-type: application/octet-stream (by default; based on file extension)

    Content-Transfer-Encoding: base64

-8X------------------

Being that Foxmail does abuse the standards and possibly also because I suspect you are using a multi-byte char set, everything it sends is probably going to be base64 encoded. You'd need to look at the data stream to the server from the Foxmail client to be 100% sure.

If you haven't got any errors in the log file, then I suspect you need to look at what char sets are available to the felamimail webclient. These will be those that are installed in the system and are available to the webserver concerned. Adding the charsets that you are missing has a fairly good chance of resolving the issue.

HTH

Peter



On 14/03/2012 08:39, gamerobot wrote:
I already download tnef-1.4.9,and install with

./configure CFLAGS="-O3 -fPIC"
make check
make install

so tnef program install in /usr/local/bin,but egroupware cannot find the
program (maybe cause by php environment
),so i link it to /usr/sbin/tnef , the egroupware install check ok.

but after testing, with or  without tnef install, the mail parse is the
same.just like that

---------------------------------------------------------------------------------------
mail from website or outlook can be parse,

Received: from ip <1.1.1.1> (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id D673A290071
	for [hidden email]; Wed, 14 Mar 2012 14:16:08 +0800 (CST)
HMM_ATTACHE_NUM:0000
HMM_SOURCE_IP:wmail.10.62.8.16.601815337
HMM_SOURCE_TYPE:WEBMAIL
Received: from ip<218.77.16.1> ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331705764.25504 for
[hidden email]
	;
	Wed Mar 14 14:16:09 2012
0/X-Total-Score: 18:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331705769AIRl32uytMAyMAtMIMMIAM1DLQfcsXkTskTXk1kk1TkT>  
Message-ID: <14677037.44611331705768925.JavaMail.hermes@yt-webmail15>
Date: Wed, 14 Mar 2012 14:16:04 +0800 (CST)
From: [hidden email]
To: panther [hidden email]
Subject: test from 111.cn web
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4433_22703481.1331705764393"
HMM_WEBCLN_IP: 218.77.16.1
X-Priority: 3

------=_Part_4433_22703481.1331705764393
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: base64

PFA+PEJSPjwvUD4NCjxQPjxCUj48L1A+DQo8UD7kvaDlpb08QlI+PC9QPg0KPFA+PEJSPjwvUD48
U1BBTiBpZD1lZGl0RGl2IGNsYXNzPWVkaXRNYWlsPjxTUEFOIGlkPW5vdERyYWZ0PjwvU1BBTj48
U1BBTiBpZD11bmRlclNpZ24+PC9TUEFOPjxTUEFOIGlkPWNvbnRlbnRfb2xkPjwvU1BBTj48L1NQ
QU4+
------=_Part_4433_22703481.1331705764393--

------------------------------------------------------------------------------------------------
And mail from my mailclient foxmail can not be parse:

HMM_SOURCE_IP:10.62.8.16:51550.574403746
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from zhen-PC (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id AC55611C106
	for [hidden email]; Wed, 14 Mar 2012 11:36:06 +0800 (CST)
Received: from zhen-PC ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331696162.26777 for
[hidden email]
	;
	Wed Mar 14 11:36:07 2012
0/X-Total-Score: 5:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331696167MMWMmj6FCV4WsMMCMMVMM4kokMDOgs4voZkkskk4kkvk>  
Date: Wed, 14 Mar 2012 11:36:05 +0800
From: "zhen" [hidden email]
To: "panther" [hidden email]
Subject: test from no tnef
Message-ID: [hidden email]
X-mailer: Foxmail 6, 15, 201, 22 [cn]
Mime-Version: 1.0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

cGFudGhlcqOsxPq6w6OhDQoNCgkgICAgaGVvDQoNCqGhoaGhoaGhoaGhoaGhoaHWwg0KwPGjoQ0K
IAkJCQkNCg0KoaGhoaGhoaGhoaGhoaGhoXpoZW5nbHENCqGhoaGhoaGhoaGhoaGhoaF6aGVuZ2xx
QDE4OS5jbg0KoaGhoaGhoaGhoaGhoaGhoaGhoaEyMDEyLTAzLTE0DQo=

------------------------------------------------------------------------------------------

thanks for your help !

--
View this message in context: http://egroupware.219119.n3.nabble.com/filemanager-and-imap-problem-tp3818834p3824739.html
Sent from the egroupware-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

Really you should be using UTF-8. See:

http://www.cl.cam.ac.uk/~mgk25/unicode.html

However if you need to support gb2312 it's worth looking at this:

http://tldp.org/HOWTO/Chinese-HOWTO-9.html

Pine version 3.95 and later can read gb2312, so you can check whether the email concerned can be read on the eGroupware system if you have shell access. Unfortunately, the character set for a system is set to a single set defined by the systems locale:

$echo LANG

in order to view. Conversion between other sets can be provided by:

http://www.gnu.org/software/libiconv/

Examples about how to use this are given here:

http://stackoverflow.com/questions/64860/best-way-to-convert-text-files-between-character-sets

but is definitely not something that eGroupware is likely to support!....just me exploring this as a problem.Do you fancy a coding challenge?

HTH

Peter



On 14/03/2012 11:30, [hidden email] wrote:
The error that you're getting looks like a tnef one. I presume that you
have the same problem with all emails from Foxmail? Try sending an email
from something like Thunderbird:

http://www.mozilla.org/en-US/thunderbird/

and see if you get the same problem. Foxmail:

http://en.wikipedia.org/wiki/Foxmail

is also a bit naughty in that it violates various RFCs, so may also be
an issue. (Outlook at least is rfc 822 compliant)

Be aware that the setup process tests for the existence of the binary,
and doesn't actually run it. Particularly if you are on a shared server,
the permissions/restrictions are different (include path/open base dir
and no doubt others). I presume that there are no errors associated with
this in your log files?

If you are getting no errors in your log files, then I suspect this is a
failure of the felamimail to cope with the attachment, and therefore is
presenting it as raw base64.

Worst case scenario is that you get the base-64 gunge and have to
manually transalate them:

http://www.motobit.com/util/base64-decoder-encoder.asp

giving:

-------8X------------
<P><BR></P>
<P><BR></P>
<P>ä½ å¥½<BR></P>
<P><BR></P><SPAN id=editDiv class=editMail><SPAN
id=notDraft></SPAN><SPAN id=underSign></SPAN><SPAN
id=content_old></SPAN></SPAN>
-------8X------------

I notice some funny characters in there - odd? I see that you've tried
foxmail  sending 'plain text' rather than html, but can you try
selecting a more 'common' character set?

other base64 code gives:
-------8X------------
panther£¬ÄúºÃ£¡

        heo

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
                

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡zhenglq
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[hidden email]
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-03-14
-------8X------------

...the ! marks are because I can't match up the character set correctly,
which leads me to think that there may be a character set issue here.

Interestingly also from the Microsoft Website:

http://msdn.microsoft.com/en-us/library/cc815781%28v=office.12%29.aspx

-8X--------------

  *

    If 25% or more of the characters have the high bit set, the
    attachment is binary. It is encoded using the Base64 algorithm.
    /Content-type: application/octet-stream/ (by default; based on file
    extension)

    /Content-Transfer-Encoding: base64/

-8X------------------

Being that Foxmail does abuse the standards and possibly also because I
suspect you are using a multi-byte char set, everything it sends is
probably going to be base64 encoded. You'd need to look at the data
stream to the server from the Foxmail client to be 100% sure.

If you haven't got any errors in the log file, then I suspect you need
to look at what char sets are available to the felamimail webclient.
These will be those that are installed in the system and are available
to the webserver concerned. Adding the charsets that you are missing has
a fairly good chance of resolving the issue.

HTH

Peter



On 14/03/2012 08:39, gamerobot wrote:
I already download tnef-1.4.9,and install with

./configure CFLAGS="-O3 -fPIC"
make check
make install

so tnef program install in /usr/local/bin,but egroupware cannot find the
program (maybe cause by php environment
),so i link it to /usr/sbin/tnef , the egroupware install check ok.

but after testing, with or  without tnef install, the mail parse is the
same.just like that

---------------------------------------------------------------------------------------
mail from website or outlook can be parse,

Received: from ip <1.1.1.1> (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id D673A290071
	for [hidden email]; Wed, 14 Mar 2012 14:16:08 +0800 (CST)
HMM_ATTACHE_NUM:0000
HMM_SOURCE_IP:wmail.10.62.8.16.601815337
HMM_SOURCE_TYPE:WEBMAIL
Received: from ip<218.77.16.1> ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331705764.25504 for
[hidden email]
	;
	Wed Mar 14 14:16:09 2012
0/X-Total-Score: 18:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331705769AIRl32uytMAyMAtMIMMIAM1DLQfcsXkTskTXk1kk1TkT>  
Message-ID: <14677037.44611331705768925.JavaMail.hermes@yt-webmail15>
Date: Wed, 14 Mar 2012 14:16:04 +0800 (CST)
From: [hidden email]
To: panther [hidden email]
Subject: test from 111.cn web
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4433_22703481.1331705764393"
HMM_WEBCLN_IP: 218.77.16.1
X-Priority: 3

------=_Part_4433_22703481.1331705764393
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: base64

PFA+PEJSPjwvUD4NCjxQPjxCUj48L1A+DQo8UD7kvaDlpb08QlI+PC9QPg0KPFA+PEJSPjwvUD48
U1BBTiBpZD1lZGl0RGl2IGNsYXNzPWVkaXRNYWlsPjxTUEFOIGlkPW5vdERyYWZ0PjwvU1BBTj48
U1BBTiBpZD11bmRlclNpZ24+PC9TUEFOPjxTUEFOIGlkPWNvbnRlbnRfb2xkPjwvU1BBTj48L1NQ
QU4+
------=_Part_4433_22703481.1331705764393--

------------------------------------------------------------------------------------------------
And mail from my mailclient foxmail can not be parse:

HMM_SOURCE_IP:10.62.8.16:51550.574403746
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from zhen-PC (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id AC55611C106
	for [hidden email]; Wed, 14 Mar 2012 11:36:06 +0800 (CST)
Received: from zhen-PC ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331696162.26777 for
[hidden email]
	;
	Wed Mar 14 11:36:07 2012
0/X-Total-Score: 5:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331696167MMWMmj6FCV4WsMMCMMVMM4kokMDOgs4voZkkskk4kkvk>  
Date: Wed, 14 Mar 2012 11:36:05 +0800
From: "zhen" [hidden email]
To: "panther" [hidden email]
Subject: test from no tnef
Message-ID: [hidden email]
X-mailer: Foxmail 6, 15, 201, 22 [cn]
Mime-Version: 1.0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

cGFudGhlcqOsxPq6w6OhDQoNCgkgICAgaGVvDQoNCqGhoaGhoaGhoaGhoaGhoaHWwg0KwPGjoQ0K
IAkJCQkNCg0KoaGhoaGhoaGhoaGhoaGhoXpoZW5nbHENCqGhoaGhoaGhoaGhoaGhoaF6aGVuZ2xx
QDE4OS5jbg0KoaGhoaGhoaGhoaGhoaGhoaGhoaEyMDEyLTAzLTE0DQo=

------------------------------------------------------------------------------------------

thanks for your help !

--
View this message in context: http://egroupware.219119.n3.nabble.com/filemanager-and-imap-problem-tp3818834p3824739.html
Sent from the egroupware-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

In reply to this post by anothermouse
$yum install recode

or

$apt-get install recode

or as appropriate for your system supports the translations that you require *BUT* is not integrated into eGroupware.

Perhaps ask someone to code it for you, and return the code to the project? Either pay one of the experts at this site,
or...there's always rentacoder?

www.rentacoder.com
www.elance.com

etc

Sorry, it's not something that I could do, but hopefully you've now got a decent understanding and start point for your problem?

HTH

anothermouse

On 14/03/2012 11:30, [hidden email] wrote:
The error that you're getting looks like a tnef one. I presume that you
have the same problem with all emails from Foxmail? Try sending an email
from something like Thunderbird:

http://www.mozilla.org/en-US/thunderbird/

and see if you get the same problem. Foxmail:

http://en.wikipedia.org/wiki/Foxmail

is also a bit naughty in that it violates various RFCs, so may also be
an issue. (Outlook at least is rfc 822 compliant)

Be aware that the setup process tests for the existence of the binary,
and doesn't actually run it. Particularly if you are on a shared server,
the permissions/restrictions are different (include path/open base dir
and no doubt others). I presume that there are no errors associated with
this in your log files?

If you are getting no errors in your log files, then I suspect this is a
failure of the felamimail to cope with the attachment, and therefore is
presenting it as raw base64.

Worst case scenario is that you get the base-64 gunge and have to
manually transalate them:

http://www.motobit.com/util/base64-decoder-encoder.asp

giving:

-------8X------------
<P><BR></P>
<P><BR></P>
<P>ä½ å¥½<BR></P>
<P><BR></P><SPAN id=editDiv class=editMail><SPAN
id=notDraft></SPAN><SPAN id=underSign></SPAN><SPAN
id=content_old></SPAN></SPAN>
-------8X------------

I notice some funny characters in there - odd? I see that you've tried
foxmail  sending 'plain text' rather than html, but can you try
selecting a more 'common' character set?

other base64 code gives:
-------8X------------
panther£¬ÄúºÃ£¡

        heo

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
                

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡zhenglq
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[hidden email]
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-03-14
-------8X------------

...the ! marks are because I can't match up the character set correctly,
which leads me to think that there may be a character set issue here.

Interestingly also from the Microsoft Website:

http://msdn.microsoft.com/en-us/library/cc815781%28v=office.12%29.aspx

-8X--------------

  *

    If 25% or more of the characters have the high bit set, the
    attachment is binary. It is encoded using the Base64 algorithm.
    /Content-type: application/octet-stream/ (by default; based on file
    extension)

    /Content-Transfer-Encoding: base64/

-8X------------------

Being that Foxmail does abuse the standards and possibly also because I
suspect you are using a multi-byte char set, everything it sends is
probably going to be base64 encoded. You'd need to look at the data
stream to the server from the Foxmail client to be 100% sure.

If you haven't got any errors in the log file, then I suspect you need
to look at what char sets are available to the felamimail webclient.
These will be those that are installed in the system and are available
to the webserver concerned. Adding the charsets that you are missing has
a fairly good chance of resolving the issue.

HTH

Peter



On 14/03/2012 08:39, gamerobot wrote:
I already download tnef-1.4.9,and install with

./configure CFLAGS="-O3 -fPIC"
make check
make install

so tnef program install in /usr/local/bin,but egroupware cannot find the
program (maybe cause by php environment
),so i link it to /usr/sbin/tnef , the egroupware install check ok.

but after testing, with or  without tnef install, the mail parse is the
same.just like that

---------------------------------------------------------------------------------------
mail from website or outlook can be parse,

Received: from ip <1.1.1.1> (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id D673A290071
	for [hidden email]; Wed, 14 Mar 2012 14:16:08 +0800 (CST)
HMM_ATTACHE_NUM:0000
HMM_SOURCE_IP:wmail.10.62.8.16.601815337
HMM_SOURCE_TYPE:WEBMAIL
Received: from ip<218.77.16.1> ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331705764.25504 for
[hidden email]
	;
	Wed Mar 14 14:16:09 2012
0/X-Total-Score: 18:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331705769AIRl32uytMAyMAtMIMMIAM1DLQfcsXkTskTXk1kk1TkT>  
Message-ID: <14677037.44611331705768925.JavaMail.hermes@yt-webmail15>
Date: Wed, 14 Mar 2012 14:16:04 +0800 (CST)
From: [hidden email]
To: panther [hidden email]
Subject: test from 111.cn web
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4433_22703481.1331705764393"
HMM_WEBCLN_IP: 218.77.16.1
X-Priority: 3

------=_Part_4433_22703481.1331705764393
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: base64

PFA+PEJSPjwvUD4NCjxQPjxCUj48L1A+DQo8UD7kvaDlpb08QlI+PC9QPg0KPFA+PEJSPjwvUD48
U1BBTiBpZD1lZGl0RGl2IGNsYXNzPWVkaXRNYWlsPjxTUEFOIGlkPW5vdERyYWZ0PjwvU1BBTj48
U1BBTiBpZD11bmRlclNpZ24+PC9TUEFOPjxTUEFOIGlkPWNvbnRlbnRfb2xkPjwvU1BBTj48L1NQ
QU4+
------=_Part_4433_22703481.1331705764393--

------------------------------------------------------------------------------------------------
And mail from my mailclient foxmail can not be parse:

HMM_SOURCE_IP:10.62.8.16:51550.574403746
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from zhen-PC (as6.inner-111.cn [10.62.8.16])
	by 111.cn (HERMES) with ESMTP id AC55611C106
	for [hidden email]; Wed, 14 Mar 2012 11:36:06 +0800 (CST)
Received: from zhen-PC ([218.77.16.1])
	by 111CN(Yuwen filter gate 10.62.8.16) with ESMTP id 1331696162.26777 for
[hidden email]
	;
	Wed Mar 14 11:36:07 2012
0/X-Total-Score: 5:
X-FILTER-SCORE: to=<91828f958986936152595a4f848f>,
score=<1331696167MMWMmj6FCV4WsMMCMMVMM4kokMDOgs4voZkkskk4kkvk>  
Date: Wed, 14 Mar 2012 11:36:05 +0800
From: "zhen" [hidden email]
To: "panther" [hidden email]
Subject: test from no tnef
Message-ID: [hidden email]
X-mailer: Foxmail 6, 15, 201, 22 [cn]
Mime-Version: 1.0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

cGFudGhlcqOsxPq6w6OhDQoNCgkgICAgaGVvDQoNCqGhoaGhoaGhoaGhoaGhoaHWwg0KwPGjoQ0K
IAkJCQkNCg0KoaGhoaGhoaGhoaGhoaGhoXpoZW5nbHENCqGhoaGhoaGhoaGhoaGhoaF6aGVuZ2xx
QDE4OS5jbg0KoaGhoaGhoaGhoaGhoaGhoaGhoaEyMDEyLTAzLTE0DQo=

------------------------------------------------------------------------------------------

thanks for your help !

--
View this message in context: http://egroupware.219119.n3.nabble.com/filemanager-and-imap-problem-tp3818834p3824739.html
Sent from the egroupware-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

In reply to this post by anothermouse
You are really enthusiastic,thanks.

Now,i try send mail from foxmial, webmail and Thunderbird, the result is :

foxmail--------Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64-------can not parse
foxmail--------Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64---can not parse
foxmial(use html format)--------Content-Type: multipart/related; type="multipart/alternative"
                                           include this type:
                                           Content-Type: multipart/alternative;
                                           Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64
                                           Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64
                                           Content-Type: image/gif; name="spacer.gif"Content-Transfer-Encoding: base64
                                           Content-Type: image/jpeg;name="tl.jpg"  Content-Transfer-Encoding: base64
                                  ---------all modules parse ok ,but didn't view in html layout, the pictures separate to some attachment. but i can see the text content in box.                                            

webclient----Content-Type: multipart/mixed;
                   include:
                  Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: base64--------parse ok

thunderbird--Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit-------can not parse
thunderbird--Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit-------can not parse

so ,i think maybe felamimail can not parse the pure text/plain mail.
somebody else use thunderbird as mailclient, if you meet this problem before?  
Ralf Becker-2 Ralf Becker-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

Hi,

Am 15.03.12 08:37, schrieb gamerobot:

> You are really enthusiastic,thanks.
>
> Now,i try send mail from foxmial, webmail and Thunderbird, the result is :
>
> foxmail--------Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: base64-------can not parse
> foxmail--------Content-Type: text/plain; charset="gb2312"
> Content-Transfer-Encoding: base64---can not parse
> foxmial(use html format)--------Content-Type: multipart/related;
> type="multipart/alternative"
>                                             include this type:
>                                             Content-Type:
> multipart/alternative;
>                                             Content-Type: text/plain;
> charset="gb2312" Content-Transfer-Encoding: base64
>                                             Content-Type: text/html;
> charset="gb2312" Content-Transfer-Encoding: base64
>                                             Content-Type: image/gif;
> name="spacer.gif"Content-Transfer-Encoding: base64
>                                             Content-Type:
> image/jpeg;name="tl.jpg"  Content-Transfer-Encoding: base64
>                                    ---------all modules parse ok ,but didn't
> view in html layout, the pictures separate to some attachment. but i can see
> the text content in box.
>
> webclient----Content-Type: multipart/mixed;
>                     include:
>                    Content-Type: text/html;charset=UTF-8
> Content-Transfer-Encoding: base64--------parse ok
>
> thunderbird--Content-Type: text/plain; charset=GB2312
> Content-Transfer-Encoding: 7bit-------can not parse
> thunderbird--Content-Type: text/plain; charset=GB2312
> Content-Transfer-Encoding: 8bit-------can not parse
>
> so ,i think maybe felamimail can not parse the pure text/plain mail.
> somebody else use thunderbird as mailclient, if you meet this problem
> before?

Felamimail can parse "text/plain; charset=GB2312".

Maybe you lack PHPs multibyte support. You should have mbstring and
iconv extensions installed and mbstring.func_overload has to be set to 7
in your php.ini.

With EGroupware EPL we have some Chinese customers using filemanager and
email.

Ralf
--
Ralf Becker
Director Software Development

Stylite AG

Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30

Email: [hidden email]

www.stylite.de | www.egroupware.org

Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer

Commerzbank BLZ 55040022 | Account 218111300
IBAN DE33 5504 0022 0218 1113 00 | BIC COBADEFFXXX
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

In reply to this post by gamerobot
I'm very interested in this as I am comparing this product as a trial against a number of other solutions. This is auseful set of tests, and definitely of interest, and may indicate more closely a potential problem.

As Ralph Becker has said, clearly 'Felamimail can parse "text/plain; charset=GB2312', as it successfully did it for your html format encoded email. This indicates that the correct charsets and conversion capabilities *ARE* installed on your server.

UTF-8 from the webclient, we'd expect to be fairly standard, so it is no surprise that it is processed correctly.

Knowing how 'non-standards-compliant' foxmail is means that I wouldn't have been surprised by:
-------------8X---------
foxmail--------Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64-------can not parse
foxmail--------Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64---can not parse
-------------8X---------

However, getting this from Thunderbird:
-------------8X---------
thunderbird--Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit-------can not parse
thunderbird--Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit-------can not parse
-------------8X---------

Does concern me. (especially if I'm going to suggest the use of eGroupware to a teaching organisation with multinational connections). Obviously check Ralph Becker's suggestions, but I'd be really interested in looking at how these emails are structured. To that end, I'd be grateful if you could add 'egroupware{at]anothermouse#dot#c om' so I can see what they do on my test installation.  It'd be nice to get the problem duplicated, and I have enough knowledge to skim over the source code if required if I experience the same problems.



philjray philjray
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

Hi,
Out of interest what are you comparing this with?
Phil

On Mar 15, 2012, anothermouse <[hidden email]> wrote:


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
gamerobot gamerobot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

In reply to this post by anothermouse
To that end, I'd be grateful if you could add 'egroupware{at]anothermouse#dot#c om' so I can see what they do on my test installation.

I can't understand what is the  "add"  meanning. Is that send the mail to this mail address?

anothermouse anothermouse
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: filemanager and imap problem

Send the test emails to that address as well. I can then look at what I
get, and whether my egroupware installation can be made to cope with the
base64 encoding.

Regards

anothermouse

On 20/03/2012 06:23, gamerobot wrote:

> To that end, I'd be grateful if you could add
> 'egroupware{at]anothermouse#dot#c om' so I can see what they do on my test
> installation.
>
> I can't understand what is the  "add"  meanning. Is that send the mail to
> this mail address?
>
>
>
> --
> View this message in context: http://egroupware.219119.n3.nabble.com/filemanager-and-imap-problem-tp3818834p3841488.html
> Sent from the egroupware-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> eGroupWare-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-users


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
Loading...