14
14
<b>[-v</b>] <i>file command...</i>
17
The <a href="postlock.1.html"><b>postlock</b>(1)</a> command locks <i>file</i> for exclusive access,
18
and executes <i>command</i>. The locking method is compatible
19
with the Postfix UNIX-style local delivery agent.
17
The <a href="postlock.1.html"><b>postlock</b>(1)</a> command locks <i>file</i> for exclusive access, and executes
18
<i>command</i>. The locking method is compatible with the Postfix UNIX-style
23
23
<b>-c</b> <i>config</i><b>_</b><i>dir</i>
24
Read the <a href="postconf.5.html"><b>main.cf</b></a> configuration file in the named
25
directory instead of the default configuration
24
Read the <a href="postconf.5.html"><b>main.cf</b></a> configuration file in the named directory
25
instead of the default configuration directory.
28
27
<b>-l</b> <i>lock</i><b>_</b><i>style</i>
29
Override the locking method specified via the <b><a href="postconf.5.html#mailbox_delivery_lock">mail</a>-</b>
30
<b><a href="postconf.5.html#mailbox_delivery_lock">box_delivery_lock</a></b> configuration parameter (see
28
Override the locking method specified via the <b><a href="postconf.5.html#mailbox_delivery_lock">mailbox_deliv</a>-</b>
29
<b><a href="postconf.5.html#mailbox_delivery_lock">ery_lock</a></b> configuration parameter (see below).
33
<b>-v</b> Enable verbose logging for debugging purposes. Mul-
34
tiple <b>-v</b> options make the software increasingly
31
<b>-v</b> Enable verbose logging for debugging purposes. Multiple <b>-v</b>
32
options make the software increasingly verbose.
39
<i>file</i> A mailbox file. The user should have read/write
36
<i>file</i> A mailbox file. The user should have read/write permission.
43
The command to execute while <i>file</i> is locked for
44
exclusive access. The command is executed
45
directly, i.e. without interpretation by a shell
39
The command to execute while <i>file</i> is locked for exclusive
40
access. The command is executed directly, i.e. without inter-
41
pretation by a shell command interpreter.
49
The result status is 75 (EX_TEMPFAIL) when <a href="postlock.1.html"><b>postlock</b>(1)</a>
50
could not perform the requested operation. Otherwise, the
51
exit status is the exit status from the command.
44
The result status is 75 (EX_TEMPFAIL) when <a href="postlock.1.html"><b>postlock</b>(1)</a> could not per-
45
form the requested operation. Otherwise, the exit status is the exit
46
status from the command.
54
With remote file systems, the ability to acquire a lock
55
does not necessarily eliminate access conflicts. Avoid
56
file access by processes running on different machines.
49
With remote file systems, the ability to acquire a lock does not neces-
50
sarily eliminate access conflicts. Avoid file access by processes run-
51
ning on different machines.
63
58
Enable verbose logging for debugging purposes.
65
60
<b>CONFIGURATION PARAMETERS</b>
66
The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
67
to this program. The text below provides only a parameter
68
summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including exam-
61
The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant to this pro-
62
gram. The text below provides only a parameter summary. See <a href="postconf.5.html"><b>post-</b></a>
63
<a href="postconf.5.html"><b>conf</b>(5)</a> for more details including examples.
71
65
<b>LOCKING CONTROLS</b>
72
66
<b><a href="postconf.5.html#deliver_lock_attempts">deliver_lock_attempts</a> (20)</b>
73
The maximal number of attempts to acquire an exclu-
74
sive lock on a mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile.
67
The maximal number of attempts to acquire an exclusive lock on a
68
mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile.
76
70
<b><a href="postconf.5.html#deliver_lock_delay">deliver_lock_delay</a> (1s)</b>
77
The time between attempts to acquire an exclusive
78
lock on a mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile.
71
The time between attempts to acquire an exclusive lock on a
72
mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile.
80
74
<b><a href="postconf.5.html#stale_lock_time">stale_lock_time</a> (500s)</b>
81
The time after which a stale exclusive mailbox
75
The time after which a stale exclusive mailbox lockfile is
84
78
<b><a href="postconf.5.html#mailbox_delivery_lock">mailbox_delivery_lock</a> (see 'postconf -d' output)</b>
85
How to lock a UNIX-style <a href="local.8.html"><b>local</b>(8)</a> mailbox before
79
How to lock a UNIX-style <a href="local.8.html"><b>local</b>(8)</a> mailbox before attempting
88
82
<b>RESOURCE AND RATE CONTROLS</b>
89
83
<b><a href="postconf.5.html#fork_attempts">fork_attempts</a> (5)</b>
90
The maximal number of attempts to fork() a child
84
The maximal number of attempts to fork() a child process.
93
86
<b><a href="postconf.5.html#fork_delay">fork_delay</a> (1s)</b>
94
The delay between attempts to fork() a child
87
The delay between attempts to fork() a child process.
97
89
<b>MISCELLANEOUS CONTROLS</b>
98
90
<b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
99
The default location of the Postfix <a href="postconf.5.html">main.cf</a> and
100
<a href="master.5.html">master.cf</a> configuration files.
91
The default location of the Postfix <a href="postconf.5.html">main.cf</a> and <a href="master.5.html">master.cf</a> con-
103
95
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
106
The Secure Mailer license must be distributed with this
98
The Secure Mailer license must be distributed with this software.