Home Forums OS X Server and Client Discussion Mail Webmail login error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #358349
    Anonymous
    Participant

    I’m having a problem with webmail on Server 10.3.4, and I’ve tried every solution I’ve found on the web, to no avail.

    When I attempt to log in to Webmail, I get the error message:

    ERROR
    Unknown user or password incorrect.
    Go to the login page

    I’ve been through the squirrelmail config file and everything meshes with the server settings (i.e. domain name, login type, etc.). I’m using “Login” on the server and “Login” in squirrelmail. Webmail is enabled and IMAP is enabled for the server and for all users.

    The Web logs for my attempts at logging into webmail are as follows:

    “GET /webmail HTTP/1.1” 302 5
    “GET /webmail/src/login.php HTTP/1.1” 200 2088
    “POST /webmail/src/redirect.php HTTP/1.1” 200 1074

    The IMAP logs show nothing for these login attempts. The only way I can get anything to show up in the IMAP logs is to log into cyradm within the Terminal.
    I’ve tried messing with php.ini, imapd.conf, cyrus.conf, cyradm, etc. and haven’t found anything that works. Apple tech support suggested that we might need to “modify cyrus files.” Not sure which files or modifications that refers to.

    Anyone ever dealt with this or have any suggestions/need more info?

    #358351
    bcirvin
    Participant

    you might try looking at the modules that are enabled in the advanced section of the web services config in server admin…i believe some of those modules are required for squirrelmail to work (they are, i think, apache scripting support modules? correct me if i’m wrong)

    blake/

    #358352
    Anonymous
    Participant

    The php module is enabled…I’ve haven’t found any references to any other modules that are required by Squirrelmail. Also, most of the other modules are enabled by default.

    A little more info. I can telnet to localhost port 143 and it shows Cyrus IMAP loaded OK. However, when I attempt to log in, I get the error:

    NO Auth method not enabled

    and nothing shows up in the IMAP logs. It’s looking more and more like an IMAP authentication problem. Both Squirrelmail and the server are set for “Login” authentication.

    #358354
    bcirvin
    Participant

    try setting the server to “plain” – also remember that the web service has to be told to enable webmail, and the user record under workgroup manager needs to have mail enabled too.

    blake/

    #358370
    honestpuck
    Participant

    Hi,

    You’re problem has nothing to do with webmail. It’s a Cyrus problem.

    I suggest you go to the terminal and do a ‘sudo -s -u cyrus’ to turn yourself into the cyrus user and then go to /usr/bin/cyrus/bin and first run ./chk_cyrus which should list the current mailboxes. Then

    ./imtest -u user_name -a user_name imap.example.com

    replacing ‘user_name’ with the name of a valid mailbox owner and imap.example.com with the name of your server. This will then either fail with a generic authorization failure or log you in. In either case enter ‘. logout’ to log out of the server.

    It’s my guess that this will fail but will tell you why. The most likely problem is it will tell you that mail is not enabled for this user. This means one of two things – it can’t find the user or they don’t have mail enabled. Check to see they DO have mail enabled. If they do then check that ‘Directory Access’ on your server is pointing to the right places – i.e. your local LDAP server if you are using one, otherwise wherever you are storing user info. I suspect that Cyrus may actually require you to use something other than the local NetInfo node as that is not network accessible – I use the LDAP server on the mail server.

    Then when you have that working try logging in to the account from Mail.app. If that works *then* try Webmail.

    there are some good notes at http://en.tldp.org/HOWTO/Cyrus-IMAP.html and http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/WebHome

    Tony Williams

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed