disable_plaintext_auth = yeslog_timestamp = "%Y-%m-%d %H:%M:%S "mail_location = mbox:~/mail:LAYOUT=maildir
mail_privileged_group = mail
mail_debug = yes

protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep 
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}

protocol managesieve {
}

auth default {
  mechanisms = plain login
  
  passdb passwd-file {
  		args = /etc/dovecot/dovecot.passwd
  }  
  
  userdb passwd-file {
    args = /etc/dovecot/dovecot.passwd	
  }
  
  user = root  
  
  !include_try /etc/dovecot/auth.d/*.auth
}

dict {
}

plugin {  expire = Trash 14 Spam 30
  expire_dict = proxy::expire
}

!include_try /etc/dovecot/conf.d/*.conf

ssl_cert_file = /etc/dovecot/server.crt
ssl_key_file = /etc/dovecot/server.key
ssl_ca_file = /etc/dovecot/ca.pem

protocol imap {
  mail_plugins = autocreate quota imap_quota
}

plugin {
  
  autocreate = Trash
  autocreate2 = Junk
  autocreate3 = Sent
  autocreate4 = Drafts
  autocreate5 = Archives
  autosubscribe = Trash
  autosubscribe2 = Junk
  autosubscribe3 = Sent
  autosubscribe4 = Drafts
  autosubscribe5 = Archives  
  
  quota = fs:user
  
}
