Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2010
    Posts
    65

    Default Webmail - squirrel, horde and roundcube doesn't work

    Hello,
    I've got another problem today: When I'm logged into Cpanel I try to watch my mails and click on Webmail -> Access Webmail. Then it ask me for the password of the mailbox and I enter it and get the following:
    You are logged in as admin@domain.tld

    That's fine but when I choose Horde, Squirrel and Roundcube it tell me (all three) that the login failed because of wrong user or password. I tried already the following:
    /scripts/buildeximconf
    /scripts/reseteximtodefaults
    /scripts/makecpphp
    /scripts/fullhordereset
    I transfered the accounts from an old server, all is working fine, except mails now. Cpanel is running version 11.28.87.

  2. #2
    Member
    Join Date
    Aug 2010
    Posts
    65

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    It's trying to login and tell me that the username or password is wrong but it can't be wrong because of "You are logged in as admin@domain.tld".

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    174
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    Have you tried resetting the password? It might have somehow gotten out of sync between cPanel and the webmail software.

  4. #4
    Member
    Join Date
    Aug 2010
    Posts
    65

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    Yes, several times. It doesn't solve the problem.

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    Please run the following command in root SSH:

    Code:
    /scripts/whoowns domain.com
    Where domain.com is the domain name in question. If it doesn't show any ownership, then move the following files:

    Code:
    cd /etc
    mv userdomains userdomains.bak
    mv domainusers domainusers.bak
    mv trueuserdomains trueuserdomains.bak
    At that point, run the following script and recheck ownership for the domain:

    Code:
    /scripts/updateuserdomains
    /scripts/whoowns domain.com
    If instead of showing no ownership, the domain showed the wrong ownership, you'd have to edit the /var/cpanel/users/username file that is improperly owning the domain to remove the DNS line that it has for that domain, then run the above move and updateuserdomains commands.

    If the ownership is correct, then at that point, try instead checking the Roundcube logs as it has the most accurate logging of the 3 webmail programs. Try to log into the account in Roundcube, and then go to /var/cpanel/roundcube and tail the log:

    Code:
    tail -fn0 /var/cpanel/roundcube/log/errors
    Please post the output of the errors it is logging here at that point.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    Member
    Join Date
    Aug 2010
    Posts
    65

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    When I did the following
    /scripts/updateuserdomains
    I'm getting this:
    warn [updateuserdomains] Unable to read /etc/trueuserdomains: No such file or directory
    warn [updateuserdomains] Unable to read /etc/userdomains: No such file or directory
    == WORKAROUND ENABLED ==
    Serious Problem -- This should never happen!!
    The hostname (domain.tld) is owned by the user user2111
    == WORKAROUND ENABLED ==
    Before it showed no ownership for domain of user2111, that's why I changed the hostname to system.domain.tld and rerun the script
    updateuserdomains
    . Still no ownership for the domain domain.tld of user2111. Roundcube log doesn't show any error.

  7. #7
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    The error message tells you what is wrong:

    The hostname (domain.tld) is owned by the user user2111
    You've set your hostname for the machine to the same domain as this cPanel account. Since the hostname is owned by nobody, it cannot also be owned by user2111. Please go to WHM > Change Hostname area and change your hostname to server.domain.tld instead of domain.tld. After you've changed the hostname to be a subdomain off the main domain rather than the main domain itself, then re-do the steps I noted to move those files again and run /scripts/updateuserdomains at that point. The ownership should be properly set after you get the hostname off your main domain name.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  8. #8
    Member
    Join Date
    Aug 2010
    Posts
    65

    Default Re: Webmail - squirrel, horde and roundcube doesn't work

    I've did that and the ownership of domain.tld is still nothing. Hostname looks like system.domain.tld.

    //Edit: I forgot to move the 3 files before retry it. Thanks, it works great!
    Last edited by khorinis; 04-28-2011 at 01:53 PM.

Similar Threads & Tags
Similar threads

  1. Webmail - squirrel, horde and roundcube doesn't work
    By khorinis in forum New User Questions
    Replies: 5
    Last Post: 04-28-2011, 08:58 AM
  2. webmail problems using Horde or Squirrel Mail
    By stargatesg1 in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 03-19-2009, 02:25 AM
  3. Migrating webmail users from Squirrel to RoundCube
    By Metro2 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-31-2008, 04:42 PM
  4. Horde: login doesn't work
    By Silent Ninja in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 06-30-2008, 08:21 PM
  5. Squirrel & Horde doesnt work Neomail works..
    By cem in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-05-2004, 08:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube