As of Pine 3.94, premail integrates both outgoing mail and the decryption of plain PGP incoming mail. Unfortunately, decryption of MIME-based mail is not yet supported.
Two Pine configuration options need to be set to integrate premail
(i.e. from the main Pine screen, S
for setup, then C
for configure). First, sendmail-path
should be set to a value
similar to this (substituting the actual path to premail):
/your/path/to/premail -oem -t -oi
Second, display_filters
should be set to a value similar
to this:
_BEGINNING("-----BEGIN PGP")_ /your/path/to/premail -decode -body
If you have trouble finding these options in the setup screen, then you can edit the .pinerc file directly.
One caveat when using Pine: it usually tries to be ``smart'' and
remove comments from e-mail addresses, which includes the double-paren
commands such as ((encrypt-pgp))
. There are a few ways to
deal with this problem:
"(
)"
instead of ((
))
. Note: I think this works, but I haven't tested
it.
To: raph@cs.berkeley.edu ((encrypt-key, sign))
To: raph@cs.berkeley.edu^encrypt-key^sign