doveadm-fscache¶
NAME¶
doveadm-fscache - Utility actions for Dovecot’s local fscache storage
SYNOPSIS¶
doveadm [GLOBAL OPTIONS] fscache command [arguments]
DESCRIPTION¶
doveadm fscache can be used to run actions that interact with and modify Dovecot’s local fscache storage.
GLOBAL OPTIONS¶
Global doveadm(1) options:
- -D
Enables verbosity and debug messages.
- -O
Do not read any config file, just use defaults.
- -k
Preserve entire environment for doveadm, not just
import_environment
.- -v
Enables verbosity, including progress counter.
- -i instance-name
If using multiple Dovecot instances, choose the config file based on this instance name. See
instance_name
setting for more information.- -c config-file
Read configuration from the given config-file. By default it first reads config socket, and then falls back to /etc/dovecot/dovecot.conf. You can also point this to config socket of some instance running compatible version.
- -o setting=value
Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
- -f formatter
Specifies the formatter for formatting the output. Supported formatters are:
- flow
prints each line with key=value pairs.
- pager
prints each key: value pair on its own line and separates records with form feed character (^L).
- tab
prints a table header followed by tab separated value lines.
- table
prints a table header followed by adjusted value lines.
OPTIONS¶
- -S socket_path
The option’s argument is either an absolute path to a local UNIX domain socket, or a hostname and port (hostname:port), in order to connect a remote host via a TCP socket.
This allows an administrator to execute doveadm(1) mail commands through the given socket.
COMMANDS¶
fscache rescan¶
doveadm fscache rescan [-S socket_path] path [ max_age ]
Scans data in the fscache to recalculate the used storage space.
If the max_age parameter is provided, files found with mtime older than this value are deleted from the cache.
EXAMPLE¶
Rescan fscache to update cached size.
doveadm fscache rescan /path/to/fscache
REPORTING BUGS¶
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: https://dovecot.org/bugreport.html