[imp] Attachments get corrupted when sending mail

Tino Schwarze tino.schwarze at informatik.tu-chemnitz.de
Thu Sep 11 06:18:33 PDT 2003


Hi there,

On Thu, Sep 11, 2003 at 03:05:17PM +0200, Tino Schwarze wrote:

> > > This happened both with HORDE 2.2.1 / IMP 3.2.1 and
> > > HORDE 2.2.4 / IMP 3.2.2. I only get several "file not found" messages in
> > > Apache's error_log when attaching a file - it is displayed correctly in
> > > the compose dialog though.
> > > 
> > > I've set upload_tmp_dir in php.ini but it did not help.
> > 
> > Are you running with safe_mode?  
> 
> No. (Although I probably should.)
> 
> > Is the upload directory owned by the webserver process, with mode
> > 0700?  
> 
> It's /tmp, therefore writeable by anyone.
> 
> > Are your max_file_size settings large enough to accomodate the
> > size of file you're uploading?  
> 
> Yes, it's 2M; the file is only 80k.
> 
> > How about your "memory_limit" settings?  Start with 10MB + (the
> > maximum uploaded file size *1.33).
> 
> It's currently 8M. I'll raise it to 16M.
> 
> > For some reason PHP upload file handler (or some library in the process)
> > wants to keep the whole thing in RAM.  *SIGH*
> 
> I'd like to know where the "file not found" message comes from... It's
> probably from some script.

Nothing seems to help - I still get "file not found" in Apache's
error_log - two every time the "Compose Message" dialog is (re)loaded.

Where can I look next?

Bye+Thanks! Tino.

-- 
             * LINUX - Where do you want to be tomorrow? *
                  http://www.tu-chemnitz.de/linux/tag/


More information about the imp mailing list