Roundcube

Prerequisite
This article is part of the emails series. It is assumed that you already covered Dovecot and Exim.

You will also need the following software:
 * Nginx as a webserver
 * PHP
 * MariaDB as a Database server
 * Let’s Encrypt to get an HTTPS certificate
 * Fail2Ban. Optional but recommended for security.

Roundcube
the apache2- at the end of the list is preventing the automatic installation of Apache. If you have already Apache installed, you need to remove that from the list as it would uninstall it otherwise.

The installer will ask you the following questions:
 * Configure database for roundcube with dbconfig-common?
 * yes


 * Database type to be used by roundcube
 * mysql


 * Password of the database's administrative user
 * Provide your MariaDB root password


 * MySQL application password for roundcube
 * Keep blank

Mail server
Edit file  and modify line

Carddav
This plugin allows to get contacts from an external source that support the Carddav protocol.

Update notification
This plugin is not packaged in Debian. We will download it from the original website. As for any manually installed software, you need to keep up-to-date with new releases.

You can follow new releases of the plugin using feed https://github.com/blind-coder/rcmcarddav/releases.atom.

Install
Download latest release from https://github.com/blind-coder/rcmcarddav/releases. At the time of writing, it is 2.0.4. Now edit  Finally, in roundcube, you can go to Settings ⇒ Preferences ⇒ CardDAV and add your server.

Context Menu
Use context menu for various actions.

Enable plugin in

Subscriptions option
By default, Roundcube only shows folder that you subscribed to. This plugin allows to show all folders.

Enable plugin in

Zip Download
This plugin allows to download all attachments of an email as one zip archive.

Enable the plugin in

Fail2Ban
Create file  And activate the new jail