Search K
Appearance
Appearance
To use Obox over NFS you need at least NFSv3 capable storage shared to all your backends.
All your hosts must be using clock syncronization. Not using clock synchronization will cause problems.
Mail delivery must be set to use LMTP for deliveries.
You need to provision NFS shares, either all in one, or one for mail, and one for indexes. FTS indexes can be stored in same place as indexes. Recommendation is to have FTS and index shares on fast disk and mail storage can be on slower disk. If all the disks are fast, you can also have all on same share.
plugin {
obox_fs = fscache:1G:/data/fscache:posix:prefix=/data/index/%2LMu/%u/fts/:no-fsync:accurate-mtime:dirs
obox_index_fs = fscache:1G:/data/fscache:posix:prefix=/data/index/%2LMu/:no-fsync:accurate-mtime:dirs
fts_dovecot_fs = fts-cache:fscache:1G:/data/fts-fscache:posix:prefix=/data/index/%2LMu/%u/fts/:no-fsync:accurate-mtime:dirs
}
It is recommended to use encryption and compression with obox and fts indexes for security and performance reasons. See Obox Configuration.
NFS has many tunings, please consult your NFS vendor for details. For Dovecot, these are strongly recommended:
actimeo=60
: This or the more specific settings can be used to control NFS caching. Increasing this can reduce NFS traffic. It should be at least 60 seconds.nordirplus
: Disable readdirplus operations, which aren’t needed by Dovecot. They can also slow down some NFS servers.noatime
: Disable updating atime. Dovecot doesn’t need this and it may slow down NFS servers.root_squash
: Dovecot doesn’t care about this. Typically Dovecot doesn’t store any root-owned files in NFS.nolock
/ local_lock=all
: Dovecot obox format doesn't care about this. There are no locks used on NFS server side.