This commit is contained in:
2021-04-18 13:56:36 +02:00
parent 2339cdd6e8
commit d22a65ad9a
74 changed files with 4289 additions and 537 deletions

View File

@ -0,0 +1,30 @@
# {{ ansible_managed }}
# ---
# - Parametersettins postfix bases system
# ---
_HOSTNAME={{ hostname }}
_IPV4='{{ ipv4_address | default(omit) }}'
_IPV6='{{ ipv6_address | default(omit) }}'
_QUARANTINE_DIR=/var/QUARANTINE
_QUARANTINE_ADMIN=postmaster\@$mydomain
_DB_IN_USE=true
{% if "PostgreSQL" == postfix_db_type %}
_DB_TYPE=PostgreSQL
{% else %}
_DB_TYPE=MySQL
{% endif %}
_DB_HOST={{ postfix_db_host | default(omit) }}
_DB_NAME={{ postfix_db_name | default(omit) }}
_DB_USER={{ postfix_db_user | default(omit) }}
_DB_PASS='{{ postfix_db_pass | default(omit) }}'
_INSTALL_CLAMAV_UNOFFICIAL_SIGS=true
_MALWARE_PATROL_IN_USE=true
_MALWERE_PATROL_FREE=false
_MP_RECEIPT_NUMBER={{ mp_receipt_number | default(omit) }}
_SECURITE_INFO_IN_USE=true
_SI_AUTHORISATION_SIGNATURE={{ si_authorisation_signature | default(omit) }}

View File

@ -0,0 +1,275 @@
# {{ ansible_managed }}
# -----------------------------------------------
# - Configuration for postfixadmin install script
# -----------------------------------------------
# - Name of the website - usualy 'webmail.<domain>.<tld>'
# -
WEBSITE_NAME="{{ website_name_postfixadmin | default(omit) }}"
# - IPv4 Address
# -
IPV4='{{ ipv4_address | default(omit) }}'
# - IPv6 Address
# -
IPV6='{{ ipv6_address | default(omit) }}'
# - 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/$WEBSITE_NAME'
# -
#WEBSITE_BASEDIR=""
# - 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="/var/lib/dehydrated/certs/$WEBSITE_NAME"
# - Certificate for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_CERT="fullchain.pem"
# -
# - Defaults to 'server-bundle.crt'
# -
APACHE_SERVER_CERT="fullchain.pem"
# - Key File for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_KEY="privkey.pem"
# -
# - Defaults to 'server.key'
# -
APACHE_SERVER_KEY="privkey.pem"
# - Certification Chain File
# -
# - Deprecated since Apache 2.4 - Leave empty if not present
# -
#CERT_ChainFile=""
# - Is PHP installed from debian package system ?
# -
# - Boolean, possible values are 'true', 'false'
# -
# - Defaults to 'false'
#
#PHP_DEBIAN_INSTALLATION=""
# - 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=""
# - 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=""
# - The wa passwords will be encrypted.
# -
# - $CONF['encrypt']
# -
# - Possible values:
# - md5crypt = internal postfix admin md5
# - md5 = md5 sum of the password
# - cleartext = clear text passwords
# - mysql_encrypt = useful for PAM integration
# -
# - authlib = support for courier-authlib style passwords - also set $CONF['authlib_default_flavor']
# - dovecot:CRYPT-METHOD = use dovecotpw -s 'CRYPT-METHOD'. Example: dovecot:CRAM-MD5
# - IMPORTANT:
# - - don't use dovecot:* methods that include the username in the hash - you won't be able
# - to login to PostfixAdmin in this case
# - - you'll need at least dovecot 2.1 for salted passwords ('doveadm pw' 2.0.x doesn't support the '-t' option)
# - - dovecot 2.0.0 - 2.0.7 is not supported
# -
# - Example:
# -
# - ENCRYPTION_METHOD="cleartext"
# - ENCRYPTION_METHOD="dovecot:CRAM-MD5"
# -
ENCRYPTION_METHOD="dovecot:SHA512-CRYPT"
# - If you use the dovecot encryption method: where is the dovecotpw binary located?
# -
# - Defaults to '/usr/local/dovecot/bin/doveadm pw'
# -
#DOVEADM_PW=""
# - Directory where deleted mailbox will be saved
# -
# - defaults to '/var/deleted-maildirs'
# -
#DELETED_MAILBOX_DIR=
# - Directory where deleted domains will be saved
# -
# - defaults to '/var/deleted-maildomains'
# -
#DELETED_DOMAINS_DIR=
# - Welcome Message
# - This message is send to every newly created mailbox.
# -
WELCOME_MESSAGE="
{{ email_welcome_message }}
"
# ==========
# - Settings Postfix Database
# ==========
# - Type of Postfix database
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
{% if "PostgreSQL" == postfix_db_type %}
POSTFIX_DB_TYPE="pgsql"
{% else %}
POSTFIX_DB_TYPE="mysql"
{% endif %}
# - Host/Socket of Postfix Database (MySQL)
# -
# - Example:
# - POSTFIX_DB_HOST_MYSQL="127.0.0.1"
# - POSTFIX_DB_HOST_MYSQL="unix:/tmp/mysql.sock"
# -
# - Note:
# - Dont't use 'localhost' if your MySQL socket is NOT
# - located at '/var/run/mysqld/mysqld.sock'
# -
# - Defaults to 'unix:/tmp/mysql.sock'
# -
#POSTFIX_DB_HOST_MYSQL=""
# - Host/Socket of Postfix Database (PostgeSQL)
# -
# - Example:
# - POSTFIX_DB_HOST_PGSQL='/var/run/postgresql'
# -
# - Defaults to '/var/run/postgresql'
# -
#POSTFIX_DB_HOST_PGSQL=""
# - Name of Postfix Database
# -
# - 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
# -
POSTFIX_DB_PASS='{{ postfix_db_pass | default(omit) }}'
# ==========
# - vacation
# ==========
# - Vacation User
# -
# - Defaults to 'vacation'
# -
#VACATION_USER=""
# - Vacation Group
# -
# - Defaults to ''
# -
#VACATION_GROUP="vacation"

