Files
mu4e/man/mu-verify.1.org
Dirk-Jan C. Binnema 6b1358ea48 mu: tidy up commands
Fix some typos, small errors, debug leftovers. Removed unused
mu-cmd-count.cc. Improve test-coverage. Fix manpage.

Make the errors for unknown commands a little friendlier.
2026-08-20 15:05:31 -07:00

1.8 KiB
Raw Blame History

MU VERIFY

NAME

mu-verify - verify message signatures and display information about them

SYNOPSIS

mu [_COMMON-OPTIONS_] verify [_OPTIONS_] [_FILE_…]

DESCRIPTION

mu verify is the mu command for verifying message signatures (such as PGP/GPG signatures) and displaying information about them. The sub-command works on message files, and does not require the message to be indexed in the database.

If no message file is provided, the command expects the message on standard-input.

VERIFY OPTIONS

-r, auto-retrieve

Attempt to find keys online (see the auto-key-retrieve option in the documentation).

decrypt

Attempt to decrypt the message.

EXAMPLES

To display aggregated (one-line) information about the verification status in a message:

$ mu verify msgfile

To display information about all the signatures:

$ mu verify --verbose msgfile

If you only want to use the exit code, you can use:

$ mu verify --quiet msgfile

which does not give any output unless there is an error.

EXIT CODE

This command returns 0 when all signatures could be verified successfully, or a non-zero exit code otherwise.

  1. success; all signatures were verified
  2. verification failed; at least one signature was bad, or could not be verified. The latter includes messages without any signed parts, signed parts without verifiable signatures and failures to set up the crypto machinery for verification.

SEE ALSO