DOKK / manpages / debian 11 / maildir-utils / mu-verify.1.en
MU-VERIFY(1) General Commands Manual MU-VERIFY(1)

mu_verify - verify message signatures and display information about them

mu verify [options] <msgfile>

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.

mu verify depends on gpg, and uses the one it finds in your PATH. If you want to use another one, you need to set MU_GPG_PATH to the full path to the desired gpg.

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

To display aggregated (one-line) information about the signatures 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.

mu verify returns 0 when all signatures could be verified to be good, and returns some non-zero error code when this is not the case.

| code | meaning                        |
|------+--------------------------------|
|    0 | ok                             |
|    1 | some non-verified signature(s) |

Please report bugs if you find them: https://github.com/djcb/mu/issues

Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>

mu(1), gpg(1)

June 2015 User Manuals