RoundCube webmail installation on Debian 8 (Jessie)

This tutorial shows the installation of the latest RoundCube webmail on Debian 8. Roundcube is an easy to use webmail client with IMAP and SMTP support that can be extended with plugins. On Debian 7, RoundCube was available as .deb package, it was not the latest version but at least it was easy to install with apt. For the current Debian release, there is no RoundCube package available anymore so I'll describe the installation from source here. This tutorial contains an optional chapter that describes the steps to connect RoundCube with the ISPConfig 3 Hosting Control Panel.


  • Debian 8 Operating System.
  • Apache web server with mod_php installed. If there is no apache installed yet, then take a look at our LAMP guide or Perfect Server setup to install a suitable environment.
  • An email server (SMTP + IMAP) were Roundcube shall connect to. This can be the local server (e.g. when you use one of the perfect server setups) or a remote server.
  • The server hostname that I will use in this tutorial is with the IP address Please replace that with the IP and hostname of your server.

RoundCube Installation

I will install RoundCube into the directory /opt/roundcube to ensure that this installation will not collide with any Debian system packages. The first step is to install wget, create the directory /opt/roundcube and download the latest RoundCube version with wget into this directory. The current RoundCube version is 1.1.3 at the time that I write this tutorial, take a look at the RoundCube website to check if there is a later version that you can use.

Login as root user on the shell of your server, then install wget and the nano editor:

apt-get install wget nano

Create the directory and enter it with the "cd" command:

mkdir /opt/roundcube
cd /opt/roundcube

Download the RoundCube tar.gz file and unpack it:

tar xfz roundcubemail-1.1.3-complete.tar.gz

The RoundCube files are now in the folder /opt/roundcube/roundcubemail-1.1.3. The next step is to move them one directory up to /opt/roundcube.

