Dovecot configuration files

Details of the dovecot

Following is the example of Dovecot on Debian. You can see the lines that are added by the control panel. Dovecot 2 saves various configurations in the conf.d directory, if you run Debian, the full path is /etc/dovecot/conf.d/.


activate the file dovecot-passwd:

 !include auth-passwdfile.conf.ext

enable authorization withou encryption:

 disable_plaintext_auth = no

define encryption mechanisms:

 auth_mechanisms = plain login digest-md5 cram-md5


activate the file dovecot-passwd:

 passdb {
   driver = passwd-file
   args = scheme=CRYPT username_format=%Lu /etc/dovecot/dovecot.passwd
 userdb {
   args = username_format=%Lu /etc/dovecot/dovecot.passwd


use the mechanism in Maildir:

 mail_location = maildir:~/.maildir

enable the quota plug-in:

 mail_plugins = $mail_plugins quota


activate TLS:

 ssl = yes


activate quota plug-ins:

  protocol imap {
   mail_plugins = $mail_plugins imap_quota


socket for authorization (for dovecot-lda):

 unix_listener auth-userdb {
   mode = 0666

if Exim uses authentication through Dovecot:

   unix_listener auth-client {
     mode = 0660
     user = Debian-exim
     group = Debian-exim

if postfix uses authentication through Dovecot:

   unix_listener /var/spool/postfix/private/auth {
     mode = 0666


 protocol lda {
    mail_plugins = $mail_plugins quota sieve
  • quota - enable quota counting in dovecot-lda
  • sieve - enable sieve sorter plug-in in dovecot-lda (if sieve is activate in the panel)


enable quota in Maildir using values from dovecot-passwd

 plugin {
   quota = maildir:User quota

Was this answer helpful?

 Print this Article

Also Read

Background tasks

A Background task is a task performed in the system for a long period of time. In the...

Working with API

Authentication methods Session unique ID authentication You can use this method when working...

Logs rotation

How logs rotation works By default for logs rotation ISPmanager 5 uses...

ISPmanager Lite database structure

This article describes tables of the internal database of ISPmanager Lite. The description is...

Integration with ISPmanager

Add a new user in DNSmanager for each server running ISPmanager. Disable apparmor or...