Roundcube Community Forum

 

Recent posts

#41
General Discussion / Re: How to restore deleted mai...
Last post by showfer - November 03, 2025, 08:17:48 AM
See reply #1 above from JohnDoh: ask your email provider if they have a backup.
Quote from: JohnDoh on September 12, 2011, 10:55:20 AMboth roundcube and squirrelmail are just mail clients so they wont really help you. your best chance is to contact your mail provider as soon as possible and ask if they can restore the emails from backups.
#42
Pending Issues / Re: Cross Site Scripting detec...
Last post by berrypatrick01 - November 03, 2025, 05:52:38 AM
Hi SKaero,

Our WAF configuration is the standard AWS set.

We have implemented the following fix which works when sending new emails:
$config['htmleditor'] = 1;
$config['dont_override'] = ['htmleditor'];

However, this is not working for saving drafts or editing as new existing emails.

Please can you advise if there is a workaround for this?
#43
General Discussion / Re: How to restore deleted mai...
Last post by selrat26 - November 03, 2025, 03:18:17 AM
Hi All,
I have deleted the emails accidently. Is there any options are availabel to restore ? I have celared fromt he trash folders too
Your help will be much appreciated
#44
General Discussion / Re: Skin options
Last post by redwbl - November 02, 2025, 06:09:14 PM
+1

I'm no help, but came here looking for the same.
#45
General Discussion / Re: Im confused from updating ...
Last post by dea75 - November 02, 2025, 04:12:42 PM
.... version 1.6.11 works perfectly.

The roundcube directory has owner www-data, upgrade to 1.7.beta done by "install-to.sh in /bin", as usual.

#46
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - November 02, 2025, 12:46:39 PM
what about file access rights to files and folders in /var/www/html/ ?
#47
Release Discussion / Re: changing mail host > no co...
Last post by turbo - November 01, 2025, 11:23:12 PM
Quote from: SKaero on November 01, 2025, 01:18:40 PMIf you changed the mail_host in the database before you logged in it shouldn't have created a new user since it looks for that match to find a user record. Turning off the "auto_create_user" if it can't find a matching username and mail host the login will fail.

that is exactly what I did and in the order I listed. BUT I found my mistake! The new host in the config file was tls://hostname.com  and I entered this the exact same way; tls://hostname.com and that incorrect entry created the new user.

As I tried it again today, entering in the config file tls://hostname.com and in the database only hostname.com everything was working fine. Addressbooks were accessible.

Just wanted to finish this up.
Thank you for your time and help. 

#48
Release Discussion / Re: changing mail host > no co...
Last post by SKaero - November 01, 2025, 01:18:40 PM
If you changed the mail_host in the database before you logged in it shouldn't have created a new user since it looks for that match to find a user record. Turning off the "auto_create_user" if it can't find a matching username and mail host the login will fail.
#49
Release Discussion / Re: changing mail host > no co...
Last post by turbo - November 01, 2025, 12:44:16 PM
Thank you SKaero for the quick reply.
After inspecting the contacts table I noticed that each contatct has it's user_id set. Later I noticed also when scrolling down the user table, that RC had created a new user with the new mail host after login. I didn't expected that, as I had changed the mail_host in the following order:

1. changed mail_host in the config file
2. changed mail_host in db to the one in the config file
3. logged in

Never expected that a new user would be created, as the same (old) user had now already an entry matching the new mail_host.
Maybe one should disable beforehand the option in the config file (if set) to create a new user automatically. Would that prevent this behavior ?

I still have to change the mail_host, having quite a few users and the chance to accidentally delete the wrong user ......  Ok, making a backup of the RC-db is self explanatory.

Interestingly, changing the username and logging in does not create a new user entry.


#50
Release Discussion / Re: changing mail host > no co...
Last post by SKaero - November 01, 2025, 02:24:01 AM
In the "users" table in the database you should see a record for each user for the old mail host and one for the new mail host (value is stored in the "mail_host" column) you'll need to update the old user account records to the new mail host so the correct contacts are shown.