Author Topic: webmail alias  (Read 20678 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
webmail alias
« on: January 02, 2015, 11:15:40 AM »
hi search but have not see anything about this.
how can i change ip/roundcube like example.com/webmail

thank you

Offline
*
Re: webmail alias
« Reply #1 on: January 05, 2015, 03:45:47 AM »
hi search but have not see anything about this.
how can i change ip/roundcube like example.com/webmail

thank you

you can make symlink from roundcube folder to webmail one. And fix permission. It works.

Offline
*
Re: webmail alias
« Reply #2 on: January 16, 2015, 03:10:25 PM »
Got a quick tutorial for that? I tried:

ln -s /usr/local/apache/htdocs/roundcube /usr/local/apache/htdocs/webmail

but that does not seem to be working...

Offline
*
Re: webmail alias
« Reply #3 on: January 16, 2015, 04:55:18 PM »
I also have a problem with the webmail. Let me explain I have several websites on the vps and a shared IP.
When I type the shared IP XXX.XXX.XXX.XXX/webmail or Roundcube I get the Roundcube page
When I type www.mysite.com/webmail or roundcube I have an error 500.

I fixed the permissions for each account and it doesn't work. Is there something I'm missing there!

I created a conf file for apache with the following

Alias /webmail /usr/local/apache/htdocs/roundcube
Alias /roundcube /usr/local/apache/htdocs/roundcube

<Directory /usr/local/apache/htdocs/roundcube>
  Options +FollowSymLinks
  DirectoryIndex index.php
  AllowOverride All
  Order Deny,Allow
  Allow from All
</Directory>

So I get the symlink to Webmail but not the website.com/webmail

Any clue? thanks for your help

Offline
*
Re: webmail alias
« Reply #4 on: January 19, 2015, 03:05:55 AM »
you can't use domains since the SECURITY (suPHP and SUExec) will block it.
you can only user server hostname and IP for webmail, ftp and phpmyadmin.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: webmail alias
« Reply #5 on: January 21, 2015, 08:56:58 AM »
But then what makes that this way is possible with ISPConfig3 using also SUPHP?

Offline
*
Re: webmail alias
« Reply #6 on: January 22, 2015, 09:22:08 AM »
So my question now is how to bypass suPHP to get roundcube to work?

Offline
*
Re: webmail alias
« Reply #7 on: January 28, 2015, 10:37:16 PM »
In /usr/local/apache/conf/httpd.conf create an alias to the roundcube directory:

Code: [Select]
Alias /roundcube /usr/local/apache/htdocs/roundcube
and add the directory settings:

Code: [Select]
<Directory /usr/local/apache/htdocs/roundcube>
    Options -Indexes
    AllowOverride All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/config>
    Order Deny,Allow
    Deny from All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/temp>
    Order Deny,Allow
    Deny from All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/logs>
    Order Deny,Allow
    Deny from All
</Directory>

Add the following directory setting to /usr/local/apache/conf.d/vhosts.conf:

Code: [Select]
<Directory /usr/local/apache/htdocs/roundcube>
    Options -Indexes
    AllowOverride All
    <IfModule mod_suphp.c>
         suPHP_Engine On
         suPHP_UserGroup nobody nobody
     </IfModule>
</Directory>

Finally, configure suphp to allow access to the round cube directory by adding the roundcube directory to the docroot in /usr/local/apache/conf.d/suphp.conf. You can also set check_vhost_docroot to false, but this is not recommended as it is a potential security risk.

Hope this helps... 

Offline
*
Re: webmail alias
« Reply #8 on: February 04, 2015, 01:23:53 AM »
new version comes with this fixes
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services