Przeglądaj źródła

Fix outgoing mail port configuration in webmail role

Mike Ashley 7 lat temu
rodzic
commit
ebddb05fb4

+ 2
- 2
roles/webmail/templates/var_www_roundcube_config_config.inc.j2 Wyświetl plik

@@ -49,11 +49,11 @@ $config['default_host'] = 'ssl://{{ webmail_domain }}:993';
49 49
 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
50 50
 // %z - IMAP domain (IMAP hostname without the first part)
51 51
 // For example %n = mail.domain.tld, %t = domain.tld
52
-$config['smtp_server'] = 'localhost';
52
+$config['smtp_server'] = 'tls://{{ webmail_domain }}';
53 53
 
54 54
 // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
55 55
 // deprecated SSL over SMTP (aka SMTPS))
56
-$config['smtp_port'] = 465;
56
+$config['smtp_port'] = 587;
57 57
 
58 58
 // SMTP username (if required) if you use %u as the username Roundcube
59 59
 // will use the current username for login

Ładowanie…
Anuluj
Zapisz