- Support multiple managesieve hosts using %h variable in managesieve_host option (#1486135)
| | |
| | | - Support multiple managesieve hosts using %h variable |
| | | in managesieve_host option |
| | | |
| | | * version 1.6 [2009-09-08] |
| | | ----------------------------------------------------------- |
| | | - Fix warning when importing squirrelmail rules |
| | |
| | | // managesieve server port |
| | | $rcmail_config['managesieve_port'] = 2000; |
| | | |
| | | // managesieve server address |
| | | // managesieve server address, default is localhost. |
| | | // Use %h variable as replacement for user's IMAP hostname |
| | | $rcmail_config['managesieve_host'] = 'localhost'; |
| | | |
| | | // use or not TLS for managesieve server connection |
| | |
| | | // try to connect to managesieve server and to fetch the script |
| | | $this->sieve = new rcube_sieve($_SESSION['username'], |
| | | $this->rc->decrypt($_SESSION['password']), |
| | | $this->rc->config->get('managesieve_host', 'localhost'), |
| | | str_replace('%h', $_SESSION['imap_host'], $this->rc->config->get('managesieve_host', 'localhost')), |
| | | $this->rc->config->get('managesieve_port', 2000), |
| | | $this->rc->config->get('managesieve_usetls', false), |
| | | $this->rc->config->get('managesieve_disabled_extensions')); |