Roundcube Community Forum

 

Recent posts

#1
Pending Issues / Re: SMTP Error: Authentication...
Last post by gigia - January 16, 2026, 11:33:18 PM
Quote from: XurxoMF on July 24, 2025, 03:07:22 PM. Stalwart only allowed PLAIN and LOGIN using TLS on 465. For some reason, 465 and 993 are not working on Roundcube so when using 587, Stalwart was not letting me use PLAIN and LOGIN.... Aded those on Stalwart and problem solved

Can you please guide me how to do that? I'm using stalwart in a docker container. I edited the toml like this:

server.listener.smtp.bind = "[::]:25"
server.listener.smtp.protocol = "smtp"
server.listener.submission.auth.allowed = ["PLAIN", "LOGIN"]
server.listener.submission.auth.allowed_hosts = ["172.24.0.0/16"]
server.listener.submission.bind = "[::]:587"
server.listener.submission.protocol = "smtp"
server.listener.submission.proxy.override = false
server.listener.submission.socket.override = false
server.listener.submission.tls.implicit = false
server.listener.submission.tls.override = false


+ some other attempts but no success so far.
#2
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by massimo2022 - January 16, 2026, 03:00:31 PM
I also tried to update PHP from 7.4.32 to 8.1.31, but the situation worsened,
1.3.17 crash after login, 1.5.12 crash at the main page..
So i fall back to PHP 7.4.32 and i've let my PHP coder to fix the issue.

He succeded, he say, avoiding the use of INTL php library for text emails.
And he also said that 1.5.12 uses a lot INTL php library, so maybe 7.4.32 is no good for it.

Now it works, but i don't know exactly the modifies.

#3
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by JohnDoh - January 16, 2026, 02:45:10 PM
Did you translate the error into English? I know that sounds like a strange question but "Bad file number" is a strange message to me and that line only does 1 thing, open a file in read only mode. I don't think its an issue with the include path because you said it only happens for some emails. Cam you write a test script and confirm you can open the same file?
#4
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by massimo2022 - January 15, 2026, 05:56:36 AM
No, it's impossible, i've restared apache a number of times..
I also rebooted the VM..

thanks

massimo
#5
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by massimo2022 - January 15, 2026, 05:55:50 AM
All files are in the right places (dirs).
All the permissions are set.

Could it be something path related?
The OS has DOS paths eg. D:\mydirectory etc..

massimo
#6
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by alec - January 14, 2026, 12:11:08 PM
Sounds like PHP issue. How about restarting Apache. https://github.com/roundcube/roundcubemail/issues/8544
#7
Pending Issues / Re: Upgrade from 1.4.15 LTS to...
Last post by JohnDoh - January 14, 2026, 11:37:46 AM
assuming the upgrade went smoothly and the file is present in program\lib\Roundcube\ have you checked the permissions?
#8
Pending Issues / Upgrade from 1.4.15 LTS to 1.5...
Last post by massimo2022 - January 13, 2026, 03:24:30 PM
Hi all,

PHP 7.4.32

after upgrading from 1.4.15 LTS to 1.5.12 LTS i get this on some emails (not all), the error show opening emails  with "simple" content eg. the ones with text and one or 2 lines as body eg. the test email from the Roundcube installer.

Details:

[13-Jan-2026 21:02:08 Europe/Rome] PHP Fatal error:  Uncaught IntlException: fopen(rcmail_string_replacer.php): failed to open stream: Bad file number in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php:443
Stack trace:
#0 D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php(443): fopen('rcmail_string_r...', 'r', true)
#1 [internal function]: rcube_autoload('rcmail_string_r...')
#2 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(145): spl_autoload_call('rcmail_string_r...')
#3 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(130): rcube_text2html->_converter(NULL)
#4 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(110): rcube_text2html->_convert()
#5 D:\apache\htdocs\webmail\program\actions\mail\index.php(1102): rcube_text2html->get_html()
#6 D:\apache\htdocs\webmail\program\actions\mail\show.php(742): rcmail_action_mail_index::plain_body(NULL)
#7 D:\apache\htdocs\webmail\program\include\rcmail_output_html.php(1484): rcmail_action_ in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php on line 443


I also had the issue oops, internal error and i had to copy jquery.ui.datepicker-it.js to jquery.ui.datepicker-it.min.js under \plugins\jq... to fix this.

Of course i've not found any info/fix about the "bad file number" issue.

Eg. The content of one of the emails that show the issue:

"

MIME-Version: 1.0
From: [email protected]
To: [email protected]
Subject: Test message from Roundcube
Message-ID: <0066020880.00006X6I@srv2>
Date: Tue, 13 Jan 2026 18:20:20 -0000
X-Date-Added: Date header was added by srv2


This is a test to confirm that Roundcube can send email.

"


thanks for any help

massimo
#9
API Based Plugins / Roundcube/CardDAV with Google ...
Last post by oziyengar - January 13, 2026, 01:08:54 AM
Hello friends,

I have Roundcube and v 5.1.2 of RCMCardDav installed on my shared hosting server.

I have a Google account set up for a community organization and have our members details in the Google Contacts application.

What is the correct (and successful) way to access the contacts in Roundcube (via DAV)? I could not find any documentation. Despite following various "solutions" and suggestions, I am unable to get this working. So far, whatever I try, I always get the error "Could not determine the addressbook home".

Any configuration/setup tips would be most welcome. Or, if there is a doc or KB on this somewhere, please point me in the right direction.

Thanks in advance.

#10
General Discussion / Re: Attachments containing mor...
Last post by alec - January 12, 2026, 01:59:34 AM
Check the error log (Roundcube or web server  or php-fpm).