Roundcube Community Forum

 

Recent posts

#1
General Discussion / Sieve filter blocking order em...
Last post by Lynk004 - Today at 08:50:36 AM
Hi everyone,

I manage the Roundcube mail server for a cultural association in Angers, France. We sell African instruments online, and we've been having a weird issue since a Roundcube update about three weeks ago. Some emails from our website's order form are ending up in spam, while others are being rejected completely.

It took me almost two days to spot the problem in the logs. Nothing really stood out at first, but after digging around I found a Sieve rule that was apparently set up to catch spam. For some reason, it's flagging automated emails sent by our own web server. Looks like the matching conditions are a bit too aggressive when the sender and domain match our own setup.

I honestly don't know why the rule was written that way. It must have been there for ages, and nobody seems to have touched it since.

The treasurer forwarded me a message from a customer who'd tried to buy a 22-inch djembé but never received the order confirmation or invoice. I ended up digging the email out of the spam folder and forwarding it manually while I figure out what's going on.

Has anyone run into something similar with Sieve rules blocking internal or transactional emails? I'd like to whitelist our domain properly without disabling the rest of the spam protection. If someone has an example of a condition that works well for this, that would be really helpful.

Thanks!
#2
General Discussion / Roundcube filter that blocks e...
Last post by Joy - October 18, 2026, 11:27:45 PM
Hi everyone, Just a quick look back at an issue I had three weeks ago on an OVH VPS that I manage. One of my clients contacted me because he wasn't receiving any emails from his website's contact form anymore. There were no server-side errors, and SMTP was accepting everything normally, so at first I was looking in the wrong place. I ended up combing through the ManageSieve logs for an entire evening, and that's when I found the filter that was sending emails straight to the spam folder.

It turned out the problem stemmed from the Sieve rules I'd configured using fairly broad keywords to filter out typical spam.

The client in question runs a directory of porn sites, categorized into over 100 categories, and it was precisely the contact and partnership emails from this site that were ending up in spam. It makes sense when you look at the content of the rules... but it hadn't jumped out at me right away. I had to exclude the sender address from the contact form from the keyword filtering rules. Since then, there haven't been any issues. If anyone else has experienced similar false positives with ManageSieve due to overly generic keywords, I'd love to hear your feedback.
#3
General Discussion / Re: Help seeting up POP3
Last post by SKaero - October 13, 2026, 03:52:09 PM
Its feasible since Roundcube is a IMAP webmail client, you just need to reach out to your family relative who setup Roundcube to get the details to put into that mail client.
#4
General Discussion / Re: Help seeting up POP3
Last post by serex91 - October 13, 2026, 07:40:11 AM
My family relative setup a roundcube inbox , hosted on their server. e.q. https://xxxx.xx/roundcube

I use username and pass to login on PC ok

but I would like to use a java applet on sony ericsson with POP3/IMAP function to 'retrieve' messages from this roundcube inbox.

the list in post 1 is the info the applet requires... Isn't it feesible?
#5
General Discussion / Re: Help seeting up POP3
Last post by JohnDoh - October 13, 2026, 02:47:16 AM
Roundcube is a web based IMAP client. Please contact your email provider for connection details for other clients.
#6
General Discussion / Help seeting up POP3
Last post by serex91 - October 11, 2026, 07:18:58 AM
Hi,

I'd like to setup a POP3/IMAP client in 'primitive' J2ME environment (old sony phone)

the simple j2me app is asking for
Address
Local host
Inbox type POP3/IMAP
Inbox host
Username
Password
Inbox port
SMTP host
SMTP password

which of these are bare minimum for accessing a roundcube inbox?

thanks in advance.

story: I've used html gmail for many years on java web browser opera mini but this was phased couple years ago, so i config gmail to forward email to temp yandex inbox which still has html but annoyingly yandex opted to enforce QR code 2FA login app.


#7
Pending Issues / Re: Unable to attach files wit...
Last post by Sheep2045 - October 10, 2026, 11:00:58 AM
Quote from: SKaero on October 10, 2026, 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.

#8
Pending Issues / Re: Unable to attach files wit...
Last post by Sheep2045 - October 10, 2026, 10:50:47 AM
Thanks a lot, I'll look into that!
#9
Pending Issues / Re: Unable to attach files wit...
Last post by SKaero - October 10, 2026, 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;
#10
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