|
55 | 55 | // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) |
56 | 56 | // %s - domain name after the '@' from e-mail address provided at login screen |
57 | 57 | // For example %n = mail.domain.tld, %t = domain.tld |
58 | | -$config['default_host'] = 'tls://'.$_ENV['RC_IMAP_SERVER_NAME']; |
| 58 | +$config['imap_host'] = 'tls://'.$_ENV['RC_IMAP_SERVER_NAME']:143; |
59 | 59 | $config['imap_conn_options'] = array( |
60 | 60 | 'ssl' => array('verify_peer' => false, 'verify_peer_name' => false), |
61 | 61 | 'tls' => array('verify_peer' => false, 'verify_peer_name' => false), |
|
70 | 70 | // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) |
71 | 71 | // %z - IMAP domain (IMAP hostname without the first part) |
72 | 72 | // For example %n = mail.domain.tld, %t = domain.tld |
73 | | -$config['smtp_server'] = 'tls://'.$_ENV['RC_SMTP_SERVER_NAME']; |
| 73 | +$config['smtp_host'] = 'tls://'.$_ENV['RC_SMTP_SERVER_NAME']:587; |
74 | 74 | $config['smtp_conn_options'] = array( |
75 | 75 | 'ssl' => array('verify_peer' => false, 'verify_peer_name' => false), |
76 | 76 | 'tls' => array('verify_peer' => false, 'verify_peer_name' => false), |
77 | 77 | ); |
78 | 78 |
|
79 | | -// SMTP port (default is 25; use 587 for STARTTLS or 465 for the |
80 | | -// deprecated SSL over SMTP (aka SMTPS)) |
81 | | -$config['smtp_port'] = 587; |
82 | | - |
83 | 79 | // SMTP username (if required) if you use %u as the username Roundcube |
84 | 80 | // will use the current username for login |
85 | 81 | $config['smtp_user'] = '%u'; |
|
0 commit comments