LinuxCommandLibrary

mcheck

TLDR

Check mailcap syntax

$ mcheck [mailcap]
copy
Check default mailcap
$ mcheck ~/.mailcap
copy
Verbose output
$ mcheck -v [mailcap]
copy
Check specific MIME type
$ mcheck -t [image/png] [mailcap]
copy

SYNOPSIS

mcheck [options] [mailcap]

DESCRIPTION

mcheck validates mailcap file syntax. Mailcap defines how MIME types are handled.
The tool identifies errors in mailcap configuration. Useful for debugging email attachment handling.
mcheck validates mailcap files.

PARAMETERS

MAILCAP

Mailcap file to check.
-v
Verbose output.
-t TYPE
Check specific MIME type.
--help
Display help information.

CAVEATS

Mailcap format specific. May be part of metamail. Validates syntax only.

HISTORY

mcheck is part of metamail or mailcap utilities for validating MIME handler configuration.

SEE ALSO

run-mailcap(1), see(1), metamail(1)

Copied to clipboard