View File

@ -0,0 +1,168 @@
#!/usr/bin/env bash
# {{ ansible_managed }}
## ===================================================================
## - Configuration File: Install/Update Dovecot Server
## ===================================================================
# ---
# --- Configure Settings for your Server here..
# ---
# ---
# - Base Configuration
# ---
# - Set update=false if that is a new installation
# -
# - This parameter must be set here! There is no default value.
# -
_update=true
# - Install dovecot with systemd support
# -
# - Defaults to 'true' if systemd is present, otherwise to 'false'
# -
systemd_support="true"
# - postmaster_address
# -
# - This parameter must be set here! There is no default value.
# -
# - Example:
# - postmaster_address="admin\@warenform.net"
# -
postmaster_address="admin\@oopen.de"
# - hostname
# -
# - This parameter must be set here! There is no default value.
# -
hostname="{{ hostname | default(omit) }}"
# - IPv4 / IPv6 Addressen
# -
ipv4="{{ ipv4_address | default(omit) }}"
ipv6="{{ ipv6_address | default(omit) }}"
# ---
# - Listener configuration
# ---
if [[ -n "$ipv6" ]]; then
imap_listener_adresses="127.0.0.1 $ipv4 $ipv6"
imaps_listener_adresses="$ipv4 $ipv6"
pop_listener_adresses="$ipv4 $ipv6"
pops_listener_adresses="$ipv4 $ipv6"
else
imap_listener_adresses="127.0.0.1 $ipv4"
imaps_listener_adresses="$ipv4"
pop_listener_adresses="$ipv4"
pops_listener_adresses="$ipv4"
fi
xmpp_listener=false
xmpp_listener_addresses="$ipv4 $ipv6"
xmpp_listener_port="44444"
# ---
# - Database settings
# ---
# - database
# -
# - This parameter must be set here! There is no default value.
# -
# - Possible values for parameter database are only 'mysql' and 'postgres'
# -
{% if "PostgreSQL" == postfix_db_type %}
database="postgres"
{% else %}
database="mysql"
{% endif %}
# - dbname
# -
# - Defaults to 'postfix'
dbname={{ postfix_db_name | default(omit) }}
# - dbuser
# -
# - Defaults to 'postfix'
# -
dbuser={{ postfix_db_user | default(omit) }}
# - dbpassword
# -
# - This parameter must be set here!
# -
dbpassword="{{ postfix_db_pass | default(omit) }}"
# - dbhost
# -
# - Defaults to:
# - '/var/run/postgresql' if database is set to 'postgres'
# - '127.0.0.1' if database is set to 'mysql'
# -
{% if postfix_db_type == 'PostgeSQL' %}
dbhost=/var/run/postgresql
{% else %}
dbhost={{ postfix_db_host | default(omit) }}
{% endif %}
# - default_pass_scheme
# -
# - 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
# -
# - Defaults to 'PLAIN'
# -
default_pass_scheme=PLAIN
# ---
# - Cert/Key configurations
# ---
cert_base_dir="/etc/dovecot/ssl"
server_cert=${cert_base_dir}/mailserver.crt
server_key=${cert_base_dir}/mailserver.key
dh_pem_file="${cert_base_dir}/dh_4096.pem"
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=48
#auth_mechanisms="plain login digest-md5 cram-md5"
auth_mechanisms="plain login"
# - Settings for quota warning sript
# -
from_address="{{ dovecot_from_address | default(omit) }}"
reply_to="{{ dovecot_reply_to | default(omit) }}"
webmailer="{{ webmailer_address | default(omit) }}"
salutation="{{ salutation | default(omit) }}"
# ---
# --- End server-specific Settings
# ---

