# debug #auth_debug = yes #auth_debug_passwords = yes #mail_debug = yes first_valid_uid = 8 #last_valid_uid = 8 postmaster_address = admin@example.com protocols = "imap lmtp" auth_mechanisms = plain login disable_plaintext_auth = no mail_location = maildir:/var/lib/vmail/%d/%n #mail_location = maildir:/var/mail/domains/%u/ mail_gid = mail mail_uid = mail namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = sql args = /etc/dovecot/dovecot-sql-pgsql.conf } userdb { driver = sql args = /etc/dovecot/dovecot-sql-pgsql.conf } service auth { # Postfix smtp-auth inet_listener { port = 50026 #mode = 0660 #user = mail #group = mail } } service imap { executable = imap } service lmtp { executable = lmtp -L process_min_avail = 5 inet_listener lmtp { port = 50024 #user = mail #process_min_avail = 5 #mode = 0600 #user = mail #group = mail } } #ssl_cert =