Roundcube Community Forum

 

Recent posts

#1
Pending Issues / Re: Unable to attach files wit...
Last post by Sheep2045 - Today at 11:00:58 AM
Quote from: SKaero on Today at 12:10:22 AMSounds like there is a problem with your mime magic database file. I'm not sure on what options there are to fix that on FreeBSD but Roundcube does have config option to set a custom path to one if you need to:
// Path to a local mime magic database file for PHPs finfo extension.
// Set to null if the default path should be used.
$config['mime_magic'] = null;

Thanks a ton, the roundcube config did point to a wrong file. Setting it to the default path as you suggested fixed things.

#2
Pending Issues / Re: Unable to attach files wit...
Last post by Sheep2045 - Today at 10:50:47 AM
Thanks a lot, I'll look into that!
#3
Pending Issues / Re: Unable to attach files wit...
Last post by SKaero - Today at 12:10:22 AM
Sounds like there is a problem with your mime magic database file. I'm not sure on what options there are to fix that on FreeBSD but Roundcube does have config option to set a custom path to one if you need to:
// Path to a local mime magic database file for PHPs finfo extension.
// Set to null if the default path should be used.
$config['mime_magic'] = null;
#4
Pending Issues / Unable to attach files with ce...
Last post by Sheep2045 - October 09, 2026, 02:49:48 PM
Roundcube 1.7.4, php 8.3.33, FreeBSD 14.4

Roundcube is unable to attach files with certain extension to a mail (e. g. .png, .jpg, .svg). Other file extensions work just fine (e. g. .pdf, .docx, .xls).

Trying to upload a .svg file, for example, logs the following error. Errors for .png and .jpg look identical.

------
[09-Oct-2026 20:35:18 Europe/Berlin] PHP Fatal error:  Uncaught Exception: finfo::__construct(): EXTENSION type `               journal~' has bad char '~' in /usr/local/www/roundcube/program/lib/Roundcube/rcube_mime.php:745
Stack trace:
#0 /usr/local/www/roundcube/program/lib/Roundcube/rcube_mime.php(745): finfo->__construct(1040, '/usr/share/misc...')
#1 /usr/local/www/roundcube/program/actions/mail/attachment_upload.php(109): rcube_mime::file_content_type('/tmp/phpF8Txhh', 'test.svg', 'image/svg+xml')
#2 /usr/local/www/roundcube/program/include/rcmail.php(280): rcmail_action_mail_attachment_upload->run(Array)
#3 /usr/local/www/roundcube/public_html/index.php(266): rcmail->action_handler()
#4 {main}
  thrown in /usr/local/www/roundcube/program/lib/Roundcube/rcube_mime.php on line 745
------

Any ideas what could be causing this?

Cheers
sheep2045
#5
General Discussion / Re: Entries in approval list
Last post by JoSf - October 07, 2026, 10:13:56 AM
Thank you, JohnDoh and SKaero - I understand that I have to consider cpanel to find an answer.
How can I set this topic to "Solved" or "Closed", or, will this be done by an Forum Admin?
#6
General Discussion / Re: Entries in approval list
Last post by SKaero - October 05, 2026, 12:09:30 PM
Based on the path you gave to get to BoxTrapper "CP Webmail Home | BoxTrapper" that is most likely maintained by cPanel.

Roundcube is open source webmail client, cPanel uses Roundcube in there portal so you can view your email in the browser.
#7
General Discussion / Re: Entries in approval list
Last post by JoSf - October 05, 2026, 11:20:23 AM
I see in Roundcube UI an informational text "cPanel". Could it be that BoxTrapper is handled by cPanel? And, if so. what is the relation between cPanel and Roundcube?
#8
General Discussion / Re: Entries in approval list
Last post by JohnDoh - October 02, 2026, 01:19:54 AM
It looks like your provider BoxTrapper is using a plugin to add the functionality you are talking about to their installation of Roundcube. Please contact them for more information.
#9
General Discussion / Re: Entries in approval list
Last post by JoSf - September 30, 2026, 10:06:31 AM
After Login to UI, I go to :
CP Webmail Home | BoxTrapper | Sperr-/Zulassungs-/Ignorierliste bearbeiten|Zulassungsliste bearbeiten
There, it is mentioned, that the entries use Perl RegEx.
#10
Pending Issues / Re: We can't access our corpor...
Last post by herman21 - September 28, 2026, 02:31:12 PM
If it works normally over mobile data or another internet connection but fails only when connected to Wi-Fi, look at the router/network path before blaming Roundcube. Roundcube itself is just the webmail interface; the actual connection still depends on DNS, HTTPS and the mail server being reachable. First try opening the webmail from another device on the same Wi-Fi. If everyone has the same problem, check the router's DNS settings and try a different DNS server such as 1.1.1.1 or 8.8.8.8, you can visit the settings page by typing your ip address such as 192.l.168.8.1 or 192.168.2.1 into the address bar. Also check whether the router or ISP is filtering the webmail domain or blocking the required traffic. If the webmail page opens but you get an error after loagging in, the problem could be on the IMAP/SMTP side instead. Roundcube can show connection errors when the underlying mail services or authentication are unavailable. The most useful test would be to compare Wi-Fi with mobile data. If the same account works immediately over mobile data, that points much more towards the Wi-Fi/router/DNS path than Roundcube itself.