GPGMAILTUNL(1p) | User Contributed Perl Documentation | GPGMAILTUNL(1p) |
gpgmailtunl - Encrypts an email message into the body of another email.
gpgmailtunl [options] --encrypt | --decrypt
gpgmailtunl is a filter program that either encrypts an email message using the Gnu Privacy Guard and sends it to another recipient or decrypt an email message and forwards unencrypted to another destination.
It can be used to exchange emails across an open network between two trusted systems.
This program is intended to run from program like procmail or sendmail to create an email tunnel between two systems. Of course this is not as secure as using gpg as an end user program, it may be convenient in certain case.
To encapsulates an email within another you pipe the message to gpgmailtunl.
GetOptions( \%opt, "encrypt", "decrypt",
"sign", "secret-file=s", "from=s",
"to=s", "subject=s", "homedir=s",
"local-user=s", "recipient=s", )
or usage;
To extract an email to be forwarded to the final user you pipe the encrypted email to gpgmailtunl using the decrypt switch.
Once decrypted, the encapsulated email message will be sent to the original destinator of the message.
Francis J. Lacoste <francis.lacoste@iNsu.COM>
Copyright (c) 1999, 2000 iNsu Innovations Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
2022-10-13 | perl v5.34.0 |