Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: adam2104 on July 31, 2011, 11:44:36 PM

Title: Settings not reflected in different URLs
Post by: adam2104 on July 31, 2011, 11:44:36 PM
I'm working on setting up an OS X 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, which is now 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 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 are not reflected here. This is a pain in the butt. I can't control what URL users are ultimately going to type in.

Has anyone else seen this? Am I missing something? I've been banging by head against the wall on this for a while.
Title: Settings not reflected in different URLs
Post by: Julius Caesar on August 01, 2011, 04:09:14 AM
User preferences are stored with the following key: username + mailhost (URL). So if you use 2 different URL's for the same user, they will have different settings.

To prevent users to use multiple URL's, modify your server settings so all URL's for webmail are redirected to one URL.
Title: Settings not reflected in different URLs
Post by: adam2104 on August 01, 2011, 08:22:03 AM
Thanks for that. I guess that explains why I'm getting different settings. I'll see about fixing up the web server side to redirect everything where I want.