DOVECONF(1) | Dovecot | DOVECONF(1) |
doveconf - Dovecot's configuration dumping utility
doveconf [-adnPNSx] [-c config-file]
[-f filter] [-m module]
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) and dovecot-lda(1), will first get their settings by executing doveconf.
For system administrators, doveconf is mainly useful for dumping the configuration in easy human readable output.
When 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 service=pop3 -n
doveconf can be also used to convert v1.x configuration files into v2.x format.
doveconf -n -c /oldpath/dovecot.conf > /etc/dovecot/dovecot.conf.new
This example shows how to ask doveconf for a global setting and a protocol specific setting. The second command uses also the -h option, in order to hide the setting's name.
doveconf mail_plugins mail_plugins = quota doveconf -h -f protocol=imap mail_plugins quota imap_quota
This example demonstrates how to dump a whole configuration section.
doveconf dict dict {
quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext }
Or how to dump only the quota dict:
doveconf dict/quota dict/quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html
2014-10-19 | Dovecot v2.3 |