bundlewrap/bundles/roundcube/files/config.inc.php
CroneKorkN 5463827e37
fix(roundcube): wait up to 120s for IMAP responses
Roundcube fell back to php's default_socket_timeout of 10s, while moving
50 messages out of a 46k-message maildir inbox takes Dovecot about 35s;
the move succeeded but Roundcube reported it as failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
2026-10-23 15:35:22 +02:00

24 lines
840 B
PHP

<?php
% if installer:
$config['enable_installer'] = true;
% endif
/* Local configuration for Roundcube Webmail */
$config['db_dsnw'] = '${database['provider']}://${database['user']}:${database['password']}@${database['host']}/${database['name']}';
$config['imap_host'] = 'ssl://${imap_host}';
$config['imap_port'] = 993;
# php's default_socket_timeout is 10s, moving many messages takes longer
$config['imap_timeout'] = 120;
#$config['imap_debug'] = true;
$config['smtp_host'] = 'tls://${imap_host}';
$config['smtp_port'] = 587;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
#$config['smtp_debug'] = true;
$config['support_url'] = '';
$config['des_key'] = '${des_key}';
$config['product_name'] = '${product_name}';
$config['plugins'] = array(${', '.join(f'"{plugin}"' for plugin in plugins)});
$config['language'] = 'de_DE';