[imp] over 800kb Attachment problems
Antonio Guerrieri
ant at ultra5.unile.it
Fri Dec 19 05:21:33 PST 2003
Dear Eric,
On 18 dic 2003, at 17:15, Eric Rostetter wrote:
> Quoting Antonio Guerrieri <ant at mailing.unile.it>:
>
>> SquirrelMail works well with this php.ini and apache settings...
>> so it is not a php or apache problem...
>
> This is not a logical statement.
Hummmm...
> I can write two programs.
> I run two versions of horde on the same web server. Same php, same
> php.ini, same apache, same server. One works. The other doesn't.
> But that doesn't mean the problem is in horde. The problem *is* in
> php (a segmentation fault when it calls a php imap call).
Perhaps imp use a different way to handle imap... I haven't compared
the source of imp and sm...
> Just because
> one works and one doesn't in no way means that the problem is in the
> program, and not in apache/php/imapd/etc.
>
>> The problem is with horde/imp 2.2.4/3.2.2 the previous version worked
>> well...
>
> Then you either need to get this version working,
It is what I'm doing... :-)
> or go back to a
> previous version that worked.
It was (is) on a RH 7.3 with apache 1.3.27 an PHP 4.1.2 (!)... I would
upgrade...
>
>> I have tried any possible settings also with 100MB!
>> for max_upload, memory_limit and post_max_size in php.ini
>> but imp sends the message with a 0Bytes attach if it is greater than
>> ~800K.
>
> This can be caused by problems in apache configuration or php
> configuration
> if you are using apache 2.x. It could be a problem elsewhere. Not
> sure.
I don't want to repeat myself but, doesn't it seem strange to you that
the same configuration works well with another program (at least)?
>
> I'd need to know more about your setup. Maybe you posted the needed
> info,
> maybe not. If you did, I missed it (I've taken a lot of vacation time
> lately, and tend to ignore the list when I'm on vacation).
After some attempts I have performed a PHP "make clean" and rebuild
from the scratch.
Probably I was using the original RH configuration layout and files...
Now php use /usr/lib/php.ini created from the original distibution.
After this I don't see anymore strange errors and worning at apache
startup
but the problem with imp is not solved...
>
>> PHP Warning: filesize(): Stat failed for /tmp/impattAq3KNu (errno=2 -
>> No such file or directory) in
>> /usr/local/apache2/htdocs/horde/imp-3.2.2/compose.php on line 330,
>> referer:
>> https://astrid.unile.it/horde/imp/compose.php?
>> uniq=9357328493fd9bb4039cf71071234059892
>
> This can happen if you run apache 2.x with php as a filter, and if you
> tell apache to use php as both a filter and a handler. This is a
> common
> mistake in particular on Red Hat 8 and later configurations...
How can I check this?
>
> Of course it could be something else also. All it really says is the
> uploaded file is missing or unreadable.
File is correctly created with the right size but it is (I think)
unreadable.
Antonio
More information about the imp
mailing list