RE: mail-filter.php and postfix

Jan Schneider <[email protected]> Wed, 26 Jan 2005 17:36:34 +0100
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
Zitat von Jens Hansen <[email protected]>:

> 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/
-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]