Roundcube Community Forum

 

Recent posts

#21
Pending Issues / RoundCube SMTP Settings
Last post by csallas78 - March 12, 2025, 05:02:35 PM
Hello,

What are RoundCube's SMTP settings?  Specifically, I need the following:

  • SMTP Host Name
  • Encryption Type (SSL, TLS, other?)
  • SMTP Port

I'm using the WordPress plugin WP Mail SMTP (a plugin that works in tandem with WP Forms) to allow for emails sent from my site - for example, when a user signs up they receive a confirmation email to activate their account - to go to their inbox instead of spam.  The WP Mail plugin requires the above information.

Thank you for your help!

cj
#22
General Discussion / Re: Terribly slow draft save
Last post by SKaero - March 12, 2025, 03:20:48 PM
I haven't seen any problems, try enabling imap_debug and posting the log when you try to save a draft.
#23
General Discussion / Re: Can I stop the predictive ...
Last post by SKaero - March 12, 2025, 03:20:06 PM
I'm not sure what your referring to, predictive text isn't a built in feature of Roundcube so my guess is its coming from your device. Maybe I can identify it if you post a screenshot of it.
#24
General Discussion / Re: Oops... something went wro...
Last post by SKaero - March 12, 2025, 03:18:36 PM
If the database is empty either run the Roundcube installer or load the <RC root>/SQL/mysql.initial.sql file into the database.
#25
General Discussion / Can I stop the predictive text...
Last post by lilathom - March 12, 2025, 10:51:58 AM
Good morning, how can I turn off the predictive text in my email?  It also did it when I was creating this message.  Thank you!
#26
General Discussion / Re: Oops... something went wro...
Last post by chewiesw - March 12, 2025, 07:23:49 AM
Making Progress sort of...

I added the semicolon and installed php-sql.

Now I get
[12-Mar-2025 11:17:30 UTC] PHP Deprecated:  session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in /var/www/roundcube/program/lib/Roundcube/rcube_session.php on line 119
[12-Mar-2025 11:17:30 +0000]: <llkc7lsv> DB Error: [1146] Table 'roundcube.session' doesn't exist (SQL Query: SELECT `vars`, `ip`, `changed`, now() AS ts, CASE WHEN `changed` < now() - INTERVAL 600 SECOND THEN 1 ELSE 0 END AS expired FROM `session` WHERE `se>
[12-Mar-2025 11:17:30 +0000]: <llkc7lsv> DB Error: [1146] Table 'roundcube.session' doesn't exist (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('llkc7lsvj2kcludnkr1k0sfu6r', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJlbl9HQiI7dGFza3xzOj>

I have managed to log into the roundecube db but there are no tables in it.
#27
General Discussion / Terribly slow draft save
Last post by chemi - March 12, 2025, 05:54:05 AM
Dear all.
I hope this is the right place to let this message. Sorry if it is not.
I would like to know if any of you have experienced a high delay in the draft save of the messages. It does not matter if it is an autosave or the draft is being saved by pushing the save button. The fact is that it takes a lot of time to have the draft saved.
I have experienced this behavior in docker roundcube versions connected remotely to the mail server. It is not mail server dependent as it has happened in different mail servers. On the other hand, receiving or sending messages have no delay.
I would appreciate any comment about this issue.
Thanks and best wishes.
Chemi
#28
Release Discussion / Re: Login to roundcube from cu...
Last post by beerzone - March 12, 2025, 05:12:15 AM
The problem is solved.
SKaero, sorry for my terrible explanation of the problem.

My goal is to allow a supervisor to view employee mailboxes without knowing their passwords. The supervisors password is a master password that allows him to open all mailboxes. Like Zimbra mail server allows. This is a requirement of the IT security service. And not to store users passwords on the server in any form is their requirement to. I can store users password hashes only and administrator passwords due to the huge fines for user data leaking.
We have a mail server based on postfix, dovecot, mysql, roundcube and custom panel like postfixadmin.
I've solved the problem by dovecot master users configuration and roundcube works perfect with it.
#29
General Discussion / Re: Oops... something went wro...
Last post by SKaero - March 11, 2025, 05:23:05 PM
The line:
$config['enable_installer'] = trueis missing a semicolon at the end. It should be:
$config['enable_installer'] = true;
That will resolve the config syntax error.
#30
General Discussion / Re: Oops... something went wro...
Last post by chewiesw - March 11, 2025, 02:11:41 PM
My config file
<?php

/*
 +-----------------------------------------------------------------------+
 | Local configuration for the Roundcube Webmail installation.           |
 |                                                                       |
 | This is a sample configuration file only containing the minimum       |
 | setup required for a functional installation. Copy more options       |
 | from defaults.inc.php to this file to override the defaults.          |
 |                                                                       |
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) The Roundcube Dev Team                                  |
 |                                                                       |
 | Licensed under the GNU General Public License version 3 or            |
 | any later version with exceptions for skins & plugins.                |
 | See the README file for a full license statement.                     |
 +-----------------------------------------------------------------------+
*/

$config = [];
$config['enable_installer'] = true
// Database connection string (DSN) for read+write operations
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
//       or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
$config['db_dsnw'] = 'mysql://roundcube_user:sp7WrAma@localhost/roundcube';

// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
$config['imap_host'] = 'tls://mail.com:143';

// SMTP server host (for sending mails).
// See defaults.inc.php for the option description.
$config['smtp_host'] = 'tls://mail.com:25';

// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login
$config['smtp_user'] = '%u';

// SMTP password (if required) if you use %p as the password Roundcube
// will use the current user's password for login
$config['smtp_pass'] = '%p';

// provide an URL where a user can get support for this Roundcube installation
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = '';

// Name your service. This is displayed on the login screen and in the window title
$config['product_name'] = 'Roundcube Webmail';

// This key is used to encrypt the users imap password which is stored
// in the session record. For the default cipher method it must be
// exactly 24 characters long.
// YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';

// List of active plugins (in plugins/ directory)
$config['plugins'] = [
    
'archive',
    
'zipdownload',
];

// skin name: folder from skins/
$config['skin'] = 'elastic';