.. _quick_configuration: Quick Configuration ====================== If you just want to get Dovecot running with typical configuration in a typical environment, here's what you'll have to do: .. contents:: :depth: 2 :local: TLDR; Just want it running -------------------------- Here is a very simple basic configuration with single vmail user to be placed in :file:`dovecot.conf`. Please note that some distros split configuration under :file:`/etc/dovecot/conf.d/` which, while it can be useful, is not required. You need to create group vmail and user vmail. .. code-block:: none mail_home=/srv/mail/%Lu mail_location=sdbox:~/Mail ## this is sometimes needed #first_valid_uid = uid-of-vmail-user # if you want to use system users passdb { driver = pam } userdb { driver = passwd args = blocking=no override_fields = uid=vmail gid=vmail } ssl=yes ssl_cert= dovecot.conf Hints about writing configuration files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Usually it does not matter in which file you write the setting. You only need to be aware that later settings replace earlier ones. If you use the same section multiple times, the settings are merged together. * Before v2.3, boolean settings in the plugin section interpreted any value as true, even :literal:`0`, :literal:`no` and :literal:`false`. * To read the content of a file, for instance for the SSL certificate option, prefix the filename with a :literal:`<`, e.g.: .. code-block:: none ssl_cert =