Skip to main content

Posts

CWP: Configure Default Roundcube settings as you want

Few users doesn't satisfied with default Rouncube feature's , Sometimes they demand more features that's why we will change the default setting as we want . I'm showing some changes in below : Edit the file as follows # vi /usr/local/cwpsrv/var/services/roundcube/config/defaults.inc.php // Log successful/failed logins to /userlogins or to syslog $config['log_logins'] = true; // Log IMAP conversation to /imap or to syslog $config['imap_debug'] = true; // Log SMTP conversation to /smtp or to syslog $config['smtp_debug'] = true; // THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA. // ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING! $config['enable_installer'] = false; // 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'] = 'https://datahead.biz/support/'; // repl

Protect CWP RoundCube From Brute Force Attack with Google reCaptcha

reCaptcha plugin for RoundCube is a good way to protect your server against brute-force attacks on a Webmail. We will install it from the plugin's repository https://github.com/dsoares/rcguard.git . The addon was tested on CWP7.admin, CentOS Linux release 7.6.1810 (Core ) and  RoundCube version 1.2.3 & also this addon tested with  RoundCube version 1.3.8 Let's add the Google's reCaptcha into the RoundCube's login form on CWP. Step 1: First install git on your server. If it's missing you can install it either from your OS repository with a package manager or from sources. Install Git # yum install git -y Clone the plugin through git # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ # git clone https://github.com/dsoares/rcguard.git rcguard If you see an error you should read everything carefully and try to resolve it. Please feel free to contact us if anything goes wrong here. Change directory permission # chown -R cwpsvc:cwpsvc rcguard/ Ren

CWP: How to Install tasklist or todolist for Rouncube

This plugin currently supports a local database as well as a Kolab groupware server as backends for tasklists and todo items storage. 1. Install the dependencies with Composer (This has to be done from the Roundcube root directory) # cd /usr/local/cwpsrv/var/services/roundcube # php composer.phar require sabre/vobject 3.3.3 # composer require kolab/tasklist Follow the snapshot instruction Edit the Configurations as Follows # pwd /usr/local/cwpsrv/var/services/roundcube # vi plugins/tasklist/config.inc.php // backend type (database, kolab) $config['tasklist_driver'] = ' database '; // default sorting order of tasks listing (auto, datetime, startdatetime, flagged, complete, changed) $config['tasklist_sort_col'] = 'auto'; // default sorting order for tasks listing (asc or desc) $config['tasklist_sort_order'] = 'asc'; Initialize the tasklist DataBase # cd plugins/tasklist/ # mysql roundcube < drivers/database/SQL/mysql.initia

CWP: How to Install Calendar for Rouncube

Goto the Rouncube Plugin Directory # cd /usr/local/cwpsrv/var/services/roundcube # composer require kolab/calendar Follow the snapshot instruction Edit the configuration as follows # vi plugins/calendar/config.inc.php // backend type (database, google, kolab) $config['calendar_driver'] = "database"; // default calendar view (agendaDay, agendaWeek, month) $config['calendar_default_view'] = "month"; // show a birthdays calendar from the user's address book(s) $config['calendar_contact_birthdays'] = true; // general date format (only set if different from default date format and not user configurable) $config['calendar_date_format'] = "dd-MM-yyyy"; // time format (only set if different from default date format) // $config['calendar_time_format'] = "HH:mm"; // short date format (used for column titles) // $config['calendar_date_short'] = 'M-d'; // long date format (used for

CWP: How to upgrade from RoundCube Mail Version 1.2.3 to RoundCube Mail Version 1.3.8

The new Version of Roundcube 1.3 have clear Interface with modern look also in this version some major security holes were fixed. It is recommended to update the roundcube to latest version. Under latest version you can also configure calendar plugin faultlessly which are available on roundcube plugins site. PHP Configuration As any other PHP application some of its aspects depend on PHP settings. You should use php.ini or .htaccess (Apache module) or .user.ini (CGI/FastCGI SAPI) depending on your server setup. Roundcube when running will check most critical settings, try to set them and let you know if something's wrong. Here's a minimal list of settings that you might need to use (with suggested value): # vi /usr/local/php/php.ini # vi /usr/local/cwp/php71/php.ini Memory limit: memory_limit=64M , Options that control logging: display_errors=Off, log_errors=On, error_log=logs/errors.log , Options that control file uploads (e.g. max attachment size): upload_max_filesize