@fs_defaults
Default | [None] |
---|---|
Value | Groups Includes |
Allowed Values | aws-s3 s3 azure sproxyd nfs |
See Also |
Group that expands to recommended obox plugin fs
settings,
including compression and
encryption. Note that they use
/var/cache/mails
directory, which must be created and be writable to the
mail_uid = vmail
user. Also note that you must configure the
encryption keys. See below for what the groups
expand to.
INFO
@fs_defaults = aws-s3
fs_compress_write_method = zstd
obox {
fs fscache {
path = /var/cache/mails/%{user | sha1 % 4}
size = 512 M
}
fs compress {
}
fs crypt {
}
fs dictmap {
storage_objectid_prefix = %{user}/mails/
}
fs aws-s3 {
}
}
metacache {
fs compress {
}
fs crypt {
}
fs dictmap {
storage_passthrough_paths = full
}
fs aws-s3 {
}
}
@fs_defaults = s3
fs_compress_write_method = zstd
obox {
fs fscache {
path = /var/cache/mails/%{user | sha1 % 4}
size = 512 M
}
fs compress {
}
fs crypt {
}
fs dictmap {
storage_objectid_prefix = %{user}/mails/
}
fs s3 {
}
}
metacache {
fs compress {
}
fs crypt {
}
fs dictmap {
storage_passthrough_paths = full
}
fs s3 {
}
}
@fs_defaults = azure
fs_compress_write_method = zstd
obox {
fs fscache {
path = /var/cache/mails/%{user | sha1 % 4}
size = 512 M
}
fs compress {
}
fs crypt {
}
fs dictmap {
storage_objectid_prefix = %{user}/mails/
}
fs azure {
}
}
metacache {
fs compress {
}
fs crypt {
}
fs dictmap {
storage_passthrough_paths = full
}
fs azure {
}
}
@fs_defaults = sproxyd
fs_compress_write_method = zstd
obox {
fs fscache {
path = /var/cache/mails/%{user | sha1 % 4}
size = 512 M
}
fs compress {
}
fs crypt {
}
fs dictmap {
}
fs sproxyd {
}
}
metacache {
fs compress {
}
fs crypt {
}
fs dictmap {
}
fs sproxyd {
}
}
@fs_defaults = nfs
fs_compress_write_method = zstd
obox {
fs fscache {
path = /var/cache/mails/%{user | sha1 % 4}
size = 512 M
}
fs compress {
}
fs crypt {
}
fs posix {
}
}
metacache {
fs compress {
}
fs crypt {
}
fs posix {
}
}