{
    "mode": "man",
    "parameter": "dotlock.mailutils",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/dotlock.mailutils/1/json",
    "generated": "2026-06-02T20:22:08Z",
    "synopsis": "dotlock.mailutils [OPTION...] FILE",
    "sections": {
        "NAME": {
            "content": "dotlock.mailutils - lock mail spool files.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "dotlock.mailutils [OPTION...] FILE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "GNU dotlock -- lock mail spool files.\n",
            "subsections": [
                {
                    "name": "-d --[no-]debug",
                    "content": "print details of failure reasons to stderr\n",
                    "flag": "-d"
                },
                {
                    "name": "-f --force",
                    "content": "forcibly break an existing lock older than a certain time\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-p --[no-]pid-check",
                    "content": "check if the PID of lock owner is still active\n",
                    "flag": "-p"
                },
                {
                    "name": "-r --retry",
                    "content": "retry the lock a few times\n",
                    "flag": "-r",
                    "long": "--retry"
                },
                {
                    "name": "-t --delay",
                    "content": "delay between two successive locking attempts (in seconds)\n",
                    "flag": "-t",
                    "long": "--delay"
                },
                {
                    "name": "-u --[no-]unlock",
                    "content": "unlock\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"
                },
                {
                    "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\nReturns 0 on success, 3 if locking the file fails because it's already locked, and 1 if  some\nother kind of error occurred.\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-2022  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\n\n\nFSF                                         January 2022                        DOTLOCK.MAILUTILS(1)",
            "subsections": []
        }
    },
    "summary": "dotlock.mailutils - lock mail spool files.",
    "flags": [
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": "print details of failure reasons to stderr"
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "forcibly break an existing lock older than a certain time"
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "check if the PID of lock owner is still active"
        },
        {
            "flag": "-r",
            "long": "--retry",
            "arg": null,
            "description": "retry the lock a few times"
        },
        {
            "flag": "-t",
            "long": "--delay",
            "arg": null,
            "description": "delay between two successive locking attempts (in seconds)"
        },
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": "unlock 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. Returns 0 on success, 3 if locking the file fails because it's already locked, and 1 if some other kind of error occurred."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "DOTLOCK.MAILUTILS",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/DOTLOCK.MAILUTILS/1/json"
        }
    ]
}