110 lines
2.0 KiB
Bash
110 lines
2.0 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
|
|
|
|
|
|
# - Version dovecot
|
|
# -
|
|
_version=2.2.28
|
|
|
|
|
|
# - Version Pigeonhole
|
|
# -
|
|
_pigeonhole=dovecot-2.2-pigeonhole-0.4.16
|
|
|
|
|
|
# - 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=i""
|
|
dbhost=/var/run/postgresql
|
|
|
|
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 cram-md5"
|
|
|
|
# - Settings for quota warning sript
|
|
# -
|
|
from_address="warenform gbr <hilfe@kunden.warenform.net>"
|
|
reply_to="hilfe@kunden.warenform.net"
|
|
webmailer="https:\\webmail.initiativenserver.de"
|
|
salutation="Das WARENFORM-Team
|
|
#
|
|
#--
|
|
#WARENFORM | Phone: +49 30 / 61 65 17 52 -0
|
|
#Dresdner Str. 11 | Fax: +49 30 / 61 65 17 52 -66
|
|
#D-10999 Berlin | http://www.warenform.net"
|
|
|
|
# ---
|
|
# --- End server-specific Settings
|
|
# ---
|