- Support %z variable in host configuration options (#1487003)
| | |
| | | - Fix format=flowed handling (#1486989) |
| | | - Fix when IMAP connection fails in 'get' action session shouldn't be destroyed (#1486995) |
| | | - Fix list_cols is not updated after column dragging (#1486999) |
| | | - Support %z variable in host configuration options (#1487003) |
| | | |
| | | RELEASE 0.4 |
| | | ----------- |
| | |
| | | // %h - user's IMAP hostname |
| | | // %n - http hostname ($_SERVER['SERVER_NAME']) |
| | | // %d - domain (http hostname without the first part) |
| | | // %z - IMAP domain (IMAP hostname without the first part) |
| | | // For example %n = mail.domain.tld, %d = domain.tld |
| | | $rcmail_config['smtp_server'] = ''; |
| | | |
| | |
| | | // %h - user's IMAP hostname |
| | | // %n - http hostname ($_SERVER['SERVER_NAME']) |
| | | // %d - domain (http hostname without the first part) |
| | | // %z - IMAP domain (IMAP hostname without the first part) |
| | | // For example %n = mail.domain.tld, %d = domain.tld |
| | | $rcmail_config['username_domain'] = ''; |
| | | |
| | |
| | | // %h - user's IMAP hostname |
| | | // %n - http hostname ($_SERVER['SERVER_NAME']) |
| | | // %d - domain (http hostname without the first part) |
| | | // %z - IMAP domain (IMAP hostname without the first part) |
| | | // For example %n = mail.domain.tld, %d = domain.tld |
| | | $rcmail_config['mail_domain'] = ''; |
| | | |
| | |
| | | // %h - user's IMAP hostname |
| | | // %n - http hostname ($_SERVER['SERVER_NAME']) |
| | | // %d - domain (http hostname without the first part) |
| | | // %z - IMAP domain (IMAP hostname without the first part) |
| | | // For example %n = mail.domain.tld, %d = domain.tld |
| | | 'hosts' => array('directory.verisign.com'), |
| | | 'port' => 389, |
| | |
| | | $d = preg_replace('/^[^\.]+\./', '', $n); |
| | | // %h - IMAP host |
| | | $h = $_SESSION['imap_host']; |
| | | // %z - IMAP domain without first part, e.g. %h=imap.domain.tld, %z=domain.tld |
| | | $z = preg_replace('/^[^\.]+\./', '', $h); |
| | | |
| | | $name = str_replace(array('%n', '%d', '%h'), array($n, $d, $h), $name); |
| | | $name = str_replace(array('%n', '%d', '%h', '%z'), array($n, $d, $h, $z), $name); |
| | | return $name; |
| | | } |
| | | |