From b51df24e3b1b64c17a3aac652b142e2082c77a26 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 16 Dec 2013 06:06:33 +0100 Subject: Configure Sieve and ManageSieve. Also, add the 'managesieve' RoundCube plugin to communicate with our server. --- roles/webmail/tasks/roundcube.yml | 5 +- .../plugins/managesieve/config.inc.php.j2 | 67 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 roles/webmail/templates/usr/share/roundcube/plugins/managesieve/config.inc.php.j2 (limited to 'roles/webmail') diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml index 21d4dff..2d8a8b9 100644 --- a/roles/webmail/tasks/roundcube.yml +++ b/roles/webmail/tasks/roundcube.yml @@ -37,7 +37,7 @@ - { var: username_domain, value: "'fripost.org'" } - { var: product_name, value: "'Fripost'" } # Plugins - - { var: plugins, value: "array('password','additional_message_headers')" } + - { var: plugins, value: "array('additional_message_headers','managesieve','password')" } # User Interface - { var: language, value: "'sv_SE'" } - { var: create_default_folders, value: "TRUE" } @@ -60,8 +60,9 @@ owner=root group=root mode=0644 with_items: - - password - additional_message_headers + - managesieve + - password - name: Start php5-fpm service: name=php5-fpm state=started diff --git a/roles/webmail/templates/usr/share/roundcube/plugins/managesieve/config.inc.php.j2 b/roles/webmail/templates/usr/share/roundcube/plugins/managesieve/config.inc.php.j2 new file mode 100644 index 0000000..27b5b44 --- /dev/null +++ b/roles/webmail/templates/usr/share/roundcube/plugins/managesieve/config.inc.php.j2 @@ -0,0 +1,67 @@ +/sieve +$rcmail_config['managesieve_debug'] = false; + +// Enables features described in http://wiki.kolab.org/KEP:14 +$rcmail_config['managesieve_kolab_master'] = false; + +// Script name extension used for scripts including. Dovecot uses '.sieve', +// Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled. +$rcmail_config['managesieve_filename_extension'] = '.sieve'; + +// List of reserved script names (without extension). +// Scripts listed here will be not presented to the user. +$rcmail_config['managesieve_filename_exceptions'] = array(); + +?> -- cgit v1.2.3