File: backend-queuedir.html

package info (click to toggle)
mailfront 2.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,072 kB
  • sloc: sh: 5,549; ansic: 5,083; makefile: 35
file content (46 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<body>

<h2><a href="mailfront.html">mailfront</a></h2>

<h1>Backend: queuedir</h1>

<hr />

<p>This backend writes messages into individual files in a named
directory. The files are written to temporary files with unique
filenames and moved into the final directory when the contents are
complete.</p>

<p>The file format is as follows:</p>

<ol>

  <li>The envelope sender address, followed by a NUL byte.</li>
  <li>A list of envelope recipient addresses, each followed by a NUL byte.</li>
  <li>A terminating NUL byte.</li>
  <li>The full message data.</li>

</ol>

<h2>Configuration</h2>

<dl>

<dt><tt>$QUEUEDIR</tt></dt> <dd>The destination top-level directory under which messages are written.</dd>

<dt><tt>$QUEUEDIR_DEST</tt></dt> <dd>The subdirectory
of <tt>$QUEUEDIR</tt> into which completed messages are moved. (defaults
to "new")</dd>

<dt><tt>$QUEUEDIR_NOSYNC</tt></dt> <dd>If set, the destination file is
not synced to disk before the backend reports success.</dd>

<dt><tt>$QUEUEDIR_TMP</tt></dt> <dd>The subdirectory
of <tt>$QUEUEDIR</tt> into which temporary files are written. (defaults
to "tmp")</dd>

</dl>

</body>
</html>