| GPG-MAIL-TUBE(1) | GNU Privacy Guard 2.4 | GPG-MAIL-TUBE(1) |
gpg-mail-tube - Encrypt rfc822 formatted mail in a pipeline
gpg-mail-tube [options] recipients
gpg-mail-tube takes RFC-822 formatted mail on stdin and turns it into a PGP/MIME encrypted mail which is then written to stdout.
The recipients must be plain mail addresses (e.g. foo@example.org) and should in general list the To and Cc addresses contained in the mail.
gpg-mail-tube understands these options:
The following options can be used in a local transport rule of the Exim MTA which assumes that that check_local_user has been used in the router.
transport_filter = /usr/local/bin/gpg-mail-tube --setenv HOME=${home} \
--no-stderr -- $pipe_addresses
For a remote transport the use of size_addition and an explicit setting of the user and its home directory might be required.
The program returns 0 on a successful encryption or a non-zero value on error. Note that on error some output might have already been written to stdout.
The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command
info gnupg
should give you access to the complete manual including a menu structure and an index.
| 2024-11-22 | GnuPG 2.4.7 |