This is a multi-part message in MIME format. --------------000700000504040102010100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi list, here are some patches for CVS_HEAD. 1) Problem: Mail with pgp-encryption is sent even if there is no pgp-public key found. (see compose.php) 2) I'm not quite sure if the other patch correct the problem in the right way, but anyway here's the problem: On my SuSE linux the language environment variable is set to LANG=de_DE@euro for all users except root. So in my case imp couldn't e. g. check the signature of a mail, because the following answer is expected: gpg: Signature made Fri Feb 14 14:15:57 2003 CET using DSA key ID xxxxxxxx but it gives a localized output: gpg: Unterschrift vom Fre 14 Feb 2003 14:15:57 CET, DSA Schlüssel ID xxxxxxxx Ciao Walter -- oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi......... (Zucchero) :-------W._Tasin,_FB_04,_FHM-------------------PGP-KeyID:0x7961A645---: --------------000700000504040102010100 Content-Type: text/plain; name="compose.patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="compose.patch.diff" --- imp/compose.php Tue Feb 11 23:27:24 2003 +++ imp/compose.php Mon Feb 17 11:21:12 2003 @@ -597,6 +597,7 @@ if (is_a($pgp_part, 'PEAR_Error')) { $get_sig = false; $notification->push(_("PGP Error: ") . $pgp_part->getMessage(), 'horde.error'); + break; } else { $mime->addPart($pgp_part); } --------------000700000504040102010100 Content-Type: text/plain; name="pgp.patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pgp.patch.diff" --- lib/Crypt/pgp.php Fri Jan 17 23:16:00 2003 +++ lib/Crypt/pgp.php Mon Feb 17 13:44:17 2003 @@ -130,7 +130,7 @@ /* Store the location of GnuPG and set common options. */ if (array_key_exists('program', $params)) { - $this->_gnupg = $params['program'] . ' --no-verbose --no-tty --no-secmem-warning --no-options --no-default-keyring --quiet --yes --homedir ' . $this->_tempdir . ' '; + $this->_gnupg = 'LANG= ; '. $params['program'] . ' --no-verbose --no-tty --no-secmem-warning --no-options --no-default-keyring --quiet --yes --homedir ' . $this->_tempdir . ' '; } else { Horde::fatal(new PEAR_Error(_("The location of the GnuPG binary must be given to the Crypt_pgp:: class.")), __FILE__, __LINE__); } --------------000700000504040102010100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscribe@lists.horde.org --------------000700000504040102010100--