summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-09-08 02:04:00 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-09-08 02:04:07 +0200
commit256f7f82fef14dcfd9722cc00c39aa29a4c06ef6 (patch)
treef1bcd9abc4433514cea0fe27c8d6734274cf9e6e
parent35deeed568da88a388247343b58370eeab42cb75 (diff)
Roundcube: Set $config['max_recipients'] = 15 to avoid timeout.
Cf. msgid=<ZFe5tjHTGbVemNTD@fripost.org>
-rw-r--r--roles/webmail/tasks/roundcube.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml
index c186354..bd174bc 100644
--- a/roles/webmail/tasks/roundcube.yml
+++ b/roles/webmail/tasks/roundcube.yml
@@ -106,40 +106,42 @@
mode=0600
with_items:
# Logging/Debugging
- { var: smtp_log, value: "false" }
# IMAP
# WARNING: After hostname change update of mail_host column in users
# table is required to match old user data records with the new host.
- { var: default_host, value: "'{{ imapsvr_addr | ansible.utils.ipaddr }}'" }
- { var: default_port, value: "143" }
- { var: imap_auth_type, value: "'PLAIN'" }
- { var: imap_cache, value: "null" }
- { var: imap_timeout, value: "180" }
- { var: imap_force_ns, value: "true" }
- { var: messages_cache, value: "false" }
# SMTP
- { var: smtp_server, value: "'{{ postfix_instance.MSA.addr | ansible.utils.ipaddr }}'" }
- { var: smtp_port, value: "{{ postfix_instance.MSA.port }}" }
- { var: smtp_auth_type, value: "'PLAIN'" }
- { var: smtp_user, value: "'%u'" }
- { var: smtp_pass, value: "'%p'" }
+ # avoid timeout
+ - { var: max_recipients, value: "15" }
# System
- { var: force_https, value: "true" }
- { var: login_autocomplete, value: "2" }
- { var: username_domain, value: "'fripost.org'" }
- { 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" }