Forgot to add sammple configuration files for dovecot and roundcube installation.
This commit is contained in:
parent
a27c1a3a50
commit
96e1935bc9
116
conf/install_update_dovecot.conf.sample
Normal file
116
conf/install_update_dovecot.conf.sample
Normal file
@ -0,0 +1,116 @@
|
||||
#!/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
|
||||
|
||||
|
||||
# - 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=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
|
||||
# ---
|
350
conf/install_upgrade_roundcube.conf.sample
Normal file
350
conf/install_upgrade_roundcube.conf.sample
Normal file
@ -0,0 +1,350 @@
|
||||
# ----------------------------------------------------
|
||||
# - Configuration for roundcube install/upgrade script
|
||||
# ----------------------------------------------------
|
||||
|
||||
# - Name of the website - usualy 'webmail.<domain>.<tld>'
|
||||
# -
|
||||
WEBSITE_NAME=""
|
||||
|
||||
# - IPv4 Address
|
||||
# -
|
||||
IPV4=""
|
||||
|
||||
# - IPv6 Address
|
||||
# -
|
||||
IPV6=""
|
||||
|
||||
# - Is apache installed from debian package system ?
|
||||
# -
|
||||
# - Boolean, possible values are 'true', 'false'
|
||||
# -
|
||||
# - Defaults to 'false'
|
||||
#
|
||||
#APACHE_DEBIAN_INSTALLATION=""
|
||||
|
||||
# - Apache User
|
||||
# -
|
||||
# - If ommitted, script tries to determine the user under which user the webserver
|
||||
# - is running. If that fails, parameter defaults to 'www-data'
|
||||
# -
|
||||
#HTTP_USER=""
|
||||
|
||||
# - Apache Group
|
||||
# -
|
||||
# - If ommitted, script tries to determine the user under which group the webserver
|
||||
# - is running. If that fails, parameter defaults to 'www-data'
|
||||
# -
|
||||
#HTTP_GROUP=""
|
||||
|
||||
# - Webmasters E-Mail Address
|
||||
# -
|
||||
# - Defaults to 'admin@<domain>.<tld>'
|
||||
# -
|
||||
#WEBMASTER_EMAIL=""
|
||||
|
||||
# - Base Directory of Roundcube Website
|
||||
# -
|
||||
# - Note: it's not the 'DocumentRoot' directory, but the directory where
|
||||
# - the 'DocumentRoot' Directory lives.
|
||||
# -
|
||||
# - Defaults to '/var/www/webmail/$WEBSITE_NAME'
|
||||
# -
|
||||
#WEBSITE_BASEDIR=""
|
||||
|
||||
|
||||
# - Directory for storing temporary files
|
||||
# -
|
||||
# - Defaults to '${WEBMAIL_BASEDIR}/temp"
|
||||
# -
|
||||
#ROUNDCUBE_TMPDIR=""
|
||||
|
||||
# - Directory, where apache places the log-files for thw webmailers site.
|
||||
# -
|
||||
# - Defaults to '/var/log/apache2'
|
||||
# -
|
||||
#APACHE_LOG_DIR=""
|
||||
|
||||
# - Directory where certificate and key for the roundcube website
|
||||
# - are stored.
|
||||
# -
|
||||
# - Example:
|
||||
# - APACHE_CERT_DIR="/var/lib/dehydrated/certs/$WEBSITE_NAME"
|
||||
# -
|
||||
# - Defaults to
|
||||
# - '/etc/apache2' if apache is installed from debian package system
|
||||
# - '/usr/local/apache2/conf' otherwise
|
||||
# -
|
||||
#APACHE_CERT_DIR=""
|
||||
|
||||
# - Certificate for the Rounfcube Website
|
||||
# -
|
||||
# - Example:
|
||||
# - APACHE_SERVER_CERT="fullchain.pem"
|
||||
# -
|
||||
# - Defaults to 'server-bundle.crt'
|
||||
# -
|
||||
#APACHE_SERVER_CERT=""
|
||||
|
||||
# - Key File for the Rounfcube Website
|
||||
# -
|
||||
# - Example:
|
||||
# - APACHE_SERVER_KEY="privkey.pem"
|
||||
# -
|
||||
# - Defaults to 'server.key'
|
||||
# -
|
||||
#APACHE_SERVER_KEY=""
|
||||
|
||||
# - Certification Chain File
|
||||
# -
|
||||
# - Deprecated since Apache 2.4 - Leave empty if not present
|
||||
# -
|
||||
#CERT_ChainFile=""
|
||||
|
||||
# - Type of PHP installation.
|
||||
# -
|
||||
# - Possible values are: 'php_fpm' , 'fcgid' , 'mod_php
|
||||
# -
|
||||
# - defaults to 'php_fpm''
|
||||
# -
|
||||
#PHP_TYPE=""
|
||||
|
||||
# - Directory where apache vhosts definitions live.
|
||||
# -
|
||||
# - Defaults to
|
||||
# - '/etc/apache2/sites-available' if installed from debain package system
|
||||
# - '/usr/local/apache2/conf/vhosts' otherwise
|
||||
# -
|
||||
#APACHE_VHOST_DIR=""
|
||||
|
||||
# - Hostname for vacation / absence messages
|
||||
# -
|
||||
# - Defaults to 'autoreply.<domain>.<tld>
|
||||
# -
|
||||
#AUTOREPLY_HOSTNAME=""
|
||||
|
||||
# - Database type for Roundcube
|
||||
# -
|
||||
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
|
||||
# -
|
||||
DB_TYPE=""
|
||||
|
||||
# - Host of Roundcube Database
|
||||
# -
|
||||
# - Defaults to 'localhost'
|
||||
# -
|
||||
#DB_HOST=""
|
||||
|
||||
# - Name of Roundcube Database
|
||||
# -
|
||||
# - Defaults to 'roundcubemail'
|
||||
# -
|
||||
#DB_NAME=
|
||||
|
||||
# - User of Roundcube Database
|
||||
# -
|
||||
# - Defaults to 'roundcube'
|
||||
# -
|
||||
#DB_USER=""
|
||||
|
||||
# - Password of Roundcube Database
|
||||
# -
|
||||
DB_PASS=""
|
||||
|
||||
|
||||
# - Is MySQL installed from debian package system?
|
||||
# -
|
||||
# - Only needed, if DB_TYPE is set to 'mysql'
|
||||
# -
|
||||
# - Defaults to 'false'
|
||||
# -
|
||||
#MYSQL_DEBIAN_INSTALLATION=""
|
||||
|
||||
# - mysql_credential_args (root access to MySQL Database)
|
||||
# -
|
||||
# - Example
|
||||
# - mysql_credential_args="--login-path=local"
|
||||
# - mysql_credential_args="--defaults-file=/etc/mysql/debian.cnf" (Debian default)
|
||||
# - mysql_credential_args="--defaults-file=/usr/local/mysql/sys-maint.cnf"
|
||||
# -
|
||||
# - Defaults to:
|
||||
# - '/etc/mysql/debian.cnf' if MySQL is installed from debian package system
|
||||
# - '/usr/local/mysql/sys-maint.cnf' otherwise
|
||||
# -
|
||||
#MYSQL_CREDENTIALS=""
|
||||
|
||||
# - Name of the folder where (assumed) junk mails will be stored
|
||||
# -
|
||||
# - Defaults to 'Spam'
|
||||
# -
|
||||
#SPAM_FOLDER_NAME=""
|
||||
|
||||
# - You can set your own product name to replace the default.
|
||||
# -
|
||||
# - Defaults to 'Roundcube Webmail'
|
||||
# -
|
||||
#PRODUCT_NAME=""
|
||||
|
||||
# - URL for users, to get in contact if something goes wrong
|
||||
# -
|
||||
# - Defaults to 'www.<domain>.<tld>'
|
||||
# -
|
||||
#SUPPORT_URL=""
|
||||
|
||||
# - Provide your own logo under this URI
|
||||
# -
|
||||
# - Note: this script will NOT place the logo. You have to do this by your own
|
||||
# - after installation is finisched.
|
||||
# -
|
||||
# - Default is empty
|
||||
# -
|
||||
#SKIN_LOGO=""
|
||||
|
||||
|
||||
|
||||
# --------------------
|
||||
# - Plugins Configuration
|
||||
# --------------------
|
||||
|
||||
|
||||
# ==========
|
||||
# - Settings Postfix Database
|
||||
# ==========
|
||||
|
||||
# - Type of Postfix database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
|
||||
# -
|
||||
POSTFIX_DB_TYPE="pgsql"
|
||||
|
||||
# - Host of Postfix Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'localhost'
|
||||
# -
|
||||
#POSTFIX_DB_HOST=""
|
||||
|
||||
# - Name of Postfix Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
# -
|
||||
#POSTFIX_DB_NAME=
|
||||
|
||||
# - User of Postfix Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
# -
|
||||
#POSTFIX_DB_USER=""
|
||||
|
||||
# - Password of Postfix Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
POSTFIX_DB_PASSWD=''
|
||||
|
||||
|
||||
# ===
|
||||
# - Plugin acl
|
||||
# ===
|
||||
|
||||
# - Activate plugin 'acl'?
|
||||
# -
|
||||
# - Boolean - possible values are 'true' and 'false'
|
||||
# -
|
||||
# - Defaults to 'false'
|
||||
# -
|
||||
#INCLUDE_ACL_PLUGIN=""
|
||||
|
||||
|
||||
# ===
|
||||
# - Plugin password (change password)
|
||||
# ===
|
||||
|
||||
# - Is current password reqired
|
||||
# -
|
||||
# - $config['password_confirm_current']
|
||||
# -
|
||||
# - Boolean - possible values are 'true' and 'false'
|
||||
# -
|
||||
# - Defaults to 'true'
|
||||
# -
|
||||
#PW_CONFIRM_CURRENT=""
|
||||
|
||||
# - Minimun length if new password
|
||||
# -
|
||||
# - $config['password_minimum_length']
|
||||
# -
|
||||
# - Defaults to '10'
|
||||
# -
|
||||
#PW_MIN_LENGTH=""
|
||||
|
||||
# - New Password requires nonalpha character
|
||||
# -
|
||||
# - $config['password_require_nonalpha']
|
||||
# -
|
||||
# - Boolean - possible values are 'true' and 'false'
|
||||
# -
|
||||
# - Defaults to 'true'
|
||||
# -
|
||||
#PW_REQUIRE_NONALPHA=''
|
||||
|
||||
# - Default password hashing/crypting algorithm.
|
||||
# -
|
||||
# - $config['password_algorithm']
|
||||
# -
|
||||
# - Possible values: des-crypt, ext-des-crypt, md5-crypt, blowfish-crypt,
|
||||
# - sha256-crypt, sha512-crypt, md5, sha, smd5, ssha, samba,
|
||||
# - ad, dovecot, clear.
|
||||
# -
|
||||
# - Defaults to 'dovecot'
|
||||
# -
|
||||
#PW_PASSWD_ALGO=''
|
||||
|
||||
# - Password prefix (e.g. {CRYPT}, {SHA}, {CRAM-MD5}) for passwords generated
|
||||
# -
|
||||
# - $config['password_algorithm_prefix']
|
||||
# -
|
||||
# - Defaults to '{CRAM-MD5}'
|
||||
# -
|
||||
#PW_PASSWD_ALGO_PREFIX=''
|
||||
|
||||
# - Path for dovecotpw/doveadm-pw
|
||||
# -
|
||||
# - $config['password_dovecotpw']
|
||||
# -
|
||||
# - Defaults to '/usr/local/dovecot/bin/doveadm pw'
|
||||
# -
|
||||
#PW_DOVEADM_PW=''
|
||||
|
||||
# - Dovecot password scheme.
|
||||
# -
|
||||
# - $config['password_dovecotpw_method']
|
||||
# -
|
||||
# - Defaults to 'CRAM-MD5
|
||||
# -
|
||||
#PW_DOVECOT_PW_METHOD=
|
||||
|
||||
# - The SQL query used to change the password.
|
||||
# -
|
||||
# - $config['password_query']
|
||||
# -
|
||||
PW_DB_UPDATE_STRING='UPDATE mailbox SET password=%P WHERE username=%u'
|
||||
|
||||
|
||||
# ==========
|
||||
# - Plugin password vacation
|
||||
# ==========
|
||||
|
||||
# - allow vacation forwarder
|
||||
# -
|
||||
# - $rcmail_config['vacation_gui_vacationforwarder'] = FALSE;
|
||||
# -
|
||||
# - defaults to 'false'
|
||||
# -
|
||||
#VAC_GUI_FORWARDER=false
|
Loading…
Reference in New Issue
Block a user