DOTLOCK.MAILUTILS(1) User Commands DOTLOCK.MAILUTILS(1)
dotlock.mailutils - lock mail spool files.
| Use Case | Command | Description |
|---|---|---|
| đ Lock a mail spool file | dotlock.mailutils FILE | Create a lock for the specified mail spool file. |
| đ Unlock a mail spool file | dotlock.mailutils -u FILE | Remove the lock file. |
| đĨ Force break an old lock | dotlock.mailutils -f [MINUTES] FILE | Forcibly break a lock older than MINUTES (default 5 if not specified). |
| đ Retry lock with custom retries | dotlock.mailutils -r RETRIES FILE | Retry locking up to RETRIES times. |
| âąī¸ Set delay between retries | dotlock.mailutils -t SECONDS FILE | Set delay between locking attempts (in seconds). |
| đ Enable debug output | dotlock.mailutils -d FILE | Print details of failure reasons to stderr. |
| đ Check lock owner PID | dotlock.mailutils -p FILE | Check if the PID of lock owner is still active. |
dotlock.mailutils [OPTION...] FILE
GNU dotlock -- lock mail spool files.
-d, --[no-]debug đ print details of failure reasons to stderr
-f, --force[=MINUTES] đĨ forcibly break an existing lock older than a certain time
-p, --[no-]pid-check đ check if the PID of lock owner is still active
-r, --retry=RETRIES đ retry the lock a few times
-t, --delay=SECONDS âąī¸ delay between two successive locking attempts (in seconds)
--debug-level=LEVEL đ set Mailutils debugging level
--[no-]debug-line-info đ show source info with debugging messages
--config-file=FILE đ load this configuration file; implies --no-config
--config-lint â check configuration file syntax and exit
--config-verbose đĸ verbosely log parsing of the configuration files
--no-config đĢ do not load site and user configuration files
--no-site-config đĢ do not load site-wide configuration file
--no-user-config đĢ do not load user configuration file
--set=PARAM=VALUE âī¸ set configuration parameter
--config-help đ show configuration file summary
--show-config-options đ ī¸ show compilation options
-?, --help â give this help list
--usage đ give a short usage message
-V, --version âšī¸ print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
| Code | Meaning |
|---|---|
| 0 | â Success |
| 1 | â Other error |
| 3 | đ File already locked |
Report bugs to <bug-mailutils AT gnu.org>.
GNU Mailutils home page: <http://mailutils.org>
General help using GNU software: <http://www.gnu.org/gethelp/>
Copyright Š 2007-2022 Free Software Foundation, inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
The complete GNU mailutils documentation is maintained as a Texinfo manual. If the mailutils-doc package is installed, the command
info mailutils
should give you access to the complete manual.
You can also find this manual online in the GNU mailutils webpage: https://www.gnu.org/software/mailutils/manual/index.html.
Please note this manpage was automatically generated by the Debian mailutils packagers. Do not file bugs for its content to the GNU Mailutils upstream authors.
FSF January 2022 DOTLOCK.MAILUTILS(1)
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 15:01 @216.73.216.75
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)