summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-10-02 00:34:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-10-02 00:34:25 +0200
commit7250aa6c1acfa8d66e9341f48745ea2ffc8c7be6 (patch)
treecd544e702b4cc6c4229a6071eb84c3fa963a6a05 /roles
parent88112ee192127825c97e431ca97b7a1a422d2bc7 (diff)
Roundcube: Add minimal config confile for thunderbird_labels plugin.
Diffstat (limited to 'roles')
-rw-r--r--roles/webmail/files/etc/roundcube/plugins/thunderbird_labels/config.inc.php5
-rw-r--r--roles/webmail/tasks/roundcube.yml1
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/roundcube/plugins/thunderbird_labels/config.inc.php b/roles/webmail/files/etc/roundcube/plugins/thunderbird_labels/config.inc.php
new file mode 100644
index 0000000..2abb423
--- /dev/null
+++ b/roles/webmail/files/etc/roundcube/plugins/thunderbird_labels/config.inc.php
@@ -0,0 +1,5 @@
+<?php
+
+$rcmail_config['tb_label_enable'] = true;
+
+?>
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml
index afe20bf..e60bb69 100644
--- a/roles/webmail/tasks/roundcube.yml
+++ b/roles/webmail/tasks/roundcube.yml
@@ -155,40 +155,41 @@
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
- authres_status
- password
- html5_notifier
+ - thunderbird_labels
- name: Configure Roundcube plugins (2)
template: src=etc/roundcube/plugins/{{ item }}/config.inc.php.j2
dest=/etc/roundcube/plugins/{{ item }}/config.inc.php
owner=root group=root
mode=0644
with_items:
- managesieve
- name: Start php7.3-fpm
service: name=php7.3-fpm state=started
- name: Copy /etc/cron.d/roundcube-core
copy: src=etc/cron.d/roundcube-core
dest=/etc/cron.d/roundcube-core
owner=root group=root
mode=0644
- name: Tweak /etc/logrotate.d/roundcube-core
lineinfile: dest=/etc/logrotate.d/roundcube-core