Create (initial) install script.
This commit is contained in:
parent
2902de08be
commit
2bd951baa2
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/BAK/*
|
||||
/conf/*.conf
|
||||
roundcubemail-
|
@ -568,13 +568,14 @@ cat <<EOF
|
||||
default_host...........: localhost
|
||||
default_port...........: 143
|
||||
junk_mbox..............: $SPAM_FOLDER_NAME
|
||||
smtp_user/smtp_pass....:
|
||||
[x] Use the current IMAP username and password for SMTP authentication
|
||||
|
||||
SMTP Settings:"
|
||||
smtp_server............: localhost
|
||||
smtp_port..............: 25
|
||||
|
||||
smtp_user/smtp_pass....:
|
||||
[ ] Use the current IMAP username and password for SMTP authentication
|
||||
|
||||
Display settings & user prefs:
|
||||
language...............: de_DE
|
||||
skin...................: larry
|
||||
|
@ -211,7 +211,7 @@ if [ "$_db_type" = "pgsql" ];then
|
||||
## -
|
||||
## - // write data queries
|
||||
## - /* !! Wichtig:
|
||||
## - Nur wenn rcmail_config['vacation_gui_vacationforwarder'] = TRUE
|
||||
## - Nur wenn rcmail_config['vacation_gui_vacationforwarder'] = FALSE
|
||||
## -
|
||||
## - NOTE: interval_time wird statisch gesetzt auf 86400 (1 Tag)
|
||||
## - */
|
||||
|
345
conf/install_roundcube.conf.sample
Normal file
345
conf/install_roundcube.conf.sample
Normal file
@ -0,0 +1,345 @@
|
||||
# --------------------------------------------
|
||||
# - Configuration for roundcube install script
|
||||
# --------------------------------------------
|
||||
|
||||
# - Version of the Roundcube Webmailer to install
|
||||
# -
|
||||
ROUNDCUBE_VERSION=""
|
||||
|
||||
# - 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.
|
||||
# -
|
||||
# - 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
|
||||
# -
|
||||
# - Defaults to 'server-bundle.crt'
|
||||
# -
|
||||
#APACHE_SERVER_CERT=""
|
||||
|
||||
# - Key File for the Rounfcube Website
|
||||
# -
|
||||
# - 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
|
||||
# ==========
|
||||
|
||||
# - Database type of
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
|
||||
# -
|
||||
POSTFIX_DB_TYPE="pgsql"
|
||||
|
||||
# - Host of Roundcube Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'localhost'
|
||||
# -
|
||||
#POSTFIX_DB_HOST=""
|
||||
|
||||
# - Name of Roundcube Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
# -
|
||||
#POSTFIX_DB_NAME=
|
||||
|
||||
# - User of Roundcube Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
# -
|
||||
#POSTFIX_DB_USER=""
|
||||
|
||||
# - Password of Roundcube Database
|
||||
# -
|
||||
# - used for setting $config['password_db_dsn']
|
||||
# -
|
||||
POSTFIX_DB_PASSWD='CbX8vg347Vvm'
|
||||
|
||||
|
||||
# ===
|
||||
# - 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
|
2850
install_roundcube.sh
Executable file
2850
install_roundcube.sh
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user