OnWorks favicon

doveconf - Online in the Cloud

Run doveconf in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command doveconf that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



doveconf - Dovecot's configuration dumping utility


doveconf [-adnNSx] [-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.


-a Show all settings with their currently configured values.

-c config-file
read configuration from the given config-file. By default
/etc/dovecot/dovecot.conf will be used.

-d Show the setting's default value instead of the one currently configured.

-f filter
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.
Possible names for the filter are:

lname The local hostname, e.g. mail.example.com. This will only match hostnames
which were configured like:
local_name mail.example.com { # special settings }

local The server's hostname or IP address. This will also match hostnames which
were configured like:
local imap.example.net { # special settings }

protocol, service
The protocol, e.g. imap or pop3

remote The client's hostname or IP address.

-h Hide the setting's name, show only the setting's value.

-m module
Show only settings for the given module.
e.g. imap, imap-login, lmtp, pop3 or pop3-login

-n Show only settings with non-default values.

-N Show settings with non-default values and explicitly set default values.

-S Dump settings in simplified machine parsable/readable format.

-x Expand configuration variables (e.g. $mail_plugins ⇒ quota) and show file contents
(from e.g. ssl_cert = </etc/ssl/certs/dovecot.pem).

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.


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= -f remote= -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
<[email protected]>. Information about reporting bugs is available at:

Use doveconf online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • More »

Linux commands