I use Roundcube 1.0.2 in the following environment.
OS: CentOS 7.2.1511
IMAP Server: dovecot-2.2.10-5.el7.x86_64
In order to handle 50 MB attached file on Roundcube,
We made the following settings in Apache and PHP.
. Apache httpd.conf
. PHP php.ini
max_execution_time = 300
max_input_time = 600
error_reporting = E_ALL
default_socket_timeout = 600
mysql.connect_timeout = 600
. Roundcube defaults.inc.php
$config['imap_timeout'] = 300;
In this situation, e-mail with attached file of about 30 MB will be
sent from Roundcube
When downloading, processing stops when 1 minute passes.
The whole file can not be downloaded, and only a part has been downloaded.
I think that the following log (/var/log/maillog) is output to
Dovecot, indicating that it ended abnormally.
Apr 11 14:47:43 server dovecot: imap-login: Login: user = <user>,
method = PLAIN, rip = X.X.X.X, lip = X.X.X.X, mpid = 17992, TLS,
session = <Ln + HLYxpAKyALY>
Apr 11 14:47:44 server dovecot: imap (user): Disconnected: Logged out
in in = 196 out = 16844
Apr 11 14:48:00 server dovecot: imap (user): Error: read (<binary
stream of mailbox INBOX UID 433>) failed: Broken pipe (FETCH BINARY
 for mailbox INBOX UID 433)
Apr 11 14:48:00 server dovecot: imap (user): Disconnected: FETCH
failed in = 420 out = 12552347
As a result of investigation, it seems that some timeout value is set
on Roundcube side,
Can you advise me?
Please tell me if there is information necessary for carving.
Roundcube Users mailing list