dovecot_config_version = "2.4.1" dovecot_storage_version = "2.4.1" listen = *,[::] protocols = imap lmtp ssl = required ssl_server_cert_file = /etc/x509/imap.libertus.eu/fullchain.cer ssl_server_key_file = /etc/x509/imap.libertus.eu/imap.libertus.eu.key #auth_debug=yes #auth_debug_passwords=yes auth_username_format = %{ user | username | lower } mail_driver = maildir mail_path = %{home}/Maildir passdb pam { driver = pam } userdb passwd { driver = passwd } sieve_script personal { path = ~/sieve active_path = ~/sieve/default.sieve } sieve_script before { type = before path = /etc/dovecot/before.sieve } service auth { inet_listener auth { port = 26 } } service lmtp { inet_listener ltmp { port = 24 } } protocol sieve { } protocol imap { mail_plugins { imap_sieve = yes } } protocol lmtp { mail_plugins { lmtp_sieve = yes } } protocol lda { mail_plugins { lda_sieve = yes } postmaster_address = postmaster@example.com } namespace inbox { inbox=yes } ## Mailbox definitions namespace inbox { mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } }