{
    "mode": "man",
    "parameter": "MAIL.MAILUTILS",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/MAIL.MAILUTILS/1/json",
    "generated": "2026-10-22T13:29:01Z",
    "synopsis": "mail.mailutils [OPTION...] [address...]\nmail.mailutils [OPTION...] [OPTION...] [file]\nmail.mailutils [OPTION...] --file [OPTION...] [file]\nmail.mailutils [OPTION...] --file=file [OPTION...]",
    "sections": {
        "NAME": {
            "content": "mail.mailutils - process mail messages\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "mail.mailutils [OPTION...] [address...]\nmail.mailutils [OPTION...] [OPTION...] [file]\nmail.mailutils [OPTION...] --file [OPTION...] [file]\nmail.mailutils [OPTION...] --file=file [OPTION...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "GNU  mail  --  process mail messages.  If -f or --file is given, mail operates on the mailbox\nnamed by the first argument, or the user's mbox, if no argument given.\n",
            "subsections": [
                {
                    "name": "-A --attach",
                    "content": "attach FILE\n",
                    "flag": "-A",
                    "long": "--attach"
                },
                {
                    "name": "-a --append",
                    "content": "",
                    "flag": "-a",
                    "long": "--append"
                },
                {
                    "name": "--[no-]alternative",
                    "content": "force multipart/alternative content type\n\n--attach-fd=FD\nattach from file descriptor FD\n\n--content-filename=NAME\nset the Content-Disposition filename parameter for the next --attach option\n\n--content-name=NAME\nset the Content-Type name parameter for the next --attach option\n\n--content-type=TYPE\nset content type for subsequent --attach options\n"
                },
                {
                    "name": "-E --exec",
                    "content": "execute COMMAND\n",
                    "flag": "-E",
                    "long": "--exec"
                },
                {
                    "name": "-e --exist",
                    "content": "return true if mail exists\n\n--encoding=NAME\nset encoding for subsequent --attach options\n",
                    "flag": "-e",
                    "long": "--exist"
                },
                {
                    "name": "-F --byname",
                    "content": "save messages according to sender\n",
                    "flag": "-F",
                    "long": "--byname"
                },
                {
                    "name": "-H --headers",
                    "content": "write a header summary and exit\n",
                    "flag": "-H",
                    "long": "--headers"
                },
                {
                    "name": "-i --ignore",
                    "content": "ignore interrupts\n",
                    "flag": "-i",
                    "long": "--ignore"
                },
                {
                    "name": "-M --[no-]mime",
                    "content": "compose MIME messages\n",
                    "flag": "-M"
                },
                {
                    "name": "-N --nosum",
                    "content": "do not display initial header summary\n",
                    "flag": "-N",
                    "long": "--nosum"
                },
                {
                    "name": "-n --norc",
                    "content": "do not read the system mailrc file\n",
                    "flag": "-n",
                    "long": "--norc"
                },
                {
                    "name": "-p --print --read",
                    "content": "print all mail to standard output\n",
                    "flag": "-p",
                    "long": "--read"
                },
                {
                    "name": "-q --quit",
                    "content": "cause interrupts to terminate program\n",
                    "flag": "-q",
                    "long": "--quit"
                },
                {
                    "name": "-r --return-address",
                    "content": "use address as the return address when sending mail\n",
                    "flag": "-r",
                    "long": "--return-address"
                },
                {
                    "name": "-s --subject",
                    "content": "send a message with the given SUBJECT\n",
                    "flag": "-s",
                    "long": "--subject"
                },
                {
                    "name": "--[no-]skip-empty-attachments",
                    "content": "skip attachments with empty body\n"
                },
                {
                    "name": "-t --to",
                    "content": "read recipients from the message header\n",
                    "flag": "-t",
                    "long": "--to"
                },
                {
                    "name": "-u --user",
                    "content": "operate on USER's mailbox\n\nGlobal debugging settings\n\n--debug-level=LEVEL\nset Mailutils debugging level\n\n--[no-]debug-line-info show source info with debugging messages\n\nConfiguration handling\n\n--config-file=FILE\nload this configuration file; implies --no-config\n",
                    "flag": "-u",
                    "long": "--user"
                },
                {
                    "name": "--config-lint",
                    "content": "check configuration file syntax and exit\n",
                    "long": "--config-lint"
                },
                {
                    "name": "--config-verbose",
                    "content": "verbosely log parsing of the configuration files\n",
                    "long": "--config-verbose"
                },
                {
                    "name": "--no-config",
                    "content": "do not load site and user configuration files\n",
                    "long": "--no-config"
                },
                {
                    "name": "--no-site-config",
                    "content": "do not load site-wide configuration file\n",
                    "long": "--no-site-config"
                },
                {
                    "name": "--no-user-config",
                    "content": "do not load user configuration file\n\n--set=PARAM=VALUE\nset configuration parameter\n\nInformational options\n",
                    "long": "--no-user-config"
                },
                {
                    "name": "--config-help",
                    "content": "show configuration file summary\n",
                    "long": "--config-help"
                },
                {
                    "name": "--show-config-options",
                    "content": "show compilation options\n\n-?, --help\ngive this help list\n",
                    "long": "--show-config-options"
                },
                {
                    "name": "--usage",
                    "content": "give a short usage message\n",
                    "long": "--usage"
                },
                {
                    "name": "-V --version",
                    "content": "print program version\n\nMandatory or optional arguments to long options are also mandatory or optional for any corre‐\nsponding short options.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-mailutils@gnu.org>.\nGNU Mailutils home page: <http://mailutils.org>\nGeneral help using GNU software: <http://www.gnu.org/gethelp/>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright © 2007-2024 Free Software Foundation, inc.  License GPLv3+: GNU GPL  version  3  or\nlater <http://gnu.org/licenses/gpl.html>\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "The complete GNU mailutils documentation is maintained as a Texinfo manual. If the mailutils-\ndoc package is installed, the command\n\ninfo mailutils\n\nshould give you access to the complete manual.\nYou can also find this manual online in the GNU mailutils webpage:\nhttps://www.gnu.org/software/mailutils/manual/index.html.\nPlease note this manpage was automatically generated by the Debian  mailutils  packagers.  Do\nnot file bugs for its content to the GNU Mailutils upstream authors.\n\nFSF                                          March 2024                            MAIL.MAILUTILS(1)",
            "subsections": []
        }
    },
    "summary": "mail.mailutils - process mail messages",
    "flags": [
        {
            "flag": "-A",
            "long": "--attach",
            "arg": null,
            "description": "attach FILE"
        },
        {
            "flag": "-a",
            "long": "--append",
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "force multipart/alternative content type --attach-fd=FD attach from file descriptor FD --content-filename=NAME set the Content-Disposition filename parameter for the next --attach option --content-name=NAME set the Content-Type name parameter for the next --attach option --content-type=TYPE set content type for subsequent --attach options"
        },
        {
            "flag": "-E",
            "long": "--exec",
            "arg": null,
            "description": "execute COMMAND"
        },
        {
            "flag": "-e",
            "long": "--exist",
            "arg": null,
            "description": "return true if mail exists --encoding=NAME set encoding for subsequent --attach options"
        },
        {
            "flag": "-F",
            "long": "--byname",
            "arg": null,
            "description": "save messages according to sender"
        },
        {
            "flag": "-H",
            "long": "--headers",
            "arg": null,
            "description": "write a header summary and exit"
        },
        {
            "flag": "-i",
            "long": "--ignore",
            "arg": null,
            "description": "ignore interrupts"
        },
        {
            "flag": "-M",
            "long": null,
            "arg": null,
            "description": "compose MIME messages"
        },
        {
            "flag": "-N",
            "long": "--nosum",
            "arg": null,
            "description": "do not display initial header summary"
        },
        {
            "flag": "-n",
            "long": "--norc",
            "arg": null,
            "description": "do not read the system mailrc file"
        },
        {
            "flag": "-p",
            "long": "--read",
            "arg": null,
            "description": "print all mail to standard output"
        },
        {
            "flag": "-q",
            "long": "--quit",
            "arg": null,
            "description": "cause interrupts to terminate program"
        },
        {
            "flag": "-r",
            "long": "--return-address",
            "arg": null,
            "description": "use address as the return address when sending mail"
        },
        {
            "flag": "-s",
            "long": "--subject",
            "arg": null,
            "description": "send a message with the given SUBJECT"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "skip attachments with empty body"
        },
        {
            "flag": "-t",
            "long": "--to",
            "arg": null,
            "description": "read recipients from the message header"
        },
        {
            "flag": "-u",
            "long": "--user",
            "arg": null,
            "description": "operate on USER's mailbox Global debugging settings --debug-level=LEVEL set Mailutils debugging level --[no-]debug-line-info show source info with debugging messages Configuration handling --config-file=FILE load this configuration file; implies --no-config"
        },
        {
            "flag": "",
            "long": "--config-lint",
            "arg": null,
            "description": "check configuration file syntax and exit"
        },
        {
            "flag": "",
            "long": "--config-verbose",
            "arg": null,
            "description": "verbosely log parsing of the configuration files"
        },
        {
            "flag": "",
            "long": "--no-config",
            "arg": null,
            "description": "do not load site and user configuration files"
        },
        {
            "flag": "",
            "long": "--no-site-config",
            "arg": null,
            "description": "do not load site-wide configuration file"
        },
        {
            "flag": "",
            "long": "--no-user-config",
            "arg": null,
            "description": "do not load user configuration file --set=PARAM=VALUE set configuration parameter Informational options"
        },
        {
            "flag": "",
            "long": "--config-help",
            "arg": null,
            "description": "show configuration file summary"
        },
        {
            "flag": "",
            "long": "--show-config-options",
            "arg": null,
            "description": "show compilation options -?, --help give this help list"
        },
        {
            "flag": "",
            "long": "--usage",
            "arg": null,
            "description": "give a short usage message"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print program version Mandatory or optional arguments to long options are also mandatory or optional for any corre‐ sponding short options."
        }
    ],
    "examples": [],
    "see_also": []
}