diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-12-16 04:29:55 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:29 +0200 |
commit | 522ba399d24e8166681b328f550904fcd4d8fad9 (patch) | |
tree | 0686ea8ab3271872d2ab15079fb53ef52b778090 /roles/webmail/tasks/roundcube.yml | |
parent | de0914bf8105fa8c281a326e6e3e4e3f211bb0f3 (diff) |
Use a local IMAP caching proxy under the webmail.
(Unless the webmail is itself a full IMAP server.) It replaces
RoundCube's own IMAP and message caches.
Dovecot's IMAPC storage backend is not very documented, but provides
smart IMAP proxying. References include:
http://dovecot.org/pipermail/dovecot/2011-January/056975.html
http://wiki2.dovecot.org/HowTo/ImapcProxy
http://wiki2.dovecot.org/Migration/Dsync
Diffstat (limited to 'roles/webmail/tasks/roundcube.yml')
-rw-r--r-- | roles/webmail/tasks/roundcube.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml index e76b896..21d4dff 100644 --- a/roles/webmail/tasks/roundcube.yml +++ b/roles/webmail/tasks/roundcube.yml @@ -6,44 +6,44 @@ - roundcube-plugins - php5-fpm - php5-ldap - name: Copy fripost's logo copy: src=var/lib/roundcube/skins/default/images/logo_webmail.png dest=/var/lib/roundcube/skins/default/images/logo_webmail.png owner=root group=root mode=0644 - name: Configure Roundcube lineinfile: dest=/etc/roundcube/main.inc.php "regexp=^\s*\$rcmail_config\['{{ item.var }}']\s*=" "line=$rcmail_config['{{ item.var }}'] = {{ item.value }};" owner=root group=www-data mode=0640 with_items: # Logging/Debugging - { var: smtp_log, value: "FALSE" } # IMAP - - { var: default_host, value: "'ssl://imap.fripost.org'" } - - { var: imap_auth_type, value: "'plain'" } - - { var: imap_cache, value: "'db'" } - - { var: message_cache, value: "'db'" } + - { var: default_host, value: "'localhost'" } + - { var: imap_auth_type, value: "'plain'" } + - { var: imap_cache, value: "null" } + - { var: message_cache, value: "null" } # SMTP - { var: smtp_server, value: "localhost" } - { var: smtp_port, value: "2580" } # System - { var: force_https, value: "TRUE" } - { var: login_autocomplete, value: "2" } - { var: skin_logo, value: "'skins/default/images/logo_webmail.png'" } - { var: username_domain, value: "'fripost.org'" } - { var: product_name, value: "'Fripost'" } # Plugins - { var: plugins, value: "array('password','additional_message_headers')" } # User Interface - { var: language, value: "'sv_SE'" } - { var: create_default_folders, value: "TRUE" } # User Preferences - { var: htmleditor, value: "TRUE" } - { var: skip_deleted, value: "TRUE" } - { var: check_all_folders, value: "FALSE" } - name: Make the logo a hyperlink to the website |