PDA

View Full Version : 10.7 Server - Webmail, round cube identity issue




Celeron
Jul 31, 2011, 10:34 PM
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.

www.example.com/webmail
servername.example.com/webmail

If I log into 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
Aug 1, 2011, 12:10 AM
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
Aug 1, 2011, 07:17 AM
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
Aug 1, 2011, 01:22 PM
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
Aug 1, 2011, 01:25 PM
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
Aug 1, 2011, 02:13 PM
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.