OS Manuals

/usr/bin/gpg-mail-tube

GNU Privacy Guard 2 - utility programs

From gnupg-fips-utils 2.4.9-r13 (enterprise-packages), captured 2026-11-08 by running gpg-mail-tube --help (exit 0). permalink

gpg-mail-tube (GnuPG) 2.4.9
Copyright (C) 2025 g10 Code GmbH
License GNU LGPL-2.1-or-later <https://gnu.org/licenses/>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Syntax: gpg-mail-tube [options]
Tool to encrypt rfc822 formatted mail in a pipeline


Options:

 -v, --verbose             verbose
 -q, --quiet               be somewhat more quiet
     --header NAME=VALUE   add "NAME: VALUE" as header to all mails
     --setenv NAME=VALUE   set envvar NAME to VALUE
     --vsd                 run the vsd installation of gpg
     --log-file FILE       write diagnostics to FILE
     --no-stderr           suppress all output to stderr
 -a, --as-attachment       attach the encrypted mail

Please report bugs to <https://bugs.gnupg.org>.
Options (12)
OptionDescriptionSource
-v, --verboseEnable extra informational output.help + man + man
-q, --quietTry to be as quiet as possible.help + man + man
--header NAME=VALUEAdd the mail header "name: value" to the output.help + man
--setenv NAME=VALUEPut the given environment string into the environment of this process and of the called gpg.help + man
--vsdUse the gpg from a GnuPG VS-Desktop® AppImage.help + man
--log-file FILEwrite diagnostics to FILEhelp + man
--no-stderrSuppresses all output to stderr.help + man
-a, --as-attachmentDo not write a PGP/MIME mail but emit a simple body along with an attachment containing the encrypted body of the input mail.help + man
--as-attach (in the manual page but not in --help)man
--gpg gpgcmdUse the specified command gpgcmd instead of gpg. (in the manual page but not in --help)man
--versionPrint version of the program and exit. (in the manual page but not in --help)man
--helpDisplay a brief help page and exit. (in the manual page but not in --help)man
Exit status (1) from the manual page
0a successful encryption or a non-zero value on error
Examples (1) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.