[imp] Problem with missing boundary in Content-Type header

Tom Leach leach at coas.oregonstate.edu
Thu Sep 14 17:17:01 PDT 2006


I'm having a problem with IMP that I know I'm just being a noob on, but I 
haven't been able to figure out what I botched.  Looked in the FAQ and the 
last few months of mail archives but nothing about this.
Progs:
Horde 3.1.2stable and 3.1.3stable
IMP 4.1.2stable and 4.1.3stable
PHP 5.1.6
UofW imap-2004g

Problem, using IMP, in NewMessage window, send a message to my account, 
attach /etc/motd as attachment, and send.
When I read the message in IMP, the text of the message shows:
       "There are no parts that can be displayed inline."

If I go into the raw mailbox, I see a missing 'boundary' statement in 
the Content-Type: header.
(what I get): Content-Type: multipart/mixed;
(what I expect:) Content-Type: multipart/mixed; boundary="=_x2vs1w4etms"
I'm getting the --=_x2vs1w4etms boundary between MIME parts, just not in 
the Content-type header.  If I manually insert: boundary="=_x2vs1w4etms"
and stuff it back in my raw mailbox, the message displays fine, and the 
attachment can be viewed.

I thought it was a config that I screwed up, so I moved everything out of 
the way, brought down a fresh horde and imp tarball, extracted it and 
config'd from scratch.  No joy.
I know it's something stupid that I'm doing but I don't know where else to 
look.

Any pointers?
Tom Leach
leach at coas.oregonstate.edu

Here is the full, raw message, with some info redacted.  Note missing
boundary="=_s93qb803rwg":

>From wburt2 at xxx Thu Sep 14 17:12:45 2006
Message-ID: <20060914171246.f4kvm1tcaoskcskc at webmail.xxx>
Date: Thu, 14 Sep 2006 17:12:46 -0700
From: wburt2 at xxx
To: wburt2 at xxx
Subject: test motd attachment
MIME-Version: 1.0
Content-Type: multipart/mixed;
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.1.3)
Content-Length: 597
Status: RO
X-Status:
X-Keywords:
X-UID: 1524

This message is in MIME format.

--=_s93qb803rwg
Content-Type: text/plain;
         charset=ISO-8859-1;
         DelSp="Yes";
         format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

This is a test message with /etc/motd attached

--=_s93qb803rwg
Content-Type: application/octet-stream;
         name="motd"
Content-Disposition: attachment;
         filename="motd"
Content-Transfer-Encoding: 7bit

Sun Microsystems Inc.   SunOS 5.9       Generic May 2002

--=_s93qb803rwg--

-------



More information about the imp mailing list