Page 1 of 1

Roundcube?

Posted: Sun Jul 26, 2015 12:52 am
by jgriggs
Hello,

Is Roundcube added in? Or is it something I have to add in myself? If its added in, how do I access it? If I have to install it, can I just create a subdomain (webmail.domain.tld) or do I need to put it in a spacific folder?

Kind Regards

Re: Roundcube?

Posted: Sun Jul 26, 2015 4:55 am
by joem
jgriggs wrote:Hello,

Is Roundcube added in? Or is it something I have to add in myself? If its added in, how do I access it? If I have to install it, can I just create a subdomain (webmail.domain.tld) or do I need to put it in a spacific folder?

Kind Regards
Roundcube is already installed you can locate by going to yourdomain.tld/webmail or serverip/webmail . Also under the mail tab you'll see open webmail.

Re: Roundcube?

Posted: Sun Dec 27, 2015 1:07 pm
by Lombar
Altought some time you asked it I have the solution.

I tell you on Centos with Apache and NGINX:
You must go to /etc/httpd/conf.d folder, when you have general config files. Look for rouncube.conf and edit it. I use WinSCP to navigate my folders and files by SSH, and if I double-click on file, notepad++ open it to edit.

You have a file with something like:

Code: Select all

## Round Cube Webmail is a browser-based multilingual IMAP client
#

Alias /roundcubemail /usr/share/roundcubemail
Alias /webmail /usr/share/roundcubemail

<Directory /usr/share/roundcubemail/>
        Order Deny,Allow
        Deny from all
        Allow from all
</Directory>
You must edit it and include: (wher I wrote XXX.XXX.XXX.XXX you have to write your VPS IP)

Code: Select all

<VirtualHost XXX.XXX.XXX.XXX:8080>
    ServerName webmail
    ServerAlias webmail.*
    DocumentRoot /usr/share/roundcubemail
</VirtualHost>
After change this, restart yoir server and test any http://webmail.yourdomain.xxx and it works perfctly for any present or future domain that your generate on this server, for any user because is a "general" config of VestaCP.

Re: Roundcube?

Posted: Sat Mar 16, 2019 1:19 am
by mlopez
Lombar wrote:
Sun Dec 27, 2015 1:07 pm
Altought some time you asked it I have the solution.

I tell you on Centos with Apache and NGINX:
You must go to /etc/httpd/conf.d folder, when you have general config files. Look for rouncube.conf and edit it. I use WinSCP to navigate my folders and files by SSH, and if I double-click on file, notepad++ open it to edit.

You have a file with something like:

Code: Select all

## Round Cube Webmail is a browser-based multilingual IMAP client
#

Alias /roundcubemail /usr/share/roundcubemail
Alias /webmail /usr/share/roundcubemail

<Directory /usr/share/roundcubemail/>
        Order Deny,Allow
        Deny from all
        Allow from all
</Directory>
You must edit it and include: (wher I wrote XXX.XXX.XXX.XXX you have to write your VPS IP)

Code: Select all

<VirtualHost XXX.XXX.XXX.XXX:8080>
    ServerName webmail
    ServerAlias webmail.*
    DocumentRoot /usr/share/roundcubemail
</VirtualHost>
After change this, restart yoir server and test any http://webmail.yourdomain.xxx and it works perfctly for any present or future domain that your generate on this server, for any user because is a "general" config of VestaCP.
Excellent post! Thank you for sharing.

I can add that you need to create this subdomain for all the domains hosted on the server and/or edit the dns template and make this record to be added by default.
This should be an A record named webmail (or whatever name you want to use) pointing to the VPS IP.

Regards