mv roundcubemail-1.1.3/* .
mv roundcubemail-1.1.3/.htaccess .

The dot at the end of the two commands is required and part of the command, don't miss it! Delete the empty directory and the tar.gz file.

rmdir roundcubemail-1.1.3
rm roundcubemail-1.1.3-complete.tar.gz

And change the owner of all files to the user the Apache server is running as.

chown -R www-data:www-data /opt/roundcube

Install the RoundCube Database

Roundcube requires a database to store mailbox settings, contacts, etc. I will use MySQL (or MariaDB) here as database backend. We will now create a database with the name "roundcubemail" and a user with the name "roundcube" in MySQL.

Login to the MySQL server with the following command:

mysql --defaults-file=/etc/mysql/debian.cnf

Then execute the following commands on the MySQl database shell to create the database and database user. Replace the word "secretpassword" in the commands below with a password of your choice.

CREATE DATABASE roundcubemail;
GRANT ALL PRIVILEGES ON roundcubemail.* TO [email protected] IDENTIFIED BY 'secretpassword';
flush privileges;

Now we will import the RoundCube tables from the file mysql.initial.sql into our new database.

Run the following command on the Linux shell:

mysql --defaults-file=/etc/mysql/debian.cnf roundcubemail < /opt/roundcube/SQL/mysql.initial.sql

Configure RoundCube and Apache

In this step, we will configure the database details in RoundCube and add a RoundCube configuration file in Apache.

I'll start with the database configuration in RoundCube. Run the following commands to create a new file based on the sample configuration file and open it in the nano editor.

cd /opt/roundcube/config
cp -pf

Find the database configuration line that starts with $config['db_dsnw'] and replace it with the following line:

$config['db_dsnw'] = 'mysql://roundcube:[email protected]/roundcubemail';

The word "secretpassword" has to be replaced with the password that you have chosen for the database.

Next search for the "smtp_server" line and set the hostname of your SMTP server here. In my case, the mail server is the local server, so I'll set the server to "localhost".

$config['smtp_server'] = 'localhost';

Now it's time to configure Apache. I'll create a new configuration file roundcube.conf in the folder /etc/apache2/conf-available/.

nano /etc/apache2/conf-available/roundcube.conf

Add the following lines to that file and save it.

Alias /roundcube /opt/roundcube
Alias /webmail /opt/roundcube

<Directory /opt/roundcube>
Options +FollowSymLinks
# AddDefaultCharset UTF-8
AddType text/x-component .htc

<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag display_errors Off
php_flag log_errors On
# php_value error_log logs/errors
php_value upload_max_filesize 10M
php_value post_max_size 12M
php_value memory_limit 64M
php_flag zlib.output_compression Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag zend.ze1_compatibility_mode Off
php_flag suhosin.session.encrypt Off
#php_value session.cookie_path /
php_flag session.auto_start Off
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules:
# - deny access to files not containing a dot or starting with a dot
# in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"

FileETag MTime Size

<IfModule mod_autoindex.c>
Options -Indexes

AllowOverride None
Require all granted

<Directory /opt/roundcube/plugins/enigma/home>
Options -FollowSymLinks
AllowOverride None
Require all denied

<Directory /opt/roundcube/config>
Options -FollowSymLinks
AllowOverride None
Require all denied

<Directory /opt/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Require all denied

<Directory /opt/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Require all denied

The 2 Alias lines in the first two lines make RoundCube available as /roundcube and /webmail on your server.

Enable the configuration and reload apache:

a2enconf roundcube
service apache2 reload

That's it, RoundCube is now fully installed on your server, and you can reach it on the server IP and hostname trough the aliases /roundcube and /webmail. The IP of my server is; for that I can open RoundCube with

The RoundCube login.

Roundcube - the first page.

Installation of the ISPConfig RoundCube plugin (optional)

When your server has iSPConfig 3 installed, then it is highly recommended to install the ISPConfig RoundCube plugin. This allows your email users to manage their autoresponders, email filters and other mailbox settings from within RoundCube.

The ISPConfig 3 RoundCube plugin is connected to ISPConfig 3 with the ISPConfig remote API. To use this API, we need a remote user.

Login to ISPConfig as "admin" user.

To create such a user, go to System > User Management > Remote Users and click on the Add new user button:

Enter a Username and password for the new remote user. I'll choose the username "roundcube" and password "!fdWEacBOG1d".

The remote user setup allows a fine grained access control; the following functions have to be enabled:

  • Server functions
  • Client functions
  • Mail user functions
  • Mail alias functions
  • Mail spamfilter user functions
  • Mail spamfilter policy functions
  • Mail fetchmail functions
  • Mail spamfilter whitelist functions
  • Mail spamfilter blacklist functions
  • Mail user filter functions

Finally click on Save.

The next steps were performed on the shell of your server. Login as root user.

We will install now the ISPConfig SSL certificate into the SSL certificate store from Debian.

cp /usr/local/ispconfig/interface/ssl/ispserver.crt /usr/local/share/ca-certificates/

Open the /etc/php5/cgi/php.ini file

nano /etc/php5/apache2/php.ini

Scroll down until you see the [openssl] section of the file and there you add the following line:


Then restart apache.

service apache2 restart

To download the addon, install the Git client first.

apt-get install git

Get the latest version of the RoundCube ISPConfig plugin:

cd /tmp
git clone
cd /tmp/ispconfig3_roundcube/

And move the plugin into the roundcube plugin directory.

mv ispconfig3_* /opt/roundcube/plugins
cd /opt/roundcube/plugins

Create a new file for the plugin based on the sample configuration and open the file in the nano editor.

mv ispconfig3_account/config/ ispconfig3_account/config/
nano ispconfig3_account/config/

Fill in the details of the remote user and save the file.

$rcmail_config['identity_limit'] = false;
$rcmail_config['remote_soap_user'] = 'roundcube';
$rcmail_config['remote_soap_pass'] = '!fdWEacBOG1d';
$rcmail_config['soap_url'] = '';

Replace with the hostname of the server. When SSL (HTTPS) is used for the Remote API connection, then it is important that the hostname in the RoundCube configuration matches the hostname of the SSL certificate of the ISPConfig interface. You can check the hostname of the ISPConfig SSL certificate with the command:

openssl x509 -in /usr/local/share/ca-certificates/ispserver.crt -text -noout | grep Subject:

The result is in my case:

Subject: C=DE, ST=Niedersachsen, L=Lueneburg, O=ISPConfig UG, OU=IT,[email protected]

So the hostname "" in the plugin configuration file matches the hostname in the SSL certificate.

Now we'll activate the new plugins in RoundCube. Open the configuration file in an editor:

nano /opt/roundcube/config/

and add the following line at the end of the file:

$rcmail_config['plugins'] = array("jqueryui", "ispconfig3_account", "ispconfig3_autoreply", "ispconfig3_pass", "ispconfig3_spam", "ispconfig3_fetchmail", "ispconfig3_filter");

Now you can login to RoundCube, the new options can be found under Settings > Account.

General account.

Mail filter setup.

Fetchmail setup.

Share this page:

Suggested articles

68 Comment(s)

Add comment


By: Bradley Gillap

My certificate doesn't have a hostname. How do I create a certificate without breaking everything in ispconfig?

Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd


By: till
By: Bradley Gillap

Okay my certificate is better now and I ran through the steps again but I'm still getting Soap Error: Could not connect to host.

I have everything exactly as explained in your article with the exception of using fpm instead of cgi but I also made sure to modify the php.ini in the fpm folder properly.  


Any other ideas or ways I can troubleshoot this?

By: till

This tutorial uses mod_php and not cgi PHP. The error " Could not connect to host." means that the SOAP endoint that you configured in the configuration file is not reachable, you either used a wrong IP address or a subdomain that does not exist in DNS.

By: Bradley Gillap

Thank you for your continued support. Does the certificate have to be signed by an authority? Or am I fine to just continue using the one I generated using your referenced website?

By: till

No. You just have to tell PHP that this certificate root is valid. This step is done by editing the php.ini file as described in the tutorial.

By: Nimer

It's simple :) - you need to change the way plugins are connecting to SOAP:(ie. /opt/roundcube/plugins/ispconfig3_account/ispconfig3_account.php L:13)        $this->soap = new SoapClient(null, array('location' => $this->rcmail_inst->config->get('soap_url') . 'index.php',                                                 'uri'      => $this->rcmail_inst->config->get('soap_url'),                                                 'trace'    => 1,                                                 'stream_context'=> stream_context_create(array('ssl'=> array('verify_peer'=>false,'verify_peer_name'=>false)))

        ));But you must do this for every single plugin...

By: till

Thats only necessary when you use a self-signed SSL certificate and don't import the ispconfig cert as described above. Your approach is an alternative to the setup above but not necessary when you follow this tutorial.

By: Nimer

till - well i tried to follow this tutorial and triple checked every single step regarding certificate etc. (And yes i checked cert params, import...). But i wasnt able to get it to work on Debian jessie php 5.6. So let's say, its a workaround. I've seen too many people having trouble with this.

By: Dainel

The only way that worked for me, has been editing the plugin. There are several sites reporting this error, but only editing the files to solve. (in my environment)

By: Gordon Fielden

The following doesn't work, when go to setting after loading the setting tab its blank


The files has a plugin setting but with the following command

$config['plugins'] = array(    'archive',    'zipdownload',   

$rcmail_config['plugins'] = array("jqueryui", "ispconfig3_account", "ispconfig3_autoreply", "ispconfig3_pass", "ispconfig3_spam", "ispconfig3_fetchmail", "ispconfig3_filter");

By: till

Compare your line again with the one of the tutorial, what you posted is not the one from this guide.

By: Christopher

Hi Till,

one more great tutorial, thanks!

What about moving $rcmail_config to $config - as is in actual Roundcube installation ($rcmail_config is pre 1 style)?


Oh, and I do have problems with this tinyMCE installation here to add comments: my Firefox 42 is not resolving the necessary javascript, so instead of filling the textarea with an editable "virtual" iframe, it just blanks it out :-( I needed to switch to Chrome for a pitty.

By: Eolo2000

Hi Till!

I'm having same problem with certificate, it doesn't have a hostname.

Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd

After trying to send a mail I receive this error:  smtp error (-1) connection to server failed

I have installed twice over this tutorial:

The Perfect Server - Debian 8 Jessie (Apache2, BIND, Dovecot, ISPConfig 3)

Same result.


By: till

Enter the hostname while you create the SSL certificate, then the cert has a hostname.

By: Ian Jhon Bien

Hi, if there's a tutorial how to install roundcube email for ispconfig3 on centos 6?? thanks

By: Jesse Norell

should link to this tutorial at

By: Jenny Hopkins

Thanks for this - worked like a dream!

By: pat

fololowed the tutorial and i'm able to login. only problem is that if i'm  logged in, settings - account - every submenue shows me a "Soap Error: Bad Request". The yutoreply seems to run forever. due to the error i can't make an entry (for mailfiler for example).

is there something i can check ?

By: pat76

spent some time until i found the hint that solved my problem. i followed the "The Perfect Server - Debian 8 Jessie (Apache2, Bind, Dovecot, ISPConfig 3" before i started this howto.

To get things working i had to add the first two lines written in italic to my .htaccess file:

[email protected]:/usr/local/ispconfig/interface# cat /usr/local/ispconfig/interface/web/.htaccessRequire host <myhostname>Require ip <myIP>AuthType BasicAuthName "Login"AuthUserFile /usr/local/ispconfig/interface/.htpasswdrequire valid-userProbably it would be woth mention that so that others won't have the same issue.

By: till

There is no file /usr/local/ispconfig/interface# cat /usr/local/ispconfig/interface/web/.htaccess in ISPConfig by default. If you created one to protect yur ispconfig with a second auth layer, then you have to enable access for the remote api in your manually added .htaccess file off course.

By: deimos

in debian 8 howto will not function on port 465 is an mistake insert in $config['smtp_server'] = 'localhost';

let var emtpy localhost is defined in: $config['default_host'] = 'localhost'; after install then roundcube send on port 465


By: vikozo


it works fine for me too, thanks for this tutorial!

i just have a problemwhen you go to Einstellung (configruation)then to Konto

i go a error "Soap Error: Could not connect to host"

but sending and getting email, addressbook and so works fine

have a nice dayvinc

By: Manlove

Make sure the following line in ispconfig3_account/config/

   $rcmail_config['soap_url'] = '';

has https and not http which is the default.

By: nikolaosp



thanks again for a brilliant guide, however I have some issues.  I receive a 403 error (Forbidden) whenever I try to access http://my.ip/roundcube or http://my.ip/webmail.  On the apache2 error log I see  AH01630: client denied by server configuration: /var/www/webmail and  AH01630: client denied by server configuration: /var/www/roundcube

How can I resolve this?


By: mccharlet


How to configure roundcubemail for https  only?

By: broo

For those who have a problem with SOAP ERROR


You must add line


into the /etc/php5/apache2/php.ini


By: NicoLagaffe

First i have regenerate a SSL certificate for ISPconfig with FQDN hostname of server by run the script update.php in ISPconfig install folder.

Second i apply this tutorial. I use Roundcube in a subdomain with PHP-FPM. This tuto work fine if i add this line in /etc/php5/fpm/php.ini (see below).

No SOAP error or Could not connect message.

Thanks and sorry for my poor english.


By: Joe

hii have an server installed with this tutorial :

All worked fine. I followed your tutorial and it works. roundcube works perfact and also the ispconfig plugin works in roundcube

But now i have an problem in ISPCONFIG on the Email Tab. when i click on e-mail the left side menu loads but i see the last Content (for example serverstat). this is only in the email tab. all other worked fine system, sites, client ...

any idea what is gone broken?

By: till

Just a guess: You created a alias /mail for roundcube instead of /webmail. The /mail alias that you created redirects the requests of the mail tab in ispconfig to RoundCube now. Change the alias in apache to /webmail and restart apache to fix the issue.

By: Raziel

Very important !

Do not forget to set  "$config['des_key']" in your file.

By: Csaba Mikoczy

Dear till!

How should i start if i try to make roundcube work on an ispconfig server that i just upgraded from wheezy, and had roundcube before (by your previous guide)?

By: Csaba Mikoczy

Hello till!

How should i start if i want to install roundcube on a server that i just upgraded from wheezy to jessie, and it had had a working roundcube before the upgrade per your previous guide (Using RoundCube Webmail With ISPConfig 3 On Debian Wheezy (Apache2))?


By: mintess

As this tutorial won't work for every multiserver setup (where the certificate must not be the one from the local server) and I just spent 2 hours finding out what's going on, you might find this useful if- you have a Multiserver Setup- you get a Soap error connecting to the host (using https to connect to the API)- running the webmailer in http is not an option for you- importing the other server's certificate (the one with the main dbispconfig database) and updating using update-ca-certificates failed

the only solution for me was to replace the initialization of the new SoapClient in the 9 ispconfig plugin files (/opt/roundcube/plugins/ispconfig3_*) to:

$this->soap = new SoapClient(null, array('location' => $this->rcmail_inst->config->get('soap_url') . 'index.php', 'uri'=> $this->rcmail_inst->config->get('soap_url'),'stream_context' => stream_context_create(array('ssl'=> array('verify_peer'=>false,'verify_peer_name'=>false)))));

By: Jesse Norell

FWIW, jessie-backports does have a roundcube package if anyone prefers that.

By: till

Good to know. I was not aware of that :)

By: AngelDust

hello i have question about multi-card ss certyficat in roundcube . If i don't implement my premum ssl and using with isp ssl certyfication plugins in roundcube work fine. But when i change with my plugins send ERROR: no connection to server. i know this is problem with sopa url in . My certyficat CN = .* but in ispconfig and in soap url is ok if he see that  CN = $rcmail_config['soap_url'] = ''; Roundcube plugins work fine !!! but self ssl is bad idea i have premium multi domain ssl . And now my question is what i can add here if my CN = .* $rcmail_config['soap_url'] = 'https://what need here :8080/remote/'; 

By: AngelDust

  i know this is problem with sopa url in . My certyficat CN = .* but in ispconfig and in soap url is ok if he see that  CN = $rcmail_config['soap_url'] = ''; Roundcube plugins work fine !!! but self ssl is bad idea i have premium multi domain ssl . And now my question is what i can add here if my CN = .* $rcmail_config['soap_url'] = 'https://what need here :8080/remote/'; 

By: John G

Hi. I have a question regarding password plugin for roundcube. If both email and web server resides on the same machine the plugin setup is quite clear:

$config['password_db_dsn'] = 'mysql://userdb:[email protected]/dbispconfig';


$config['password_query'] = 'UPDATE mail_user SET password = %c WHERE email = %u LIMIT 1';

In my case roundcube resides on a separate server than email server, in a multiserver ISPConfig setup.

So there are two mysql databases that must by updated in the same time.

Can anyone help with this? How to change the and sql.php (from drivers sub-folder) in order to accomplish this task?

Thank you!

By: till

Use the ispconfig roundcube plugin (which uses the correct way to connect to ISPConfig with the remote api) and not a plugin that messes with MySQl directly.

By: Nicolo

Hey :)

Thanks for your tutorial.

I have a little problem. When i go to my website

I have a little error:

DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database!Please contact your server-administrator.   And i can't finde the mistake  Can you help me?   Thank you!

By: computerwuffi

Hallo Till,

sehr ausführliches und gutes Tutorial. Ich möchte aber kurz fragen, ob das ganze auch für ISPConfig 3.1 funktioniert?

By: till

As far as I know, the author of the roundcube ISPConfig plugin did not adjust it for ISPConfig 3.1 yet. But you might find more up to date information on the Github page of the roundcube plugin.

By: sim

Hi thx for your tutorial it's realy helpfull, i was lost a littel bit on installing roundcube, i got an error "Could not connect to localhost:143: Connexion refused" i think i follow all steps on your tutorial but it dont work, i would like to remove roundcube anr reinstall it but i got the msg no could not find the roundcube package!!

how can i inunstall it completly thank you

By: Julio Barreto

Hi Till,


Thanks for this information is really usefull. However i have adoubt after roundcube is install, what user and password do you use for the first time? or where do you created it? I'm getting an error: "Connection to storage server failed".


I'm not quite sure what could this be?


Thanks indeed.



By: till

Roundcube does not has it's own username or password. Roundcube is an email client, so the username and password are the login credentials of the email account that you want to login. You get a connect error, so either MySQL or the IMAP server are not reachable.

By: Calx

Thx for tutorial.I made it and arrived at the end i m in the same situation than julio barreto.I have no account to connect in roundcube.I made an other tutorial where account were created in mysql database postfix.In your tutorial there is nothing about postfix or those account.

By: till

You seem to haven't read the prerequisites, which describe that you must have an email server. to use the email client RoundCube. Roundcube is just an IMAP email client like Thunderbird or Outlook, not more and not less. Setting up an email server is not in the scope of a RoundCube installation tutoral as you can use Roundcube with any mail server at any internet provider that provides an IMAP login. This tutorial is made e.g. for ISPConfig servers (perfect server setup as mentioned in the prerequisites), the account creation of IMAP accounts is done in ISPConfig then. All you have to do is to login to ISPConfig on your server, go to the mail tab, enter the email address and password of the account that you want to create. ISPConfig then adds this mailbox to your system and you use this email address and password to login to roundcube.

By: Calx

ahah.Thank you for your answer Till, you helped me good and made me laugh.I m not Linux user. So all that not so easy for me and English, not my native language. I have my own server since some months, i already installed Roundcube 2 times and it worked...with a different method. Without ispconfig, only postfix, and courier. I thought i could mix my old installation with your installation without making your prerequisite but all that is complicated and sensible and it didn't work. My knowledge in Linux is little and not enough to fix all problems. Could take me years and i have other things more interesting to do. So I reinstalled all my server, using your "perfect server" setup. And I can connect in Roundcube now.In my last installation of Roundcube i spent weeks to have a 10/10 in "mail-tester",at start it was 0.I finally had SPF, DKIM and DMARC validation. Actually with your installation I m at start at 7.9/10 in mail-tester it is good but email still finishes in spam box if I send to msn, hotmail, live. What is the correct setting with your installation to fix that problem?Probably you know a tutorial which work fine with your installation.

By: till

Please make a post in the forum with your mal tester result so that the community can help you with fine-tuning your mail domain settngs.

By: Calx

I not need forum for dkim and spf, i m already again at 10/10 in mail-tester.Problem is my messages still always finish in spam box of Microsoft outlook. You made a tutorial about installation of RoundCube and i m 100% sure you know till what is the setting to do in server to not make Microsoft consider your emails like spam. When i check mail source in outlook, i have dkim pass, spf pass, dmarc pass but email is considered like spam.Thanks.

By: till

It might be that your IP address has a bad reputation. You might try to whitelist it a Microsoft here:

By: sim

Hi, thanks again for this great job, i followed your tutrial and finaly i was able to connect to my mail box but i still have some problems hope you or some one here will help me resolve them.

when i click on the mail icon from ispconfig i got a not found erro due to the lik https://myserver:8080/mail/webmail  i have to remove the mail but i dont see where i can do it.

and when i get to my mail box i got this erro: SMTP Error (-1): Connection to server failed.

impossibe to send or recieve emails.

i dont know if you already talk about that but i have treid many solution from the tutorial and the comments without any result.

By: till

The link behind the icon is freely configurable, you can find the settings under System > Interface config in ISPConfig. Regarding your postfix errr, please use the forum to ask for help.

By: Janus

Thanks it was easy and straight forward not using ispconfig but webin otherwise i would be glad to try it out with Webmin which i have tried use but could not make it work.

By: Gexx

Hello everybody, i need help. I use this tutorial and the "perfect server for debian 8". and my server is working but my roundcube have one problem. When i send an email from outside (gmail, outlook,etc..) to my roundcube cannot receive mail. But i can use internal service(the server) and can send to outside (gmail,outlook). I really need help. THanks.

By: Alberto Guzman

Would you recommend to use the ISPConfig RoundCube plugin on a ISPC3/Apache/Ubuntu 16.04 Perfect Server setup?

Or is it discouraged?

By: till

I don't see any problems in using it with ISPConfig on Ubuntu.

By: Gadget Guru

Open the /etc/php5/cgi/php.ini file

nano /etc/php5/apache2/php.ini

Scroll down until you see the [openssl] section of the file and there you add the following line:



Which one is correct? I added it to both and this is the only instruction that's unclear to me. When I login to RoundCube v1.2.3, there's still no Settings > Account. I have successfully done this for several other servers without issue and have tripple-checked everything but confused.

By: Deepak kumar pandey

When i tried login in roundcube i am getting this error which is mention below.

Connection to IMAP server failed.

Please provide me the solution.

By: S N Singh

Its a great tutorial. I am using mail server configured through the help of this tutorial for last 3 years. Now the HDD having Vmail folder is 80 Percent full. I want to delete some specific emails directly on the server across all the mailboxes to create some space on HDD. For example all mails containig phrase 'Happy Birthday'. Also want to clear Trash and Junk folder directly on the server. I am not very proficient in Linux. Kindly help, Thanks in advance.

By: Raeco

Hi how i can add password change plugin to IspConfig 3.1 Debain 9?

We have move from IspConfig 3 and i like to enable this feature for users in RoundCube Webmail 1.2.3. 


By: till

There is nothing to be installed in ISPConfig. Just install the RoundCube addon and connect it to ISPConfig with the remote API (User/Password).

By: Steffen

Hi Till,Ich habe die Anleitung strikt befolgt und es funktioniert soweit auch alles.Allerdings wenn ich in den Einstellungen zu Konto wechsle, bekomme ich eine Fehlermeldung "Soap Error: Internal Server Error".Also habe ich nachgesehen, was in meinem error.log steht.mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Class 'SoapServer' not found in /usr/local/ispconfig/interface/web/remote/index.php:16mod_fcgid: stderr: Stack trace:mod_fcgid: stderr: #0 {main}mod_fcgid: stderr:   thrown in /usr/local/ispconfig/interface/web/remote/index.php on line 16In Zeile 16 der index.php habe ich das gefunden:$server = new SoapServer(null, array('uri' => $_SERVER['REQUEST_URI']));I don't know what to do now.If you or anyone else could help me, that would be great.




By: Steffen

Sorry for the bad formatting in my previous comment.


I just thought about it again and just tried the following:


wget https://server.domain.tld:8080/remote/


I got the 500 Internal Server error.


This is how I identified the problem.


I made a mistake with the hostname. My hostname pointed to and not to


After the change everything works fine for me.

By: Radu G

Hi Till, I start testing this (or almost) setup on multiserver, about 1 year ago. It looks stable and roundcube works fine, but trying to use https://my.domain leads to roundcube login page instead of secure my.domain webpage ! I'm trying for 2 days to imagine why happnes, but not found the cause :(

I guess is useless to mention if I comment out those 2 classic aliases, will stop working my.domain/roundcube, but https://my.domain will still go to roundcube login page.

Where could be the statement wich is doing that redirection ? I guess it's a default because I don't remember to configure anything related to https.

By: Santiago

Hello, how to create user login of roundcube?.

By: till

RoundCube is an IMAP email client, you use your mailbox login to login to RoundCube.