View File

@ -0,0 +1,365 @@
# {{ ansible_managed }}
# ----------------------------------------------------
# - Configuration for roundcube install/upgrade script
# ----------------------------------------------------
# - Name of the website - usualy 'webmail.<domain>.<tld>'
# -
WEBSITE_NAME="{{ webmail_site_name | default(omit) }}"
# - IPv4 Address
# -
IPV4="{{ ipv4_address | default(omit) }}"
# - IPv6 Address
# -
IPV6="{{ ipv6_address | default(omit) }}"
# - 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="/var/lib/dehydrated/certs/$WEBSITE_NAME"
# - Certificate for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_CERT="fullchain.pem"
# -
# - Defaults to 'server-bundle.crt'
# -
APACHE_SERVER_CERT="fullchain.pem"
# - Key File for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_KEY="privkey.pem"
# -
# - Defaults to 'server.key'
# -
APACHE_SERVER_KEY="privkey.pem"
# - Certification Chain File
# -
# - Deprecated since Apache 2.4 - Leave empty if not present
# -
#CERT_ChainFile=""
# - Is PHP installed from debian package system ?
# -
# - Boolean, possible values are 'true', 'false'
# -
# - Defaults to 'false'
#
PHP_DEBIAN_INSTALLATION="false"
# - 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="{{ autoreply_hostname | default(omit) }}"
# - Database type for Roundcube
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
DB_TYPE="{{ roundcube_db_type | default(omit) }}"
# - Host of Roundcube Database
# -
# - Defaults to 'localhost'
# -
DB_HOST="{{ roundcube_db_host | default(omit) }}"
# - Name of Roundcube Database
# -
# - Defaults to 'roundcubemail'
# -
DB_NAME="{{ roundcube_db_name | default(omit) }}"
# - User of Roundcube Database
# -
# - Defaults to 'roundcube'
# -
DB_USER="{{ roundcube_db_user | default(omit) }}"
# - Password of Roundcube Database
# -
DB_PASS='{{ roundcube_db_pass | default(omit) }}'
# - 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="{{ roundcube_product_name | default(omit) }}"
# - URL for users, to get in contact if something goes wrong
# -
# - Defaults to 'www.<domain>.<tld>'
# -
SUPPORT_URL="{{ roundcube_support_url | default(omit) }}"
# - 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="{{ roundcube_skin_logo | default(omit) }}"
# --------------------
# - Plugins Configuration
# --------------------
# ==========
# - Settings Postfix Database
# ==========
# - Type of Postfix database
# -
# - used for setting $config['password_db_dsn']
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
{% if "PostgreSQL" == postfix_db_type %}
POSTFIX_DB_TYPE="pgsql"
{% else %}
POSTFIX_DB_TYPE="mysql"
{% endif %}
# - Host of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'localhost'
# -
POSTFIX_DB_HOST="{{ postfix_db_host | default(omit) }}"
# - Name of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'postfix'
# -
POSTFIX_DB_NAME="{{ postfix_db_name | default(omit) }}"
# - User of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'postfix'
# -
POSTFIX_DB_USER="{{ postfix_db_user | default(omit) }}"
# - Password of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
POSTFIX_DB_PASSWD='{{ postfix_db_pass | default(omit) }}'
# ===
# - Plugin acl
# ===
# - Activate plugin 'acl'?
# -
# - Boolean - possible values are 'true' and 'false'
# -
# - Defaults to 'false'
# -
INCLUDE_ACL_PLUGIN="true"
# ===
# - 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='dovecot'
# - Password prefix (e.g. {CRYPT}, {SHA}, {CRAM-MD5}) for passwords generated
# -
# - $config['password_algorithm_prefix']
# -
# - Defaults to '{CRAM-MD5}'
# -
PW_PASSWD_ALGO_PREFIX='{SHA512-CRYPT}'
# - 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='SHA512-CRYPT'
# - 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

