diff --git a/install_roundcube.sh b/install_roundcube.sh index 84e7233..5f487a2 100755 --- a/install_roundcube.sh +++ b/install_roundcube.sh @@ -1791,6 +1791,7 @@ cat <>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.in // with any configured cipher_method (see below). \$config['des_key'] = '$_des_key'; + // ---------------------------------- // SYSTEM // ---------------------------------- @@ -1804,6 +1805,35 @@ cat <>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.in \$config['login_autocomplete'] = 1; +// ---------------------------------- +// SMTP +// ---------------------------------- + +// SMTP server host (for sending mails). +// Enter hostname with prefix tls:// to use STARTTLS, or use +// prefix ssl:// to use the deprecated SSL over SMTP (aka SMTPS) +// Supported replacement variables: +// %h - user's IMAP hostname +// %n - hostname (\$_SERVER['SERVER_NAME']) +// %t - hostname without the first part +// %d - domain (http hostname \$_SERVER['HTTP_HOST'] without the first part) +// %z - IMAP domain (IMAP hostname without the first part) +// For example %n = mail.domain.tld, %t = domain.tld +\$config['smtp_server'] = 'localhost'; + +// SMTP port (default is 25; use 587 for STARTTLS or 465 for the +// deprecated SSL over SMTP (aka SMTPS)) +\$config['smtp_port'] = 25; + +// SMTP username (if required) if you use %u as the username Roundcube +// will use the current username for login +\$config['smtp_user'] = ''; + +// SMTP password (if required) if you use %p as the password Roundcube +// will use the current user's password for login +\$config['smtp_pass'] = ''; + + // ---------------------------------- // IMAP (further settings) // ----------------------------------