Skip to main content
Version: 0.16

Filesystem

For single-node installations, Stalwart can store email bodies and other blobs directly on the local filesystem. A hashed directory layout distributes files into nested subdirectories to avoid the performance issues that arise when a single directory contains a very large number of files.

Configuration

The filesystem backend is selected by choosing the FileSystem variant on the BlobStore object (found in the WebUI under Settings › Storage › Blob Store). The variant exposes the following fields:

  • path: filesystem path where blobs are stored (required).
  • depth: maximum depth of the nested directory hierarchy. Default: 2.