Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Celeron

macrumors 6502a
Original poster
Mar 11, 2004
705
9
I'm working on setting up a Lion server to handle email. I have the basic email working in and out from the Internet. That is all working fine. However, I'm having an issue with the webmail app, Roundcube. Specifically, webmail is accessible from several URLs by default.

http://www.example.com/webmail
servername.example.com/webmail

If I log into http://www.example.com/webmail, it works. If I go into the settings, then identities, and change something in there, that works too. Now, if I logout, and then go to servername.example.com/webmail and login with the same username and password, the changes I made to the identities are not reflected here. This is a pain in the butt. I can't control what URL users are ultimately going to type it. It seems the settings, if they are for the same user, should carry over regardless of what URL is used to hit webmail. Apparently that isn't the case.

Has anyone else seen this?
 

throttlemeister

macrumors 6502a
Mar 31, 2009
550
63
Netherlands
I can't control what URL users are ultimately going to type it.
As a matter of fact, you can. :) In general, www is a different virtual host than hostname. Just configure one of the two to a different directory, and they will only be able to use one URL to access your webmail. Just make sure you add the line:

NameVirtualHost *:80

to the bottom of your /etc/apache2/httpd.conf to avoid breaking your setup (this is a bug in Lion).
 

Celeron

macrumors 6502a
Original poster
Mar 11, 2004
705
9
I thought about that, however, I'm wary of editing the configuration files via the CLI for fear that it might:

1. Break Server.app making the services unconfigurable via the GUI

and / or

2. Be overwritten next time Server.app does some configuration tasks.
 

throttlemeister

macrumors 6502a
Mar 31, 2009
550
63
Netherlands
I thought about that, however, I'm wary of editing the configuration files via the CLI for fear that it might:

1. Break Server.app making the services unconfigurable via the GUI

and / or

2. Be overwritten next time Server.app does some configuration tasks.

This particular change does not affect 1 or 2. I am using it, and using server/server admin to manage the box.
 

Celeron

macrumors 6502a
Original poster
Mar 11, 2004
705
9
I've decided I'm just going to deal with it until Apple fixes it. I tried various things this morning, including your suggestion, and I can't get everything playing the way I want. Incidentally it isn't a huge deal so I'm just going to wait for an update.
 

RafaelT

macrumors 65816
Jun 9, 2010
1,169
15
NM
I found some other things broken in Roundcube as well. I figured it wasn't worth worrying about until the next update. This release is a real mess, not the quality I expect from Apple.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.