Bladeren bron

Using TLS to connect to mailserver

merge-requests/1/merge
Christoph Haas 6 jaren geleden
bovenliggende
commit
f4bfc485b8
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      ansible/roles/ispmail-webmail-apache-roundcube/templates/config.inc.php.j2

+ 2
- 2
ansible/roles/ispmail-webmail-apache-roundcube/templates/config.inc.php.j2 Bestand weergeven

@@ -32,7 +32,7 @@ include_once("/etc/roundcube/debian-db-roundcube.php");
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
$config['default_host'] = 'localhost';
$config['default_host'] = 'tls://{{ispmail_fqdn}}';

// SMTP server host (for sending mails).
// Enter hostname with prefix tls:// to use STARTTLS, or use
@@ -44,7 +44,7 @@ $config['default_host'] = 'localhost';
// %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';
$config['smtp_server'] = 'tls://{{ispmail_fqdn}}';

// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
// deprecated SSL over SMTP (aka SMTPS))


Laden…
Annuleren
Opslaan