# Custom Dovecot configuration. # ---------------------- # Generic configuration. # ---------------------- # Logging & debugging. log_path = /dev/stderr auth_verbose = yes plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size } # Mail directory. mail_location = maildir:/var/mail/virtual/%u mail_privileged_group = virtual mail_uid = 5000 mail_gid = 5000 maildir_stat_dirs = yes # Simplify log messages. login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c mail_log_prefix = "%s(%u)<%{pid}>: " # ---------------------- # Mailbox configuration. # ---------------------- namespace inbox { separator = . prefix = INBOX. inbox = yes mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = create special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { auto = no special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } } # ---------------------- # Protocol configuration. # ---------------------- # Enabled protocols. protocols = imap # Enable SSL and STARTTLS. ssl = yes ssl_min_protocol = TLSv1.2 ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 ssl_prefer_server_ciphers = no ssl_cert =