comparison man/masqmail.conf.5 @ 421:f37384470855

Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup. Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk we do well to have the lock files there.) Added the new configure option --with-lockdir to change that location. Nontheless, if we run_as_user, then lock files are always stored in the spool dir directly. Instead of installing the lockdir and piddir at installation time, we create them on startup time now if they are missing. This is necessary if lockdir or piddir are a tmpfs.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 09:38:38 +0200
parents 4cbaf6d6793f
children bdbedce60247
comparison
equal deleted inserted replaced
420:09da6e72cd30 421:f37384470855
90 90
91 .TP 91 .TP
92 \fBspool_dir = \fIfile\fR 92 \fBspool_dir = \fIfile\fR
93 93
94 The directory where masqmail stores its spool files 94 The directory where masqmail stores its spool files
95 (and later also other stuff). 95 (and lock files if \fIrun_as_user\fP).
96 It must have a subdirectory \fIinput\fR. 96 It must have a subdirectory \fIinput\fR.
97 Masqmail needs read and write permissions for this directory. 97 Masqmail needs read and write permissions for this directory.
98 \fIfile\fR must be an absolute path. 98 \fIfile\fR must be an absolute path.
99 99
100 Default: \fI/var/spool/masqmail\fR 100 Default: \fI/var/spool/masqmail\fR
102 .TP 102 .TP
103 \fBlock_dir = \fIfile\fR 103 \fBlock_dir = \fIfile\fR
104 104
105 The directory where masqmail stores its lock files. 105 The directory where masqmail stores its lock files.
106 Masqmail needs read and write permissions for this directory. 106 Masqmail needs read and write permissions for this directory.
107 By default it is a directory ``lock'' inside of \fIspool_dir\fP. 107 The default is \fI/var/lock/masqmail\fR for normal operation.
108 \fIfile\fR must be an absolute path. 108 \fIfile\fR must be an absolute path.
109 The directory is created on startup if yet missing.
110
111 If \fIrun_as_user\fP then lock files are stored in the \fIspool_dir\fP
112 directly and the \fBlock_dir\fP setting is ignored.
109 113
110 .TP 114 .TP
111 \fBhost_name = \fIstring\fR 115 \fBhost_name = \fIstring\fR
112 116
113 This is used in different places: Masqmail identifies itself in 117 This is used in different places: Masqmail identifies itself in