!include auth-system.conf.ext
#!include auth-sql.conf.ext
#!include auth-ldap.conf.ext
-#!include auth-passwdfile.conf.ext
+!include auth-passwdfile.conf.ext
#!include auth-checkpassword.conf.ext
#!include auth-vpopmail.conf.ext
#!include auth-static.conf.ext
# Prefix for each line written to log file. % codes are in strftime(3)
# format.
#log_timestamp = "%b %d %H:%M:%S "
+log_timestamp = "%Y-%m-%d %H:%M:%S "
# Space-separated list of elements we want to log. The elements which have
# a non-empty variable value are joined together to form a comma-separated
# <doc/wiki/MailLocation.txt>
#
#mail_location =
+mail_location = maildir:~/.maildir
# If you need to set multiple mailbox locations or want to change default
# namespace settings, you can do it by defining namespace sections.
# Typically this is set to "mail" to give access to /var/mail.
#mail_privileged_group =
+# TODO: AWD: We used to include this. Do we still need it?
+#mail_privileged_group = mail
+
# Grant access to these supplementary groups for mail processes. Typically
# these are used to set up access to shared mailboxes. Note that it may be
# dangerous to set these if users can create symlinks (e.g. if "mail" group is
}
# Postfix smtp-auth
- #unix_listener /var/spool/postfix/private/auth {
- # mode = 0666
- #}
+ unix_listener /var/spool/postfix/private/auth {
+ mode = 0660
+ user = postfix
+ group = postfix
+ }
# Auth process is run as this user.
#user = $default_internal_user
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
# certificate, just make sure to update the domains in dovecot-openssl.cnf
-ssl_cert = </etc/ssl/certs/dovecot.pem
-ssl_key = </etc/ssl/private/dovecot.pem
+ssl_cert = </etc/ssl/certs/olinda.dovecot.crt
+ssl_key = </etc/ssl/private/olinda.dovecot.key
# If key file is password protected, give the password here. Alternatively
# give it when starting dovecot with -p parameter. Since this file is often
protocol lda {
# Space separated list of plugins to load (default is global mail_plugins).
#mail_plugins = $mail_plugins
+ mail_plugins = sieve
+
+ # Format to use for logging mail deliveries. You can use variables:
+ # %$ - Delivery status message (e.g. "saved to INBOX")
+ # %m - Message-ID
+ # %s - Subject
+ # %f - From address
+ #deliver_log_format = msgid=%m: %$
+ deliver_log_format = msgid=%m, subj=%s: %$
+ log_path = /var/log/mail/dovecot-deliver.log
+ info_log_path = /var/log/mail/dovecot-deliver.info.log
+
+ # UNIX socket path to master authentication server to find users.
+ auth_socket_path = /var/run/dovecot/auth-userdb
}
passdb {
driver = passwd-file
- args = scheme=CRYPT username_format=%u /etc/dovecot/users
+ args = /etc/dovecot/extra-users.passwd
}
-userdb {
- driver = passwd-file
- args = username_format=%u /etc/dovecot/users
-}
+#passdb {
+# driver = passwd-file
+# args = scheme=CRYPT username_format=%u /etc/dovecot/users
+#}
+
+#userdb {
+# driver = passwd-file
+# args = username_format=%u /etc/dovecot/users
+#}