Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Default Webmail login Error

    When go to the cpanel account then go to access webmail I enter the password and it brings me to the screen to pick between Horde, Squirell Mail, or Roundcube. Then when I chose one it brings me to the login screen for all of them. I try logging in and it says login fails. But horde says:

    Notice: Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0

    Notice: Unknown: Retrying PLAIN authentication after [AUTHENTICATIONFAILED] Authentication failed. (errflg=1) in Unknown on line 0

    Notice: Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0

    Notice: Unknown: Retrying PLAIN authentication after [AUTHENTICATIONFAILED] Authentication failed. (errflg=1) in Unknown on line 0

    Notice: Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0

    Notice: Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed. (errflg=2) in Unknown on line 0

    any ideas?

  2. #2
    Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    244

    Default

    Could you also check in /var/cpanel/horde/log/errors for the errors showing there? If Roundcube is likewise having an issue, there's an error log for it at /var/cpanel/roundcube/log/errors that would be helpful. Those logs might provide more details on specifically what's happening.

    Also, is this only impacting one email account on one domain, on all email accounts on one domain, or on all emails accounts on all domains?

    You might try running /scripts/fullhordereset --force in root SSH, but it's better to see what the set errors are first to track down the specific issue here. It seems to be an authentication issue for the account, which usually points to either incorrect permissions or ownership on /home/username/etc/ folder (or the folders or files within that folder). If all domains are impacted, though, then it isn't incorrect permissions but instead something else.
    Last edited by Miraenda; 07-14-2010 at 07:56 PM.

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Default

    Well I have checked another domain and email and it works fine. But all the email accounts on this specific domain do not work.

    Ill have the error reports tomorrow though if they are still needed.

    If it is only permissions what would I have to do to fix this?

  4. #4
    Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    244

    Default

    Here are the permissions for each level of the /home/username/etc per one of my own accounts:

    /home/user/etc permissions

    Code:
    drwxr-x---   6 user mail   4.0K Jan 28 15:27 etc
    /home/user/etc/domain.com permissions

    Code:
    drwxr-x---   5 user mail  4.0K Jul  9 12:50 domain.com
    /home/user/etc/domain.com permissions inside the folder

    Code:
    drwx--x--x  4 user user 4.0K Apr 10 15:52 admin
    drwx--x--x  3 user user 4.0K Apr 10 15:52 cpacct
    -rw-r--r--  1 user mail   152 Feb 24 13:23 passwd
    -rw-r--r--  1 user user 1.9K Feb 24 13:23 passwd,v
    drwxr-x---  2 user mail  4.0K Feb 24 13:24 @pwcache
    -rw-r--r--  1 user user   33 Feb 24 13:23 quota
    -rw-r--r--  1 user user  387 Feb 24 13:23 quota,v
    -rw-r-----  1 user mail   107 Apr 10 16:00 shadow
    -rw-r-----  1 user user 2.0K Feb 24 13:23 shadow,v
    Please note the ownership permissions really matter quite a bit. The /home/user/etc, /home/user/etc/domain.com and /home/user/etc/domain.com/passwd, @pwcache and shadow all have user:mail permissions not user:user permissions.

    If your permissions and ownership are correct for each of these, then also cat the /home/user/etc/domain.com/passwd file to see if the accounts are listed there. Sometimes they are missing. If they are indeed missing, then you will have to remove and re-create the accounts to restore the data. You can copy the /home/user/mail/domain.com/emailuser folder to a backup before removing the account, then restore the contents of that folder so that you don't lose the data, though.

Similar Threads & Tags
Similar threads

  1. webmail login gets error
    By dystopian in forum New User Questions
    Replies: 4
    Last Post: 12-17-2009, 10:53 AM
  2. webmail login error from cPanel
    By jfall123 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-19-2009, 09:14 AM
  3. error webmail login
    By wkd in forum E-mail Discussions
    Replies: 3
    Last Post: 04-17-2008, 09:57 PM
  4. Error LOgin Webmail Horde/Squirel
    By chirpy in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 11-08-2006, 07:50 AM
  5. Cannot login Webmail !! error, HELP!!
    By wangtenet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-20-2005, 01:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube