mailsystem/conf/install_update_dovecot.conf.sample

114 lines
2.2 KiB
Bash

#!/usr/bin/env bash
## ===================================================================
## - Configuration File: Install/Update Dovecot Server
## ===================================================================
# ---
# --- Configure Settings for your Server here..
# ---
# - Set update=false if that is a new installation
# -
_update=false
# - Install dovecot with systemd support
# -
# - Defaults to 'true' if systemd is present, otherwise to 'false'
# -
systemd_support=""
# - postmaster_address
# -
# - Example:
# - postmaster_address="admin\@warenform.net"
# -
postmaster_address=""
# - hostname
# -
hostname=""
# - IPv4 / IPv6 Addressen
# -
ipv4=""
ipv6=""
# - Listener configuration
# -
imap_listener_adresses="127.0.0.1 $ipv4 $ipv6"
imaps_listener_adresses="$ipv4 $ipv6"
pop_listener_adresses="$ipv4 $ipv6"
pops_listener_adresses="$ipv4 $ipv6"
xmpp_listener=false
xmpp_listener_address="127.0.0.1"
xmpp_listener_port="4444"
# - Database settings
# -
# - Possible values for parameter database are only 'mysql' and 'postgres'
# -
# -
database=postgres
#database=mysql
dbname=postfix
dbuser=postfix
dbpassword=""
dbhost=/var/run/postgresql
# - Password databases have a default password scheme.
# -
# - The password scheme can be overridden for each password by prefixing
# - it with {SCHEME}, for example: {SHA512-CRYPT}pass.
# -
# - See: https://wiki.dovecot.org/Authentication/PasswordSchemes
# -
default_pass_scheme=PLAIN
# - Cert/Key configurations
# -
cert_base_dir="/etc/postfix/ssl"
server_cert=${cert_base_dir}/mailserver.crt
server_key=${cert_base_dir}/mailserver.key
imap_cert=${cert_base_dir}/mailserver.crt
imap_key=${cert_base_dir}/mailserver.key
pop_cert=${cert_base_dir}/mailserver.crt
pop_key=${cert_base_dir}/mailserver.key
# - Other settings
# -
spam_folder=Spam
max_userip_connections=24
#auth_mechanisms="plain login digest-md5 cram-md5"
auth_mechanisms="plain login"
# - Settings for quota warning sript
# -
from_address="o.open <oo@oopen.de>"
reply_to="oo@oopen.de"
webmailer="https://webmail.oopen.de"
salutation="O.OPEN
--
O.OPEN | Phone: +49 30 / 290 484 91
Erkelenzdamm 21 | Fax: +49 30 / 290 484 99
D-10999 Berlin | http://oopen.de"
# ---
# --- End server-specific Settings
# ---