[imp] Multipart/Alternative Problem

Milan Lesnik milan.lesnik at uni-mb.si
Mon Dec 15 05:53:48 PST 2003


Hi

Yet another multipart/alternative problem.

Our environment:

1. Openvms system, Hp/Compaq tcpip v5.3 eco 2 (latest imap server)
2. Openvms system (same as the above) pmdf v6.0-24 imap server 
(http://www.process.com/techsupport/pmdf.html)
3. Horde 2.2.4, IMP 3.2.2

Our problem:

One sends multipart/alternative with attachment. If imap server is Hp/Compaq's 
tcpip v 5.3 eco 2, Horde/IMP doesn't display parts of the message correctly. 
One sees unnamed part and doesn't see attachment.

When we change imap server to PMDF (everything else is the same) Horde/IMP 
displays parts of the message correctly (for example user can save attachment).

Here are commands from IMAP client and responses of IMAP servers:

PMDF IMAP SERVER:

. FETCH 1 (BODYSTRUCTURE FLAGS)
* 1 FETCH (BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "iso-8859-2") NIL NIL 
"7BIT" 88 2 NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "iso-8859-2") NIL NIL 
"BASE64" 616 10 NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" 
"Boundary_(ID_KUmgj5W7rD2ULVu1cumrpQ)") NIL NIL)("APPLICATION" "MSWORD" 
("NAME" "x.doc") NIL NIL "BASE64" 34 NIL ("ATTACHMENT" ("FILENAME" "x.doc")) 
NIL) "MIXED" ("BOUNDARY" "Boundary_(ID_VXxDtGNZuEqn6oCJM0YdgQ)") NIL NIL) 
FLAGS (\Seen))
. OK FETCH completed


HP/COMPAQ IMAP SERVER:

. FETCH 1 (BODYSTRUCTURE FLAGS)
* 1 FETCH (BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "ISO-8859-2") NIL NIL 
"7BIT" 90 3)("TEXT" "HTML" ("CHARSET" "ISO-8859-2") NIL NIL "BASE64" 618 11) 
ALTERNATIVE)("APPLICATION" "MSWORD" ("NAME" "x.doc") NIL NIL "BASE64" 36) 
MIXED) FLAGS (\Seen))
. OK Fetch completed

We think that Compaq's Imap server doesn't parse the message correctly so imap 
server sends incorrect information back to the client.

Except Pine other Imap clients doesn't have this problem, but we want to 
migrate to Webmail and this is the big problem (we don't have $ to pay 
licenses for the working imap server).

Is it possible to get workaround in IMP (php code modification)?

Milan
-- 
----------------------------------------------------------------------
|Milan Lesnik, system manager         |http://rcum.uni-mb.si/~milan  |
|University Computer Centre, Maribor  |http://www.uni-mb.si/         |
|Tel: +386 2 2355 300                 |email: milan.lesnik at uni-mb.si |
|Fax: +386 2 2355 316                 |DECMail-Slovenia: rcum::milan |
----------------------------------------------------------------------
|    UNIX was not designed to be a secure OS - Sysadmin, June 97     |
----------------------------------------------------------------------




More information about the imp mailing list