install_roundcube.sh: replace 'smtp_server' with 'smtp_host' in configuration file.
This commit is contained in:
parent
cc146aa5fc
commit
5f554c8bbd
@ -1856,8 +1856,7 @@ info "Now browse to the intaller site and continue installation.\n$(cat <<EOF
|
|||||||
junk_mbox..............: $SPAM_FOLDER_NAME
|
junk_mbox..............: $SPAM_FOLDER_NAME
|
||||||
|
|
||||||
SMTP Settings:
|
SMTP Settings:
|
||||||
smtp_server............: tls://$(hostname -f)
|
smtp_host..............: tls://$(hostname -f):587
|
||||||
smtp_port..............: 587
|
|
||||||
|
|
||||||
smtp_user/smtp_pass....:
|
smtp_user/smtp_pass....:
|
||||||
[x] Use the current IMAP username and password for SMTP authentication
|
[x] Use the current IMAP username and password for SMTP authentication
|
||||||
@ -1972,9 +1971,10 @@ cat <<EOF >>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.in
|
|||||||
// SMTP
|
// SMTP
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
|
|
||||||
// SMTP server host (for sending mails).
|
// SMTP server host (and optional port number) for sending mails.
|
||||||
// Enter hostname with prefix tls:// to use STARTTLS, or use
|
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
|
||||||
// prefix ssl:// to use the deprecated SSL over SMTP (aka SMTPS)
|
// prefix tls:// to use STARTTLS.
|
||||||
|
// If port number is omitted it will be set to 465 (for ssl://) or 587 otherwise.
|
||||||
// Supported replacement variables:
|
// Supported replacement variables:
|
||||||
// %h - user's IMAP hostname
|
// %h - user's IMAP hostname
|
||||||
// %n - hostname (\$_SERVER['SERVER_NAME'])
|
// %n - hostname (\$_SERVER['SERVER_NAME'])
|
||||||
@ -1982,11 +1982,9 @@ cat <<EOF >>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.in
|
|||||||
// %d - domain (http hostname \$_SERVER['HTTP_HOST'] without the first part)
|
// %d - domain (http hostname \$_SERVER['HTTP_HOST'] without the first part)
|
||||||
// %z - IMAP domain (IMAP hostname without the first part)
|
// %z - IMAP domain (IMAP hostname without the first part)
|
||||||
// For example %n = mail.domain.tld, %t = domain.tld
|
// For example %n = mail.domain.tld, %t = domain.tld
|
||||||
\$config['smtp_server'] = 'tls://$(hostname -f)';
|
// To specify different SMTP servers for different IMAP hosts provide an array
|
||||||
|
// of IMAP host (no prefix or port) and SMTP server e.g. ['imap.example.com' => 'smtp.example.net']
|
||||||
// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
|
\$config['smtp_host'] = 'tls://$(hostname -f):587';
|
||||||
// deprecated SSL over SMTP (aka SMTPS))
|
|
||||||
\$config['smtp_port'] = 587;
|
|
||||||
|
|
||||||
// SMTP username (if required) if you use %u as the username Roundcube
|
// SMTP username (if required) if you use %u as the username Roundcube
|
||||||
// will use the current username for login
|
// will use the current username for login
|
||||||
|
Loading…
Reference in New Issue
Block a user