[whups] mail-filter.php and postfix

Jan Schneider jan at horde.org
Wed Jan 26 08:36:34 PST 2005


Zitat von Jens Hansen <mailinglists at eminenz.ath.cx>:

> Jan, now i tried 300M, same error:
>
> when i pipe a simple "hello" to the script, the same happens:
>
> echo hello | /srv/www/htdocs/horde/whups/scripts/mail-filter.php --queue
> Supportanfrage --type Emailanfrage --priority Low --state Unconfirmed
>
> Allowed memory size of 314572800 bytes exhausted (tried to allocate 10240
> bytes)
>
> I think it loops while reading the message, but i don't know php.

I doubt that, unless the message is 300MB in size.

> // Read and parse the message.
> $text = '';
> while (!feof(STDIN)) {
>     $text .= fgets(STDIN, 512);
> }

Please create a bug ticket at bugs.horde.org and upload the message you use.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the whups mailing list