Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2006, 16:15
SoMBS SoMBS is offline
Junior Member
 
Join Date: Oct 2006
Location: New York
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default RoundCube Webmail On Your ISPConfig Server Within 10 Easy Steps

I have followed the instructions at http://www.howtoforge.com/roundcube_webmail_ispconfig and the setup seems to be working fine as far as sending and receiving email. But I am having a problem when I set Personal Settings after I've logged into webmail. The problem is that after I make changes to personal settings and Save, when I log out and and back in again my settings have reverted back to previous settings (defaults?). The settings in question are Personal Indentity and Time Zone.

I have www.domain.tld with a sub domain of webmail.domain.tld. The email user account I am using was created under www.domain.tld in ISPConfig before I set up Roundcube and is not an account created in webmail.domain.tld. This seems to be an important disctinction because when I use an email account created under webmail.domain.tld and login, make changes to settings, log out and back in again, the changes stay.

So for instance, testuser@domain.tld can login into webmail using either testuser@domain.tld or web1_testuser and send and receive email. But after making changes to Personal Settings, the changes always revert back to original settings after next login.

testuser@webmail.domain.tld can log in and send and receive email, make changes to Personal Settings and the changes stay after next login.

It seems there is a disconnect between users of webmail.domain.tld and domain.tld. Might this be in the config files of roundcube? To note: When I set up mysql, I used the webmail.domain.tld myslq db (web2_u1, web2_db1). Of course, domain.tld is web1_u1 and web_db1. Maybe I have to set roundcube up to look at users from domain.tld in addtion to webmail.domain.tld?
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2006, 16:29
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default Saving your settings

Please have a look here:
http://www.howtoforge.com/forums/showthread.php?p=44646

Maybe it helps you too.

***EDIT***
Some questions:
Is domain.tld, the same domainname as the domainname in your full hostname? (Your maindomain)
Which Linux distribution do you use and what are your MySQL and PHP versions?
Do you find any errors within the RoundCube log files?
Personal experience:
I also have to say that i host a lot of different domains on my server and clients are using RoundCube, IlohaMail or Uebimiau without any problems.

I had some problems as you described indeed, but that was with the RoundCube package provided by ISPConfig.

Since i use RoundCube Beta2, which is setup according my "within 10 steps" howto, i do not have problems anymore. It was the reason for me to use it on my own website.

The only thing, i do not like is that everytime i login for the first time, i have to remove @www within the e-mailaddress. But that is no big problem at all.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 8th November 2006 at 18:57.
Reply With Quote
  #3  
Old 10th November 2006, 23:19
SoMBS SoMBS is offline
Junior Member
 
Join Date: Oct 2006
Location: New York
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hans, thanks for the reply and staying with me. I hadn't looked at the posts in a few days thus the delay in responding to you.

I have been doing some research in addition to looking at the information you posted earlier.

To answer some of your questions:

1. Is domain.tld, the same domainname as the domainname in your full hostname? (Your maindomain).

If I understand your question correctly, yes my domain.tld is the same as my hostname. The hostname of my server is server1.domain.tld.

2. Which Linux distribution do you use and what are your MySQL and PHP versions?

I followed the Perfect guide for setting up Ubuntu's Dapper 6.06 LTS. That is the version of Linux I'm running. Per the guide MySQL 5.0 and PHP5.

3. Do you find any errors within the RoundCube log files?

I don't see any errors in syslog file. Looking at the errors log in /var/www/webmail.domain.tld/web/logs there are only a couple of line indicating a user authentication failed error. And one other: Cannot modify header information - headers already sent in /var/www/web8/web/program/in$

Note: I used your guide and downloaded and installed Roundcube accordingly. I am not using ISPConfig's .pkg.

One thing I have discovered after some more testing is that it works fine when logging in with username like web1_user. What doesn't work is user@domain.tld.

When I login with user@domain.tld and go to personal settings --> identities I see email address user@www.domain.com with display name web1_user. Any changes to this do not stick after next login.

When I login with username and make changes they stick after next login. So, identity is display name I defined with email address user@domain.tld.

So all-in-all it's working ok using the username. It's not critical that I have to login with user@domain.tld. I can just login in with web1_user. As I hand out email accounts though it would be good to tell users to login with user@ but by the time I get there maybe a solution and/or the next beta will be out correcting some of these issues.

I will research some more and play with settings and maybe discover something useful I can share. I'm thinking I'll set up another server and test various configurations.
Reply With Quote
  #4  
Old 10th November 2006, 23:38
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Can you test this:

Login with username (without @domain.tld) and try to set the identities.

I mean not a username like web1_user1 but the username as created on the user and e-mail tab in ISPConfig.

What is happening then?
If this works, it means that a login with only the username is better then to login with username@domain.tld.

If this is true, i consider to change my howto at this point, which means i will not use the adapted main.inc.php for ispconfig anymore. In that situation only a login with the username will be possible.
Then saving identities will work. It's a compromise.

Let me know your experience!
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 10th November 2006 at 23:44.
Reply With Quote
  #5  
Old 12th November 2006, 04:10
SoMBS SoMBS is offline
Junior Member
 
Join Date: Oct 2006
Location: New York
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hans, as you suggested, I tried to login with the email username. Login failed. I then created a new user under domain.tld because the usernames I have been trying to login with were created before I installed Roundcube. I thought this may have been the problem. But this did not work either.
Reply With Quote
  #6  
Old 12th November 2006, 10:18
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Ok then.
I will change step 6 within my howto.
After changing the main.inc.php, only login with a username without @domain.tld will be possible.

If we do so, we do not have the "saving identities problem" anymore.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 09:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.