[imp] pgp and attachments

Jan Schneider jan at horde.org
Wed Jul 14 13:32:05 PDT 2004


Zitat von Orlando Mario Barreneche <ombarreneche at gadast.net>:

> Well I found where the "problem" with the pgp was.
> [14-Jul-2004 15:36:14] PHP Warning:  Invalid argument supplied for
> foreach() in /var/www/mail/bionamed.com/imp/lib/Crypt/PGP.php on line
> 440
> [14-Jul-2004 15:36:14] PHP Notice:  Undefined variable:  result in
> /var/www/mail/bionamed.com/imp/lib/Crypt/PGP.php on line 446
>
> when you configure it through the web, the public pgp servers aren't set
> as an array.. so is simply putting
> $conf['utils']['gnupg_keyserver'] = array('server');
> instead of
> $conf['utils']['gnupg_keyserver'] = 'server';

Works fine here. Make sure everything is up-to-date.

> The other problem with gpg and attachment seems to be the memory limit
> [14-Jul-2004 15:53:07] PHP Fatal error:  Allowed memory size of 33554432
> bytes exhausted (tried to allocate 11102678 bytes) in Unknown on line 0
>
> so it request 111MB for an email with a 1.3mb pgp signed.. isnt that too

11MB, not 111, and that sounds reasonable.

> much? anyways there are problems with the signed attachments i can't
> downloaded. there are no links for do so.. just and small thumbnail of
> the image.

Even if you fix the memory problem?

Jan.

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


More information about the imp mailing list