View File

@ -0,0 +1,356 @@
# {{ ansible_managed }}
# ----------------------------------------------------
# - Configuration for roundcube install/upgrade script
# ----------------------------------------------------
# - Name of the website - usualy 'webmail.<domain>.<tld>'
# -
WEBSITE_NAME="{{ webmaili_2_site_name | default(omit) }}"
# - IPv4 Address
# -
IPV4="{{ ipv4_address | default(omit) }}"
# - IPv6 Address
# -
IPV6="{{ ipv6_address | default(omit) }}"
# - 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="/var/lib/dehydrated/certs/$WEBSITE_NAME"
# - Certificate for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_CERT="fullchain.pem"
# -
# - Defaults to 'server-bundle.crt'
# -
APACHE_SERVER_CERT="fullchain.pem"
# - Key File for the Rounfcube Website
# -
# - Example:
# - APACHE_SERVER_KEY="privkey.pem"
# -
# - Defaults to 'server.key'
# -
APACHE_SERVER_KEY="privkey.pem"
# - 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="{{ autoreply_2_hostname | default(omit) }}"
# - Database type for Roundcube
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
DB_TYPE="{{ roundcube_2_db_type | default(omit) }}"
# - Host of Roundcube Database
# -
# - Defaults to 'localhost'
# -
DB_HOST="{{ roundcube_2_db_host | default(omit) }}"
# - Name of Roundcube Database
# -
# - Defaults to 'roundcubemail'
# -
DB_NAME="{{ roundcube_2_db_name | default(omit) }}"
# - User of Roundcube Database
# -
# - Defaults to 'roundcube'
# -
DB_USER="{{ roundcube_2_db_user | default(omit) }}"
# - Password of Roundcube Database
# -
DB_PASS="3Dsz3j5R"
# - 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="{{ roundcube_2_product_name | default(omit) }}"
# - URL for users, to get in contact if something goes wrong
# -
# - Defaults to 'www.<domain>.<tld>'
# -
SUPPORT_URL="{{ roundcube_2_support_url | default(omit) }}"
# - 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="{{ roundcube_2_skin_logo | default(omit) }}"
# --------------------
# - Plugins Configuration
# --------------------
# ==========
# - Settings Postfix Database
# ==========
# - Type of Postfix database
# -
# - used for setting $config['password_db_dsn']
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
{% if "PostgreSQL" == postfix_db_type %}
POSTFIX_DB_TYPE="pgsql"
{% else %}
POSTFIX_DB_TYPE="mysql"
{% endif %}
# - Host of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'localhost'
# -
POSTFIX_DB_HOST="{{ postfix_db_host | default(omit) }}"
# - Name of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'postfix'
# -
POSTFIX_DB_NAME="{{ postfix_db_name | default(omit) }}"
# - User of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
# - Defaults to 'postfix'
# -
POSTFIX_DB_USER="{{ postfix_db_user | default(omit) }}"
# - Password of Postfix Database
# -
# - used for setting $config['password_db_dsn']
# -
POSTFIX_DB_PASSWD='{{ postfix_db_pass | default(omit) }}'
# ===
# - Plugin acl
# ===
# - Activate plugin 'acl'?
# -
# - Boolean - possible values are 'true' and 'false'
# -
# - Defaults to 'false'
# -
INCLUDE_ACL_PLUGIN="true"
# ===
# - 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='dovecot'
# - Password prefix (e.g. {CRYPT}, {SHA}, {CRAM-MD5}) for passwords generated
# -
# - $config['password_algorithm_prefix']
# -
# - Defaults to '{CRAM-MD5}'
# -
PW_PASSWD_ALGO_PREFIX='{SHA512-CRYPT}'
# - 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='SHA512-CRYPT'
# - 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