[horde] Reading an e-mail with a TNEF attachment results in a PHP memory exhausted error
Jan Schneider
jan at horde.org
Wed May 6 14:53:36 UTC 2015
Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Paul Griffith <paulg at cse.yorku.ca>:
>
>> Hi Horde Users,
>>
>> I have been trying to debug a issue with a TNEF attachment. The
>> winmail.dat file is only 563KB in size and PHP is configured with a
>> 256MB memory limit. When I try to ready the e-mail, I get the
>> error: "error when communicating with the mail server" and the
>> following in the logs.
>>
>> [Wed May 06 09:49:23 2015] [error] [client xx.xx.xx.xxx] PHP Fatal
>> error: Allowed memory size of 268435456 bytes exhausted (tried to
>> allocate 32 bytes) in /local/horde/pear/php/Horde/ErrorHandler.php
>> on line 156, referer:
>> https://xxx.xxx.xxx.ca/imp/dynamic.php?page=mailbox
>
>
> Unfortunately without more information it's hard to say what the
> issue is. We would need an example .dat file that causes the
> memory_limit to be reached.
It's actually the error handler that exceeds the memory limit. So
first try to reproduce this as a non-admin user, then check for the
real error message.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the horde
mailing list