[imp] pgp and attachments

Orlando Mario Barreneche ombarreneche at gadast.net
Wed Jul 14 12:55:09 PDT 2004


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';

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
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.



More information about the imp mailing list