[Svn] [roundcube/roundcubemail] b49790: Managesieve allowed hosts (#6292)

GitHub noreply at github.com
Sat May 19 08:51:07 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: b497908040ea6755ac0034d20c635b871b8b9bd9
      https://github.com/roundcube/roundcubemail/commit/b497908040ea6755ac0034d20c635b871b8b9bd9
  Author: Athanasios Douitsis <aduitsis at cpan.org>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M plugins/managesieve/config.inc.php.dist
    M plugins/managesieve/managesieve.php

  Log Message:
  -----------
  Managesieve allowed hosts (#6292)

* Introduce managesieve_allowed_hosts setting

If managesieve_allowed_hosts has been set, then check that the array contains the current mail_host for the user session. If not, just return. This will cause the managesieve plugin to not appear under the settings menu.

* Include managesieve_allowed_hosts example

An example of the managesieve_allowed_hosts setting is included. By default, it is left commented to preserve existing behaviour.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the svn mailing list