You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
176 lines
6.0 KiB
YAML
176 lines
6.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: mailu-config
|
|
namespace: mailu-mailserver
|
|
data:
|
|
# Mailu main configuration file
|
|
#
|
|
# Most configuration variables can be modified through the Web interface,
|
|
# these few settings must however be configured before starting the mail
|
|
# server and require a restart upon change.
|
|
|
|
###################################
|
|
# Common configuration variables
|
|
###################################
|
|
|
|
# Set this to the path where Mailu data and configuration is stored
|
|
ROOT: "/mailu"
|
|
|
|
# Mailu version to run (1.0, 1.1, etc. or master)
|
|
VERSION: "master"
|
|
|
|
# Set to a randomly generated 16 bytes string
|
|
SECRET_KEY: "MySup3rS3cr3tPas"
|
|
|
|
# Address where listening ports should bind
|
|
BIND_ADDRESS4: "127.0.0.1"
|
|
#BIND_ADDRESS6: "::1"
|
|
|
|
# Main mail domain
|
|
DOMAIN: "example.com"
|
|
|
|
# Hostnames for this server, separated with comas
|
|
HOSTNAMES: "mail.example.com"
|
|
|
|
# Postmaster local part (will append the main mail domain)
|
|
POSTMASTER: "admin"
|
|
|
|
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
|
|
TLS_FLAVOR: "cert"
|
|
|
|
# Authentication rate limit (per source IP address)
|
|
AUTH_RATELIMIT: "10/minute;1000/hour"
|
|
|
|
# Opt-out of statistics, replace with "True" to opt out
|
|
DISABLE_STATISTICS: "False"
|
|
|
|
###################################
|
|
# Kubernetes configuration
|
|
###################################
|
|
|
|
# Use Kubernetes Ingress Controller to handle all actions on port 80 and 443
|
|
# This way we can make use of the advantages of the cert-manager deployment
|
|
KUBERNETES_INGRESS: "true"
|
|
|
|
# POD_ADDRESS_RANGE is normally provided by default with Kubernetes
|
|
# Only use this value when you are using Flannel, Calico or a special kind of CNI
|
|
# Provide the IPs of your network interface or bridge which is used for VXLAN network traffic
|
|
# POD_ADDRESS_RANGE: 10.2.0.0/16,10.1.6.0/24
|
|
|
|
###################################
|
|
# Optional features
|
|
###################################
|
|
|
|
# Expose the admin interface (value: true, false)
|
|
ADMIN: "true"
|
|
# Run the admin interface in debug mode
|
|
#DEBUG: "True"
|
|
|
|
# Choose which webmail to run if any (values: roundcube, rainloop, none)
|
|
WEBMAIL: "roundcube"
|
|
|
|
# Dav server implementation (value: radicale, none)
|
|
WEBDAV: "radicale"
|
|
|
|
# Antivirus solution (value: clamav, none)
|
|
ANTIVIRUS: "clamav"
|
|
|
|
###################################
|
|
# Mail settings
|
|
###################################
|
|
|
|
# Message size limit in bytes
|
|
# Default: accept messages up to 50MB
|
|
MESSAGE_SIZE_LIMIT: "50000000"
|
|
|
|
# Will relay all outgoing mails if configured
|
|
#RELAYHOST=
|
|
|
|
# This part is needed for the XCLIENT login for postfix. This should be the POD ADDRESS range
|
|
FRONT_ADDRESS: "front.mailu-mailserver.svc.cluster.local"
|
|
|
|
# This value is needed by the webmail to find the correct imap backend
|
|
IMAP_ADDRESS: "imap.mailu-mailserver.svc.cluster.local"
|
|
|
|
# This value is used by Dovecot to find the Redis server in the cluster
|
|
REDIS_ADDRESS: "redis.mailu-mailserver.svc.cluster.local"
|
|
|
|
# Fetchmail delay
|
|
FETCHMAIL_DELAY: "600"
|
|
|
|
# Recipient delimiter, character used to delimiter localpart from custom address part
|
|
# e.g. localpart+custom@domain;tld
|
|
RECIPIENT_DELIMITER: "+"
|
|
|
|
# DMARC rua and ruf email
|
|
DMARC_RUA: "root"
|
|
DMARC_RUF: "root"
|
|
|
|
# Welcome email, enable and set a topic and body if you wish to send welcome
|
|
# emails to all users.
|
|
WELCOME: "false"
|
|
WELCOME_SUBJECT: "Welcome to your new email account"
|
|
WELCOME_BODY: "Welcome to your new email account, if you can read this, then it is configured properly!"
|
|
|
|
###################################
|
|
# Web settings
|
|
###################################
|
|
|
|
# Path to the admin interface if enabled
|
|
# Kubernetes addition: You need to change ALL the ingresses, when you want this URL to be different!!!
|
|
WEB_ADMIN: "/admin"
|
|
|
|
# Path to the webmail if enabled
|
|
# Currently, this is not used, because we intended to use a different subdomain: webmail.example.com
|
|
# This option can be added in a feature release
|
|
WEB_WEBMAIL: "/webmail"
|
|
|
|
# Website name
|
|
SITENAME: "Mailu"
|
|
|
|
# Linked Website URL
|
|
WEBSITE: "https://example.com"
|
|
|
|
# Registration reCaptcha settings (warning, this has some privacy impact)
|
|
# RECAPTCHA_PUBLIC_KEY=
|
|
# RECAPTCHA_PRIVATE_KEY=
|
|
|
|
# Domain registration, uncomment to enable
|
|
# DOMAIN_REGISTRATION=true
|
|
|
|
###################################
|
|
# Advanced settings
|
|
###################################
|
|
|
|
# Create an admin account if it does not exist yet. It will also create the email domain for the account.
|
|
# INITIAL_ADMIN_ACCOUNT: "admin"
|
|
# INITIAL_ADMIN_DOMAIN: "example.com"
|
|
# INITIAL_ADMIN_PW: "s3cr3t"
|
|
|
|
# Docker-compose project name, this will prepended to containers names.
|
|
COMPOSE_PROJECT_NAME: "mailu"
|
|
|
|
# Default password scheme used for newly created accounts and changed passwords
|
|
# (value: SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
|
PASSWORD_SCHEME: "SHA512-CRYPT"
|
|
|
|
# Header to take the real ip from
|
|
#REAL_IP_HEADER:
|
|
|
|
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
|
#REAL_IP_FROM:
|
|
|
|
# Host settings
|
|
HOST_IMAP: "imap.mailu-mailserver.svc.cluster.local"
|
|
HOST_POP3: "imap.mailu-mailserver.svc.cluster.local"
|
|
HOST_SMTP: "smtp.mailu-mailserver.svc.cluster.local"
|
|
HOST_AUTHSMTP: "smtp.mailu-mailserver.svc.cluster.local"
|
|
HOST_WEBMAIL: "webmail.mailu-mailserver.svc.cluster.local"
|
|
HOST_ADMIN: "admin.mailu-mailserver.svc.cluster.local"
|
|
HOST_WEBDAV: "webdav.mailu-mailserver.svc.cluster.local:5232"
|
|
HOST_ANTISPAM_MILTER: "antispam.mailu-mailserver.svc.cluster.local:11332"
|
|
HOST_ANTISPAM_WEBUI: "antispam.mailu-mailserver.svc.cluster.local:11334"
|
|
HOST_ANTIVIRUS: "antivirus.mailu-mailserver.svc.cluster.local:3310"
|
|
HOST_REDIS: "redis.mailu-mailserver.svc.cluster.local"
|