# HG changeset patch # User Pascal Volk # Date 1340828106 0 # Node ID b5bb7b34e8310524968e2b9b73b3540a90844a86 # Parent b0165b7af7a361ef9e6db7d29f6f164819ea8050 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0. diff -r b0165b7af7a3 -r b5bb7b34e831 Configure.Dovecot_2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Configure.Dovecot_2 Wed Jun 27 20:15:06 2012 +0000 @@ -0,0 +1,204 @@ +# This document contains a minimal configuration for a vmm setup with +# Dovecot v2.x. +# +# You could save this file as local.conf in the dovecot configuration directory +# (commonly /etc/dovecot or /usr/local/etc/dovecot). +# When you want to use this file as your configuration file for Dovecot, make +# sure you have commented out the line "!include conf.d/*.conf". The last line +# "!include_try local.conf" is sufficient. +# +# Otherwise you have to apply the following settings to the configuration files +# in the conf.d directory. + +### +# dovecot.conf +### +protocols = imap lmtp +# uncomment if your users should be able to manage their sieve scripts +#protocols = imap lmtp sieve + +# uncomment if you want to use the quota plugin +#dict { +# quota = pgsql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext +#} + +### +# conf.d/10-auth.conf +### +auth_mechanisms = plain login cram-md5 +passdb { + driver = sql + args = /usr/local/etc/dovecot/dovecot-sql.conf.ext +} +userdb { + driver = sql + args = /usr/local/etc/dovecot/dovecot-sql.conf.ext +} +#!include auth-system.conf.ext + +### +# conf.d/10-mail.conf +### +first_valid_gid = 70000 +first_valid_uid = 70000 +mail_location = maildir:~/Maildir + +# uncomment if you want to use the quota plugin +#mail_plugins = quota + +### +# conf.d/10-master.conf +### + +# if you don't want to use secure imap, you have to disable the imaps listener +##service imap-login { +## inet_listener imaps { +## port = 0 +## } +##} + +service lmtp { + unix_listener /var/spool/postfix/private/dovecot-lmtp { + user = postfix + group = postfix + mode = 0600 + } +} + +service auth { + user = nobody + unix_listener auth-userdb { + } + unix_listener /var/spool/postfix/private/dovecot-auth { + user = postfix + group = postfix + mode = 0600 + } +} + +service auth-worker { + unix_listener auth-worker { + user = nobody + group = $default_internal_user + mode = 0660 + } + user = nobody +} + +service dict { + unix_listener dict { + # we need mode 0666, because we have a GID/domain and a UID/user + mode = 0666 + } +} + +### +# conf.d/10-ssl.conf +### +# SSL/TLS support: yes, no, required. +#ssl = yes + +ssl_cert =