base_dir = /var/dovecot/
ssl_cert_file = /etc/ssl/certs/mail.crt
ssl_key_file = /etc/ssl/private/mail.key
disable_plaintext_auth = no
login_dir = /var/dovecot/login
login_user = _dovecot
valid_chroot_dirs = /var/spool/postfix/var
default_mail_env = maildir:%h/%u
mmap_no_write = yes
protocol imap {
  imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
auth default {
  mechanisms = plain
  passdb sql {
    args = /etc/dovecot-sql.conf
  }
  userdb static {
    args = uid=32765 gid=32765 home=/var/spool/postfix/var/./mail
  }
  user = _dovecot-auth
  chroot = /var/dovecot/auth
  socket listen {
    client {
      path = /var/spool/postfix/private/dovecot-auth
      mode = 0600
      user = _postfix
    }
  }
}