Search K
Appearance
Appearance
doveconf [-adnPNUx] [-c config-file] [-f filter]
doveconf [-n] [-c config-file] section_name ...
doveconf [-h] [-c config-file] [-f filter] setting_name ...
doveconf reads and parses Dovecot's configuration files and converts them into a simpler format used by the rest of Dovecot.
All standalone programs, such as dovecot(1), will first get their settings by executing doveconf, unless they can get the settings by connecting to the config UNIX socket.
For system administrators, doveconf is mainly useful for inspecting the current configuration in an easy human readable format, checking individual settings, and comparing configured values against their defaults.
It can also be used to inspect configuration @groups by querying them directly.
Show all settings with their currently configured values.
Read configuration from the given config-file. By default /etc/dovecot/dovecot.conf will be used.
Show the setting's default value instead of the one currently configured.
This can also be used to show the contents of default setting groups by querying the group name directly, for example:
doveconf -d @mailbox_defaults/english
Show the matching configuration for the specified filter condition. The filter option string has to be given as name = value pair. For multiple filter conditions the -f option can be supplied multiple times.
The local hostname for TLS SNI matching, e.g. mail.example.com.
The local hostname or IP address.
The client's hostname or IP address.
Hide the setting's name, show only the setting's value.
Show only settings with non-default values. This is the default behavior when no other parameters are given.
Show settings with non-default values and explicitly set default values.
Show also hidden settings. The hidden settings should not be changed normally.
Show passwords and other sensitive values.
Ignore all unknown settings in config file.
Expand configuration variables (e.g. $ENV:foo) and show file contents (from e.g. ssl_server_key_password = \</etc/ssl/password.txt).
Show only the current configuration of one or more specified sections.
Show only the setting of one or more setting_name (s) with the
currently configured value. You can show a setting inside a section
using '/' as the section separator, e.g. service/imap/executable.
Show only settings with non-default values (default behavior):
doveconf -nShow all settings with their default values:
doveconf -adShow the contents of a default settings group:
doveconf -d @mailbox_defaults/englishWhen Dovecot was configured to use different settings for some networks/subnets it is possible to show which settings will be applied for a specific connection.
doveconf -f local=10.0.0.110 -f remote=10.11.1.2 -f protocol=pop3 -ndoveconf can be also used to convert v1.x configuration files into v2.x format.
doveconf -n -c /oldpath/dovecot.conf > /etc/dovecot/dovecot.conf.newAsk doveconf for a global setting:
doveconf mail_pluginsmail_plugins = quotaAsk doveconf for a protocol specific setting. Uses the -h option, in order to hide the setting's name:
doveconf -h -f protocol=imap login_greetingDovecot ready.Dump a whole configuration section:
doveconf serviceservice imap {
...
}
service pop3 {
...
}Or dump only the imap service:
doveconf service/imapservice imap {
...
}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