diff options
Diffstat (limited to 'roles')
-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 @@ -130,40 +130,42 @@ - { var: product_name, value: "'Fripost Webmail'" } - { var: password_charset, value: "'UTF-8'" } - { var: skin_logo, value: 'array("classic:*" => "program/resources/fripost_logo_black.png", "larry:*" => "program/resources/fripost_logo_white.png", "elastic:login[favicon]" => "", "elastic:login" => "program/resources/fripost_logo_black.png")' } # Plugins - { var: plugins, value: "array('archive','additional_message_headers','attachment_reminder','authres_status','emoticons','hide_blockquote','html5_notifier','managesieve','password','thunderbird_labels','vcard_attachments')" } # Spell Checking - { var: enable_spellcheck, value: "'true'" } - { var: spellcheck_engine, value: "'enchant'" } - { var: spellcheck_languages, value: "array('da','de','en','es','fr','no','sv')" } # User Interface - { var: skin, value: "'elastic'" } - { var: language, value: "'sv_SE'" } - { var: create_default_folders, value: "true" } - { var: support_url, value: "'https://fripost.org/kontakt/'" } # User Preferences - { var: htmleditor, value: "3" } - { var: skip_deleted, value: "true" } - { 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 regexp='^(\s*)(<roundcube:object name="logo" src="[^"]*"[^>]* />)' line='\1<a href="https://fripost.org">\2</a>' backrefs=yes owner=root group=root mode=0644 with_items: - classic - larry - elastic - name: Configure Roundcube plugins copy: src=etc/roundcube/plugins/{{ item }}/config.inc.php dest=/etc/roundcube/plugins/{{ item }}/config.inc.php owner=root group=root mode=0644 with_items: - additional_message_headers |