Koozali.org: home of the SME Server

[SOLVED] Change iBay name of Roundcube Mail

Offline leomanf

  • *
  • 9
  • +0/-0
[SOLVED] Change iBay name of Roundcube Mail
« on: March 17, 2009, 03:26:32 AM »
Hello
I installed roundcube through howto http://wiki.contribs.org/RoundCube
How can i change the default name of the ibay "http://www.domain.com/roundcube"
to "http://www.domain.com/webmail" ?

Thanks
« Last Edit: March 21, 2009, 07:18:09 PM by leomanf »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Change iBay name of Roundcube Mail
« Reply #1 on: March 17, 2009, 03:44:37 AM »
You would need to create a series of custom templates to do this.

Offline leomanf

  • *
  • 9
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #2 on: March 17, 2009, 03:49:41 AM »
hummm!! :???: :???:

then...how could I point the subdomain "http://webmail.domain.com/" to the default ibay of roundcube?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #3 on: March 17, 2009, 04:20:23 AM »
leomanf

Quote
how could I point the subdomain "http://webmail.domain.com/" to the default ibay of roundcube?

In the domains panel in server manager

This is basic configuration and is well documented.
Please read the online manual as you may actually learn how to use sme server if you do so ! Click on wiki link at top of forums.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline leomanf

  • *
  • 9
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #4 on: March 17, 2009, 04:35:01 AM »
leomanf

In the domains panel in server manager

This is basic configuration and is well documented.
Please read the online manual as you may actually learn how to use sme server if you do so ! Click on wiki link at top of forums.

OK. I have some knowledge about the functioning of the sme server, but if you try, you can not point the subdomain "http://webmail.domain.com/" to the bay's default of roundcube since it does not appear in the server manager.
I believe that this configuration should be performed by the console, changing the files manually.

thank you if they can help me

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #5 on: March 17, 2009, 04:55:00 AM »
leomanf

Quote
.. but if you try, you can not point the subdomain "http://webmail.domain.com/" to the bay's default of roundcube since it does not appear in the server manager.

OK you said it was a ibay.
If it's not there in the domains panel then it must not be an ibay, and I would assume from comment in the wiki, that it is in /opt/roundcube

As said previously you  need to alter templates to fix this.

Have a look at the templates that were setup by the rpm when it installed.
You can look inside the rpm using midnight commander (mc) to see what gets added to your system

You should also read
http://wiki.contribs.org/Web_Application_Redirect_Tutorial
as it gives the concepts of how these things are done for Joomla, but the same concepts apply to roundcube, just change the names and locations etc.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline leomanf

  • *
  • 9
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #6 on: March 17, 2009, 04:58:38 AM »
leomanf

OK you said it was a ibay.
If it's not there in the domains panel then it must not be an ibay, and I would assume from comment in the wiki, that it is in /opt/roundcube

As said previously you  need to alter templates to fix this.

Have a look at the templates that were setup by the rpm when it installed.
You can look inside the rpm using midnight commander (mc) to see what gets added to your system

You should also read
http://wiki.contribs.org/Web_Application_Redirect_Tutorial
as it gives the concepts of how these things are done for Joomla, but the same concepts apply to roundcube, just change the names and locations etc.


GREAT!!!!!

Many Thanks!!!

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Change iBay name of Roundcube Mail
« Reply #7 on: March 17, 2009, 06:48:35 AM »
first try
http://wiki.contribs.org/Web_Application_RPM#New_DB_settings
config setprop foo URL newfoo

ie
config setprop roundcube URL webmail
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith

+ disable webmail in the email panel


http://wiki.contribs.org/Web_Application_Redirect_Tutorial
can cause problems

Offline leomanf

  • *
  • 9
  • +0/-0
Re: Change iBay name of Roundcube Mail
« Reply #8 on: March 18, 2009, 03:37:21 AM »
first try
http://wiki.contribs.org/Web_Application_RPM#New_DB_settings
config setprop foo URL newfoo

ie
config setprop roundcube URL webmail
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith

+ disable webmail in the email panel


http://wiki.contribs.org/Web_Application_Redirect_Tutorial
can cause problems


ok .. worked perfectly.

Now, how to create a virtual domain pointing to this new iBay name?

ex:
"http://webmail.domain.com"  point to "http://domain.com/webmail"

thanks

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Change iBay name of Roundcube Mail
« Reply #9 on: March 18, 2009, 03:43:09 AM »
The easiest thing would be to create an iBay called "transfer", and then assign it to the desired subdomain.

You could then put a redirect in index.html (use the meta refresh tag) to point to /webmail/.