Find the answer to your Linux question:
Results 1 to 5 of 5
As far as I'm aware I've done everything right but I simply cannot login. It's driving me insane. I'm totally winging this from some guides I found on the net. ...
  1. #1
    Just Joined! basica's Avatar
    Join Date
    Nov 2011
    Posts
    8

    Roundcube: Login Error/connection to imap server failed

    As far as I'm aware I've done everything right but I simply cannot login. It's driving me insane. I'm totally winging this from some guides I found on the net.

    I had to patch a couple together to get this far but basically I've got up to the login page (tested the config files no problems) but it's not logging in no matter what I'm entering in.

    From what I understand, my user login should be what I entered into the virtual table and the server field should be "localhost". Thus, to log in, I use that user's Linux credentials.

    How I've tried logging in:

    usr: xxx
    server: blank

    usr: xxx [at_] ddnsdomain [dot_] coms
    server: blank

    usr: xxx
    server: localhost

    usr: xxx [at_] ddnsdomain [dot_] coms
    server: localhost

    usr: xxx [at_] localhost
    server: localhost

    usr: xxx [at_] localhost
    server: blank

    Some notes about the installation:

    It's Centos 6 minimal install
    It's a VMware image
    I'm using a DDNS for the domain name (I'm not interested in getting the mail working atm as I'm using DDNS which I just have to put up with for the next few weeks. I simply want to be able to login.)
    I have wordpress installed and working

    I'm sure there is more information I can provide so please let me know whatever it is you need to know to give me a hand and I will do so.

    Thanks a lot for the help!

  2. #2
    Just Joined! basica's Avatar
    Join Date
    Nov 2011
    Posts
    8
    Okay, so I accidentally deleted my database for roundcube (don't ask) so I decided to delete the user as well and recreate the user and database. Went back, edited the db.inc.php file and reenabled the installer.

    In the test config page (page 3 of the installer)

    All the tests but the imap config are OK. The tests are:

    Check config files

    main.inc.php: OK
    db.inc.php: OK
    temp/: OK
    logs/: OK
    Check DB config
    DSN (write): OK
    DB Schema: OK
    DB Write: OK
    DB Time: OK

    Test SMTP config

    Server: PHP mail()
    Port: 25
    Trying to send email...
    SMTP send: OK

    Test IMAP config

    Username with domain:

    IMAP connect: NOT OK(Login failed for *** from IP address. AUTHENTICATE PLAIN: Authentication failed.)

    Username without domain:

    IMAP connect: NOT OK(Login failed for *** from IP Address. AUTHENTICATE PLAIN: )

  3. #3
    Just Joined! basica's Avatar
    Join Date
    Nov 2011
    Posts
    8
    Okay, I'm bout to go to bed but one final update (thinking out loud here, might be useful to others who come encounter the same issue):

    Seeing that dovecot sorts out my imap stuff and I seem to be having an imap problem (hopefully not heading down the wrong direction) I will be checking that out tomorrow. I also checked and noticed I had ports blocked on my router which have since been enabled and I had for some reason postfix running so I disabled that too. Afterwards I restarted the sendmail and dovecot services but to no avail. More info tomorrow after work..

  4. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    Since your passing PLAIN authentication from roundcube, is IMAP setup properly in dovecot.conf with a PLAIN mechanism?

    Probably under auth default.

    Code:
    auth default {
     mechanisms = login plain
    }
    linux user # 503963

  5. #5
    Just Joined! basica's Avatar
    Join Date
    Nov 2011
    Posts
    8
    Thanks but no luck. I think it might be wiser to start from scratch. Thanks again for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...