[imp] Attachment size limit

Josh Trutwin josh at trutwins.homeip.net
Thu Sep 30 18:52:49 PDT 2004


Hi,

Been having odd problems with attachments in Horde/Imp (2.2.6/3.2.6 with PhP 4.3.9/Apache 2.0.51/MySQL 4.0.21 on Linux 2.4.26).  It seems that large attachments sometimes do not get attached.  I figured this was a php memory/post/upload max setting, so I bumped up relevant php.ini settings to something absurd (see http://trutwins.homeip.net/phpinfo.php).  I thought it might be the output buffering setting which was set to 4096, but turning that off didn't change anything either.

My Horde/Imp installation is configured to use VFS stored in a MySQL database.  Oddly enough though when I send a message to myself with a small attachment that actually works, it doesn't appear as if VFS is even used (the horde_vfs table is empty).  After tooling around with the mysql query log I found out that attachments are actually being stored in mysql, but in the horde_sessionhandler table.  The session handler is indeed set to mysql.  

Will it cause problems if both session and vfs are set to use mysql and imp's compose['use_vfs'] is set to true in Imp's config?

Here is a message including headers for a failed attachment (Approx 4MB in size)

<start>
Return-Path: <anita at trutwins.homeip.net>
Delivered-To: josh at trutwins.homeip.net
Received: (qmail 6842 invoked from network); 1 Oct 2004 01:24:01 -0000
Received: from localhost (localhost [127.0.0.1])
  by trutwins.homeip.net ([127.0.0.1])
  with ESMTP via TCP; 01 Oct 2004 01:24:01 -0000
Received: from beethoven.trutwins.homeip.net (beethoven.trutwins.homeip.net [192.168.0.5]) 
        by trutwins.homeip.net (IMP) with HTTP 
        for <anita at localhost>; Thu, 30 Sep 2004 20:24:00 -0500
Message-ID: <1096593840.415cb1b0a5a96 at trutwins.homeip.net>
Date: Thu, 30 Sep 2004 20:24:00 -0500
From: anita at trutwins.homeip.net
To: josh at trutwins.homeip.net
Subject: test
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-MOQ1096593840cb58551d5d88d1f6c27951dc736df136"
User-Agent: Internet Messaging Program (IMP) 3.2.6
X-Originating-IP: 192.168.0.5

This message is in MIME format.

---MOQ1096593840cb58551d5d88d1f6c27951dc736df136
Content-Type: text/plain
Content-Transfer-Encoding: 7bit





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

---MOQ1096593840cb58551d5d88d1f6c27951dc736df136
Content-Type: audio/m4p; name="Reach  (NBC Olympic Version).m4p"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Reach  (NBC Olympic Version).m4p"


---MOQ1096593840cb58551d5d88d1f6c27951dc736df136--

<end>

I have a feeling it's just something dumb, but I cannot be sure.

If there is any additional information I can provide let me know.

Thanks,

Josh


More information about the imp mailing list