7
lock mail folder and execute command
12
\fBpostlock\fR [\fB-c \fIconfig_dir\fB] [\fB-l \fIlock_style\fB]
13
[\fB-v\fR] \fIfile command...\fR
17
The \fBpostlock\fR command locks \fIfile\fR for exclusive
18
access, and executes \fIcommand\fR. The locking method is
19
compatible with the Postfix UNIX-style local delivery agent.
22
.IP "\fB-c \fIconfig_dir\fR"
23
Read the \fBmain.cf\fR configuration file in the named directory
24
instead of the default configuration directory.
25
.IP "\fB-l \fIlock_style\fR"
26
Override the locking method specified via the
27
\fBmailbox_delivery_lock\fR configuration parameter (see below).
29
Enable verbose logging for debugging purposes. Multiple \fB-v\fR
30
options make the software increasingly verbose.
34
A mailbox file. The user should have read/write permission.
36
The command to execute while \fIfile\fR is locked for exclusive
37
access. The command is executed directly, i.e. without
38
interpretation by a shell command interpreter.
42
The result status is 75 (EX_TEMPFAIL) when \fBpostlock\fR
43
could not perform the requested operation. Otherwise, the
44
exit status is the exit status from the command.
48
With remote file systems, the ability to acquire a lock does not
49
necessarily eliminate access conflicts. Avoid file access by
50
processes running on different machines.
57
Directory with Postfix configuration files.
58
.IP \fBMAIL_VERBOSE\fR
59
Enable verbose logging for debugging purposes.
60
.SH "CONFIGURATION PARAMETERS"
65
The following \fBmain.cf\fR parameters are especially relevant to
67
The text below provides only a parameter summary. See
68
postconf(5) for more details including examples.
69
.SH "LOCKING CONTROLS"
74
.IP "\fBdeliver_lock_attempts (20)\fR"
75
The maximal number of attempts to acquire an exclusive lock on a
76
mailbox file or bounce(8) logfile.
77
.IP "\fBdeliver_lock_delay (1s)\fR"
78
The time between attempts to acquire an exclusive lock on a mailbox
79
file or bounce(8) logfile.
80
.IP "\fBstale_lock_time (500s)\fR"
81
The time after which a stale exclusive mailbox lockfile is removed.
82
.IP "\fBmailbox_delivery_lock (see 'postconf -d' output)\fR"
83
How to lock a UNIX-style local(8) mailbox before attempting delivery.
84
.SH "RESOURCE AND RATE CONTROLS"
89
.IP "\fBfork_attempts (5)\fR"
90
The maximal number of attempts to fork() a child process.
91
.IP "\fBfork_delay (1s)\fR"
92
The delay between attempts to fork() a child process.
93
.SH "MISCELLANEOUS CONTROLS"
98
.IP "\fBconfig_directory (see 'postconf -d' output)\fR"
99
The default location of the Postfix main.cf and master.cf
104
postconf(5), configuration parameters
110
The Secure Mailer license must be distributed with this software.
115
IBM T.J. Watson Research
117
Yorktown Heights, NY 10598, USA