Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Webmail - Horde and Squirrelmail Not Logging in for Addon domains and Alias domains

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    31

    Default Webmail - Horde and Squirrelmail Not Logging in for Addon domains and Alias domains

    I am currently having a problem with SquirrelMail and Horde when logging into a email account in a addon or aliased domain. I have tried all of the basics, check horde log permissions, tried out Edge, Current, release and stable builds with no results. tried deleting and recreating the email address change dthe main accounts password, ran updatenow, resetimappasswds, mailperm etc

    I am getting the folloing in horde:

    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0


    I get the following in squirrelmail:

    ERROR
    Unknown user or password incorrect


    Logging in with Neomail is ok

    Again this only happens on aliased domains or addon domains.

  2. #2
    Member
    Join Date
    Jul 2003
    Posts
    18

    Default

    I'm having the same problem

    There is a bugzilla open but I need a fix for this fast..
    http://bugzilla.cpanel.net/show_bug.cgi?id=3247

    Can anybody help us?

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    205

    Default

    having the same problem but with all domains ... what is going on?

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    17

    Default

    This issue is happening in many servers and after some research we found that the symlinks passwd.domain.com,shadow.domain.com and the uid.domain.com.gid.domain.com files in /etc/vmail are missing.

    take a domain having issue and run the following command

    cd /etc/vmail
    ls -l|grep domain.com

    You should see something like this

    -rw-r--r-- 1 root root 5 Sep 30 22:52 gid.domain.com
    lrwxrwxrwx 1 root root 34 Sep 30 22:30 passwd.domain.com -> /home/user/etc/domain.com/passwd
    lrwxrwxrwx 1 root root 34 Sep 30 22:30 shadow.domain.com -> /home/user/etc/domain.com/shadow
    -rw-r--r-- 1 root root 5 Sep 30 22:52 uid.domain.com
    -rw-r--r-- 1 root root 0 Sep 30 22:30 vhost.domain.com

    If you are missing the above files, you can't login via imap

    We fixed the issue using the following method.

    touch /etc/passwd
    /scripts/updateuserdomains
    Last edited by Renjith Rajan; 09-30-2005 at 11:37 PM.

  5. #5
    Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default

    Excellent work.
    Now the question is, why were the links missing?

  6. #6
    Member
    Join Date
    Apr 2003
    Posts
    115

    Default

    We see all those files and still doesnt work. We allready upcp and nothing.
    Any changes or fix ?

    -rw-r--r-- 1 root root 5 Sep 30 22:52 gid.domain.com
    lrwxrwxrwx 1 root root 34 Sep 30 22:30 passwd.domain.com -> /home/user/etc/domain.com/passwd
    lrwxrwxrwx 1 root root 34 Sep 30 22:30 shadow.domain.com -> /home/user/etc/domain.com/shadow
    -rw-r--r-- 1 root root 5 Sep 30 22:52 uid.domain.com
    -rw-r--r-- 1 root root 0 Sep 30 22:30 vhost.domain.com
    Regards.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2004
    Posts
    347

    Default

    Try this.

    1. backup vmail dir if things go wrong

    mv /etc/vmail /etc/vmail-bak

    2. run /scripts/updateuserdomains

    If something went wrong, simply rm -rf /etc/vmail and mv /etc/vmail-bak /etc/vmail.

    Thanks

  8. #8
    Member
    Join Date
    Jun 2003
    Location
    Gamehenge
    Posts
    57

    Default

    Quote Originally Posted by netlook
    Try this.

    1. backup vmail dir if things go wrong

    mv /etc/vmail /etc/vmail-bak

    2. run /scripts/updateuserdomains

    If something went wrong, simply rm -rf /etc/vmail and mv /etc/vmail-bak /etc/vmail.

    Thanks
    Thanks for posting this suggestion/fix. Resolved the issue on one server for me.
    mrpalmer was concerned about the thousand dollar question.

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2004
    Location
    Nashville, TN USA
    Posts
    115
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    We're experiencing this issue, but none of the suggestions in this thread have helped.

    In addition to being unable to access webmail for an addon domain's mailboxes, neither can the user access his/her mailbox via mail client software.

    Additionally, the mailboxes are not receiving email.

    Any ideas?

  10. #10
    Member
    Join Date
    Jul 2003
    Posts
    18

    Default

    Same problem here..

  11. #11
    Member
    Join Date
    Jul 2003
    Posts
    18

    Default

    Check to see The IP= is correct in /var/cpanel/users/<username> this was the problem in my case.

    Good luck

  12. #12
    Member
    Join Date
    Nov 2005
    Posts
    97

    Thumbs up

    Thank you!!! It's fixed I nearly killed my server in the process, trying everything to fix this. The 2 problems I had were SMTP and the inability to login to Webmail.

    Among 50 other things, the last few things I did that actually repaired it, was to upgrade to Edge which fixed the SMTP problem and after that, doing the 3 checks/fixes above. Webmail's is FIXED!

  13. #13
    Member
    Join Date
    Mar 2004
    Posts
    52

    Default

    Quote Originally Posted by Renjith Rajan
    touch /etc/passwd
    /scripts/updateuserdomains
    Thanks, saved me going through symlinking them all..after reading the updateuserdomains script i only got the touch /etc/passwd bit

  14. #14
    Member guilliam's Avatar
    Join Date
    Feb 2006
    Location
    Sunny City Cebu, Philippines!
    Posts
    22

    Default

    Quote Originally Posted by guilliam
    Code:
    cp /usr/local/cpanel/3rdparty/bin/imapd /usr/sbin
    ^^this one worked for me after trying all the results i got from the other threads. thanks to all the names who gave this fix.

    btw.. for newbies(like me ) after you run this on ssh,.. it will ask you if to overwrite, just type "y" then enter. thats it!



    - g
    this one works for me.. just in case those looking for what works with what. just upgraded my VPS and got the dreaded errors. now works fine.

    - g

  15. #15
    Member
    Join Date
    Sep 2003
    Posts
    8

    Default

    Quote Originally Posted by netlook
    Try this.
    1. backup vmail dir if things go wrong
    mv /etc/vmail /etc/vmail-bak
    2. run /scripts/updateuserdomains
    If something went wrong, simply rm -rf /etc/vmail and mv /etc/vmail-bak /etc/vmail.
    Thanks

    Thanks !!

    Worked for me.

Page 1 of 2 12 LastLast

Similar Threads

  1. cant addon domains and park domains in cpanel
    By Nicolas.Wang in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 07-09-2010, 11:31 AM
  2. Suddenly, addon domains can't receive email, nor log into /webmail
    By MediaServe in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 05-11-2008, 05:55 PM
  3. Replies: 0
    Last Post: 01-09-2008, 11:41 AM
  4. all addon domains is parked domains.. (Ea3)
    By gdns in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 11-23-2007, 06:19 AM