# 2.2.10: /etc/dovecot/dovecot.conf # OS: Linux 4.4.51-40.58.amzn1.x86_64 x86_64 auth_mechanisms = plain login first_valid_uid = 200 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes mail_gid = 12 mail_home = /mnt/vmail/%d/%n mail_location = maildir:~:LAYOUT=fs mail_plugins = " virtual" mail_uid = 200 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave mbox_write_locks = fcntl namespace all_mail { hidden = no list = yes location = virtual:/mnt/vmail/%d/virtual/all:INDEX=MEMORY prefix = All/ separator = / subscriptions = no } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { auto = subscribe special_use = \Trash } prefix = separator = / } namespace real { hidden = no list = no location = prefix = RealMail/ separator = / } namespace threaded { hidden = no list = yes location = virtual:/mnt/vmail/%d/virtual/Threaded:INDEX=MEMORY prefix = Threaded Inbox/ separator = / subscriptions = yes } passdb { args = /etc/dovecot/dovecot-sql.conf driver = sql } plugin { sieve = ~/.dovecot.sieve sieve_before = /etc/dovecot/sieve/default.sieve sieve_dir = /mnt/vmail/%d/sieve/%n sieve_global = /etc/dovecot/sieve/global/ sieve_max_script_size = 1M } protocols = imap lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { mode = 0600 user = mailreader } unix_listener auth-userdb { group = mail mode = 0600 user = mailreader } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } } ssl = required ssl_cert =