[imp] Attachment Problem - 0KB
Jeff Graves
jeff at image-src.com
Wed May 11 16:32:24 PDT 2005
For anybody seeing these results, the problem is not with your PHP or horde
configuration, rather a bug in your Dovecot IMAP server which has been fixed
since 0.99.12
After hours of debugging, the problems were traced to the PHP
imap_fetchbody() function:
http://www.dovecot.org/pipermail/dovecot/2004-October/004834.html
The bug is related to the FETCH (BODYSTRUCTURE RFC822.SIZE) return value
which was fixed in 0.99.12:
http://www.dovecot.org/list/dovecot/2004-December/005443.html
Jeff Graves, MCSA
Customer Support Engineer
Image Source, Inc.
10 Mill Street
Bellingham, MA 02019
508.966.5200 - Phone
508.966.5170 - Fax
jeff at image-src.com - Email
www.image-src.com
-----Original Message-----
From: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org] On
Behalf Of Jeff Graves
Sent: Tuesday, April 26, 2005 4:05 PM
To: imp at lists.horde.org
Subject: [imp] Attachment Problem - 0KB
I'm having a problem with attachments which I think may be related to my PHP
config.
Windows 2000 IIS
PHP 4.3.11
MSDE 2000 SP3a
Horde 3.0.4
IMP 4.0.3
We had this same issue with a CVS-HEAD version from months ago (July 2004)
and I figured is was just an interim bug. Well I've finally got around to
updating and I'm seeing the same results. All attachments for all messages
end up as a 0KB file when the are downloaded. I cannot view graphic or text
attachments inline either. Their size is reported correctly and their mime
type and name is correct but when I download them, they end up as a 0KB file
on the local system. I first noticed this problem after I had updated PHP to
work with the new version of CVS-HEAD from last year but never got around to
fixing it (as it was a test site). My new test site is producing the same
results though I started from scratch so I must have done the same thing
twice. I checked the simple things like permissions of the PHP temp folder
and PHP error logs - nothing shows up. Any ideas?
Jeff Graves, MCSA
Customer Support Engineer
Image Source, Inc.
10 Mill Street
Bellingham, MA 02019
508.966.5200 - Phone
508.966.5170 - Fax
jeff at image-src.com - Email
www.image-src.com
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org
More information about the imp
mailing list