Backend: queuedir
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.
The file format is as follows:
- The envelope sender address, followed by a NUL byte.
- A list of envelope recipient addresses, each followed by a NUL byte.
- A terminating NUL byte.
- The full message data.
Configuration
- $QUEUEDIR
- The destination top-level directory under which messages are written.
- $QUEUEDIR_DEST
- The subdirectory
of $QUEUEDIR into which completed messages are moved. (defaults
to "new")
- $QUEUEDIR_NOSYNC
- If set, the destination file is
not synced to disk before the backend reports success.
- $QUEUEDIR_TMP
- The subdirectory
of $QUEUEDIR into which temporary files are written. (defaults
to "tmp")