1

Topic: Only one user have problems sending mail form Roundcube

0.9.7 MYSQL edition
Downloadable installer: iRedMail.sh
Distribution: Centos 6
Web Server: Apache

Only one user cannot send mail from the Roundcube mail client. This user, however, can send can send mail from any other client.

This is the error from our maillog:

Oct 11 12:44:25 langara roundcube: PHP Fatal error:  Call to undefined function stream_set_chunk_size() in /var/www/roundcubemail-1.3.0/vendor/pear/crypt_gpg/Crypt/GPG/Engine.php on line 1727
Oct 11 12:45:31 langara postfix/10025/smtpd[7154]: timeout after END-OF-MESSAGE from langara.kbh.bz[127.0.0.1]
Oct 11 12:45:31 langara postfix/10025/smtpd[7154]: disconnect from langara.kbh.bz[127.0.0.1]

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Cthulhu 2021-10-12 21:14:08)

Re: Only one user have problems sending mail form Roundcube

https://www.php.net/manual/de/function. … k-size.php

GPG = GnuPG = PGP

Seems he uses PGP for his mailbox and the encryption module calls for stream_set_chunk_size() which should be a normal PHP function.

create a .php file which contains:

<?
phpinfo();
?>

check for disabled_functions, is stream_set_chunk_size listed there?


Edit:
Actually the 5.3.3 version of php that is shipped on CentOS 6 was supported by Redhat until CentOS 6 went EOL in 2020.

stream_set_chunk_size() is supported by: (PHP 5 >= 5.4.0, PHP 7, PHP 8)

Your system is outdated and not supported anymore, and you really should not use it

3

Re: Only one user have problems sending mail form Roundcube

Thanks for your quick response. I migrated my personal mail server to version 1.4.0 (on Centos 7) as a test. The migration of this server was delayed because support for Apache was dropped. I'm modifying a web app that interacts with the mail server and was finetuned for Apache.

I was just curious to find out if anyone else had experienced this problem. Why just one user? Hopefully other users are not affected before I complete the migration.

Regards

4 (edited by Cthulhu 2021-10-13 04:01:51)

Re: Only one user have problems sending mail form Roundcube

wget http://archives.fedoraproject.org/pub/archive/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

rpm -Uvh epel-release-6-8.noarch.rpm remi-release-6.rpm

yum install yum-utils

yum-config-manager --enable remi-php56