Topic: problems with roundcube 1.6.1
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.3
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Updated to roundcube 1.6.1 with the complete package from whatever the version in iredmail 1.6.1 was, i think 1.5.3 during my update to iredmail 1.6.3. After upgrading, I cannot send or receive emails with roundcube, roundcube is totally severed from my mail server and does not connect to it anymore. (Connection Error. Failed to reach the server!) The mail server itself is functional and I can send and receive emails, just not from roundcube. The problem seems to lay here during the upgrade of roundcube:
ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
I have no idea how to do that. And please note, I did install the complete roundcube package.
Error log of what goes on with roundcube:
May 24 06:33:34 mail postfix/submission/smtpd[199181]: connect from mail.domain.tld[127.0.0.1]
May 24 06:33:34 mail roundcube: PHP Fatal error: Uncaught Error: Call to undefined method Net_SMTP::starttls() in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube_smtp.php:164
May 24 06:33:34 mail roundcube: Stack trace:
May 24 06:33:34 mail roundcube: #0 /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube.php(284): rcube_smtp->connect()
May 24 06:33:34 mail roundcube: #1 /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube.php(1783): rcube->smtp_init()
May 24 06:33:34 mail roundcube: #2 /opt/www/roundcubemail-1.4.11/program/include/rcmail_sendmail.php(436): rcube->deliver_message()
May 24 06:33:34 mail roundcube: #3 /opt/www/roundcubemail-1.4.11/program/actions/mail/send.php(245): rcmail_sendmail->deliver_message()
May 24 06:33:34 mail roundcube: #4 /opt/www/roundcubemail-1.4.11/program/include/rcmail.php(282): rcmail_action_mail_send->run()
May 24 06:33:34 mail roundcube: #5 /opt/www/roundcubemail-1.4.11/index.php(278): rcmail->action_handler()
May 24 06:33:34 mail roundcube: #6 {main}
May 24 06:33:34 mail roundcube: thrown in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube_smtp.php on line 164
May 24 06:33:34 mail postfix/submission/smtpd[199181]: lost connection after EHLO from mail.domain.tld[127.0.0.1]
May 24 06:33:34 mail postfix/submission/smtpd[199181]: disconnect from mail.domain.tld[127.0.0.1] ehlo=1 commands=1
In /opt/www/roundcubemail/config/config.inc.php i see it moved my config file from 1.5.3 to .old and created a new one to use and appended to it.
Update: I fixed it. I had to go into /opt/www/roundcubemail/ and get rid of composer.json there is a bug in the roundcube complete installer. Now roundcube works.
See here: https://github.com/roundcube/roundcubemail/issues/8642
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.