Horde_Mail_Rfc822 already takes care of array conversion for us
[mms] Correctly encode IDN domains when sending mail (Bug #12116).
Add missing value for sprintf.
Actually return the public s/mime key.

Fixes/enables SENDING s/mime encrypted emails to recipients whose
public keys are locatable in the global address book.
CHANGES
[mms] Fire before/after events in core AJAX javascript code when processing data returned from the server.
Don't display containers as unsubscribed
phpdoc
[mms] Fix verifying signed & encrypted PGP messages (Bug #12100).
Catch bad prefs.php configs (Bug #12121)
make the primary gpg keylength == the subkey length

Horde always generates 1024 bit primary keys. This should be considered
a bug, since by the semantic of all other key generating tools, key
length concerns primary and sub-key.

Signed-off-by: Michael M Slusarz <slusarz@horde.org>

Bug #12099
generate rsa/rsa keys instead of dsa

in accordance with gnupg we should create rsa keys instead of
deprecated dsa/el-gamal keys.

see:
http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025079.html

Signed-off-by: Michael M Slusarz <slusarz@horde.org>

Bug #12099
Remove outdated phpdoc
prefer sha-2 algos over sha-1 in key generation

following the new defaults of gpg.

see
http://lists.gnupg.org/pipermail/gnupg-announce/2009q3/000291.html
below "What's New"

Signed-off-by: Michael M Slusarz <slusarz@horde.org>

Bug #12099
[mms] Improve security in PGP key generation (Request #12099).
Update pt_BR translation.
Fix setting content-id, disposition, and attachment method properties.

Bug: 12123
BFN
Close the imap connection when clearAuthentication() is called.
Unneeded spaces