info > postlock(1)

POSTLOCK(1) General Commands Manual POSTLOCK(1)

๐Ÿ“› NAME

postlock - lock mail folder and execute command

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Lock mailbox and run commandpostlock file command...Locks file exclusively and executes command... (no shell interpreter)
Override lock stylepostlock -l lock_style file command...Uses specified lock_style instead of mailbox_delivery_lock parameter
Verbose debuggingpostlock -v file command...Enables verbose logging; multiple -v increase verbosity
Custom config directorypostlock -c config_dir file command...Reads main.cf from config_dir

๐Ÿ“‹ SYNOPSIS

postlock [-c config_dir] [-l lock_style] [-v] file command...

๐Ÿ–‹๏ธ DESCRIPTION

The postlock(1) command locks file for exclusive access, and executes command. The locking method is compatible with the Postfix UNIX-style local delivery agent.

๐Ÿ”ง Options

๐Ÿ“„ Arguments

๐Ÿฉบ DIAGNOSTICS

The result status is 75 (EX_TEMPFAIL) when postlock(1) could not perform the requested operation. Otherwise, the exit status is the exit status from the command.

๐Ÿ› BUGS

With remote file systems, the ability to acquire a lock does not necessarily eliminate access conflicts. Avoid file access by processes running on different machines.

๐ŸŒฟ ENVIRONMENT

โš™๏ธ CONFIGURATION PARAMETERS

The following main.cf parameters are especially relevant to this program. The text below provides only a parameter summary. See postconf(5) for more details including examples.

๐Ÿ”’ LOCKING CONTROLS

๐Ÿ“Š RESOURCE AND RATE CONTROLS

๐Ÿ”ง MISCELLANEOUS CONTROLS

๐Ÿ“š SEE ALSO

๐Ÿ“„ LICENSE

The Secure Mailer license must be distributed with this software.

๐Ÿ‘ค AUTHOR(S)

Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA

Wietse Venema
Google, Inc.
111 8th Avenue
New York, NY 10011, USA

postlock(1)
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ–‹๏ธ DESCRIPTION
๐Ÿ”ง Options ๐Ÿ“„ Arguments
๐Ÿฉบ DIAGNOSTICS ๐Ÿ› BUGS ๐ŸŒฟ ENVIRONMENT โš™๏ธ CONFIGURATION PARAMETERS
๐Ÿ”’ LOCKING CONTROLS ๐Ÿ“Š RESOURCE AND RATE CONTROLS ๐Ÿ”ง MISCELLANEOUS CONTROLS
๐Ÿ“š SEE ALSO ๐Ÿ“„ LICENSE ๐Ÿ‘ค AUTHOR(S)

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-09 19:36 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!