version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
exim_lock |
|
|
2 |
!!!exim_lock |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
AUTHOR |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
exim_lock - A program to lock a file exactly as Exim would |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__exim_lock__ ''[[-v] [[-q] [[-lockfile] [[-fcntl|-mbx] |
|
|
17 |
filename [[command]'' |
|
|
18 |
!!DESCRIPTION |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__exim_lock__ is a program to lock a file in exactly the |
|
|
22 |
same way as Exim would. It is intended for the investigation |
|
|
23 |
of interlocking problems, but can also be used to prevent |
|
|
24 |
Exim from modifying the file while you do something else to |
|
|
25 |
it (for example if you need to manually edit your mailbox in |
|
|
26 |
/var/mail). |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
Apart from specifying the name of the file to lock, which is |
|
|
30 |
required, the following optional arguments may also be |
|
|
31 |
supplied to __exim_lock__ : |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__-v__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
specifies verbose mode (this is overridden if __-q__ is |
|
|
38 |
also specified); |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
__-q__ |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
specifies quiet mode (takes precendence over __-v__ |
|
|
45 |
); |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__-fcntl__ |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
specifies that exim_lock should use an fcntl |
|
|
52 |
lock; |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
__-lockfile__ |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
specifies that exim_lock should use a lock file (sometimes |
|
|
59 |
called a |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
__-mbx__ |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
specifies that exim_lock should lock using MBX rules. To |
|
|
66 |
quote from the source of __exim_lock__ , |
|
|
67 |
__ |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
__command__ |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
specifies the command to run once the specified file is |
|
|
74 |
locked. The mailbox will be unlocked again when this command |
|
|
75 |
exits. |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Note that if these parameters are not specified, then |
|
|
79 |
__exim_lock__ will lock the file using fcntl and lockfile |
|
|
80 |
methods, and then run a shell. |
|
|
81 |
!!SEE ALSO |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
exim(8) |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
There is also extensive documentation available in |
|
|
88 |
''/usr/doc/exim'' and in the __info__ system (try |
|
|
89 |
__ |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
Please be sure to have the __exim-doc__ package |
|
|
93 |
installed. |
|
|
94 |
!!AUTHOR |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
Exim was, and mostly is, written by Philip Hazel, inspired |
|
|
98 |
by Smail 3. |
|
|
99 |
|
|
|
100 |
|
|
|
101 |
This manual page was written by Nick Phillips |
|
|
102 |
---- |