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
This commit is contained in:
CroneKorkN 2026-10-23 15:35:22 +02:00
parent 4f4da1c7a1
commit 5463827e37
No known key found for this signature in database

View file

@ -9,6 +9,8 @@ $config['enable_installer'] = true;
$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;