Roundcube Webmailer With Managesieve

A really nice AJAX using webmailer is roundcube. I installed it on top of apache2 and secure access using TLS (https). It can be easily installed using the package from the roundcube homepage. Simply unpack the tarball into /var and add something like the following to your apache SSL configuration file:

Alias /roundcube /var/roundcube-x.y

And reload apache. Now open the INSTALL file to make sure, that the following steps are still valid ;)

  1. Make sure that all files are readable by your webserver (chown -R www-data:www-data /var/roundcube-x.y)
  2. Open the installer in your browser (https://your.domain.com/roundcube/installer)
  3. Follow the instructions of the installer with particular notion of
    1. IMAP standard server
    2. SMTP standard server
    3. Standard user domain
    4. Database settings (if you want to use a relative path, use ./sqlite.db for example)
  4. The let the installer create your configuration files
  5. Copy the files into the config subdirectory
  6. Test the configuration with the installer
  7. Remove the installer directory

Now you can connect to your new webmailer by connecting to https://your.domain.com/roundcube/

If you want to use additional plugins, e. g., Managesieve to edit your server side mail filters, you need to add them to your config/main.inc.php. I added both the managesieve and archive plugin using the following line:

$rcmail_config['plugins'] = array('managesieve','archive');

To get manage sieve working, you need to adjust the default port in the plugins configuration file. Therefore, go into plugins/managesieve, copy the default config file to become active:

cp config.inc.php.dist config.inc.php

Open the file and change the port to 4190, which was adopted by IANA as the default Managesieve port:

// managesieve server port
$rcmail_config['managesieve_port'] = 4190;

That’s it again. Now you should be able to log into roundcube and edit your server side filters in Settings → Filters.

Cheers, iss

Flattr: