Commit a81dfe9a authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add dovecot image

parents
Loading
Loading
Loading
Loading

conf.d/10-auth.conf

0 → 100644
+15 −0
Original line number Diff line number Diff line
auth_mechanisms = plain

passdb {
	driver = sql
	args = /etc/dovecot/conf.d/sql-site.conf.ext
}

userdb {
	driver = prefetch
}

userdb {
	driver = sql
	args = /etc/dovecot/conf.d/sql-site.conf.ext
}
+5 −0
Original line number Diff line number Diff line
# Enabling this setting SHOULD cause containers to remain active while there
# are connected clients. The effect of this needs to be verified before doing
# so but it is an interesting idea to implement seamless upgrades.

#shutdown_clients = yes
+8 −0
Original line number Diff line number Diff line
# A director redirects new user connections to the same backend as long as at
# least one previous connection is still active.
#
# This will probably be necessary for scaling. See the Debian default config
# in dovecot/docs/10-director.conf and the Dovecot NFS documentation at
# https://wiki2.dovecot.org/NFS

mmap_disable = yes
+21 −0
Original line number Diff line number Diff line
# Docker related stuff below.
# This is mostly paths & permissions

# Standard docker logging to stdio
log_path = /dev/stderr
info_log_path = /dev/stdout

# Certificates generated by the kube-cert-manager pod, mounted by way of
# kubernetes-secrets to /etc/tls
ssl_cert = </etc/tls/tls.crt
ssl_key = </etc/tls/tls.key

# The mail volume is mounted to /var/mail, indexes at /var/indexes
mail_home = /var/mail/%d/%n
mail_location = maildir:~/:INBOX=~/.INBOX:INDEX=/var/indexes/%d/%n:ITERINDEX=:UTF-8=

# The default user accounts used for running daemons under Debian
# These may need changing or extra support in the image if a different base
# image is used.
default_login_user = dovenull
default_internal_user = dovecot
+2 −0
Original line number Diff line number Diff line
# If in the future we decide to customise the login greeting, change it here.
#login_greeting = Dovecot ready.