protocols = imap imaps listen = * login_process_size = 64 default_mail_env = maildir:/usr/local/virtual/%u/ namespace private { separator = . prefix = INBOX. inbox = yes } namespace private { separator = . prefix = inbox = yes hidden = yes } mail_extra_groups = postfix verbose_proctitle = yes first_valid_uid = 125 first_valid_gid = 125 #umask = 0077 mbox_read_locks = fcntl mbox_write_locks = fcntl ssl_disable = no ssl_cert_file = /etc/ssl/certs/postfix/your cert file ssl_key_file = /etc/ssl/certs/postfix/your cert file # If key file is password protected, give the password here. Alternatively # give it when starting dovecot with -p parameter. disable_plaintext_auth = no ssl_key_password = protocols = imap imaps pop3 protocol imap { imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep } #People who use outlook are fux0red anyway... protocol pop3 { pop3_uidl_format = %08Xu%08Xv pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } protocol lda { postmaster_address = postmaster@yourdomain.tld sendmail_path = /usr/local/sbin/sendmail } auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth_debug = yes auth_verbose = yes auth default { passdb sql { args = /usr/local/etc/dovecot-mysql.conf } userdb sql { args = /usr/local/etc/dovecot-mysql.conf } }