浏览代码

Fix outgoing mail port configuration in webmail role

Mike Ashley 8 年前
父节点
当前提交
ebddb05fb4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      roles/webmail/templates/var_www_roundcube_config_config.inc.j2

+ 2
- 2
roles/webmail/templates/var_www_roundcube_config_config.inc.j2 查看文件

@@ -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

正在加载...
取消
保存