I'm trying to create a recipe to decrypt incoming messages automatically
by piping them through gpg --decrypt and replacing the text bounded by
the marker line with the clear text. I figured out that the patterns
to look for are Content-type: application/pgp; x-action=encrypt; format=text
in the headers or possibly -----BEGIN PGP MESSAGE----- in the body and in
the action line | gpg --decrypt but what I am unsure of is what to do
after that. I've looked through all the documentation and helpfull links
and googled and searched the list archives and can't find anything usefull.
The closest I could find was using pgp to do it but the options aren't
quite the same and the action line isn't really doing what I want which
is to preserve all the headers and anything in the message body that isn't
bounded by the BEGIN and END PGP MESSAGE markers. TIA.
--
_____________________________________________________________________
+-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+|
| Charles D. (Chuck) Harding <charding(_at_)llnl(_dot_)gov> Voice:
925-423-8879 ||
| Senior Computer Associate Fax: 925-422-8920 ||
| Integrated Computational Resource Management Group ||
| Computation Directorate, Lawrence Livermore National Laboratory ||
| Livermore, CA USA http://www.llnl.gov GPG Public Key ID: B9EB6601 ||
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
=== Random Tagline by LinuxTaRT 3.03 for Monday, January 13, 2003
Daddy, why doesn't this magnet pick up this floppy disk?
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail