diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-10-02 00:30:22 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-10-02 00:30:22 +0200 |
commit | 88112ee192127825c97e431ca97b7a1a422d2bc7 (patch) | |
tree | c5928df269422fbf931608c248d1fdbaec832e53 /roles/webmail | |
parent | 75ddb40f689c75baf24000d0e43d6f4b59c21b0a (diff) |
Roundcube: Don't allow overriding authres_status's use_fallback_verifier/trusted_mtas.
Diffstat (limited to 'roles/webmail')
-rw-r--r-- | roles/webmail/files/etc/roundcube/plugins/authres_status/config.inc.php | 1 | ||||
-rw-r--r-- | roles/webmail/tasks/roundcube.yml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/roundcube/plugins/authres_status/config.inc.php b/roles/webmail/files/etc/roundcube/plugins/authres_status/config.inc.php index 8ee3bc7..6d41d4f 100644 --- a/roles/webmail/files/etc/roundcube/plugins/authres_status/config.inc.php +++ b/roles/webmail/files/etc/roundcube/plugins/authres_status/config.inc.php @@ -1,5 +1,6 @@ <?php +$config['use_fallback_verifier'] = false; $config['trusted_mtas'] = array('mx1.fripost.org', 'mx2.fripost.org'); ?> diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml index 8404b6d..afe20bf 100644 --- a/roles/webmail/tasks/roundcube.yml +++ b/roles/webmail/tasks/roundcube.yml @@ -147,6 +147,8 @@ - { var: check_all_folders, value: "false" } - { var: hide_blockquote_limit, value: "8" } - { var: attachment_reminder, value: "true" } + # Don't allow overriding these settings + - { var: dont_override, value: "array('use_fallback_verifier', 'trusted_mtas');" } - name: Make the logo a hyperlink to the website lineinfile: dest=/usr/share/roundcube/skins/{{ item }}/templates/login.html |