Everything is fine but ERROR: Connection dropped by IMAP server.

Discussion in 'HOWTO-Related Questions' started by grenga, Sep 12, 2013.

  1. grenga

    grenga New Member

    Hello,
    my starting point is a plain Debian (Wheezy) installation on VM VirtualBox: everything is fine; internet connection is available and functioning.

    I am working on building up a mailserver using the components: Postfix, Courier, MySQL, Squirremail, so I refferred to the tutorial http://www.howtoforge.com/virtual-u...-courier-mysql-and-squirrelmail-debian-wheezy

    It is really great, I could adhere to the procedure entirely, reporting no errors!
    However, when I try to connect via web, using squirrelmail application, I get the following message:

    ERROR: Connection dropped by IMAP server.

    Is there any further (addional) setting not mentioned in the tutorial I should care of and adjust.

    I am stuck now; I hope someone of you may help me on finding the solution to the trouble, and finally got the service up and running.

    Thanks in advance for you assistance.
     
  2. rempfer

    rempfer New Member

    I am getting this exact same error, at the same spot in the How-To -- first test of logging into Squirrelmail.

    I too would like to know how to proceed to find and correct the problem.

    Thanks.
     
  3. mccyberix

    mccyberix New Member

    try sending an initial email to that account, before an email lands into the mailbox it won't let you login...
     
  4. rempfer

    rempfer New Member

    I had already done that. I followed falko's tutorial to the 'T'. I see several others have hit a roadblock at this point. Inasmuch as it was my third attempt to install, all three ending with this same error, I am going to try a different walkthru. Thanks anyway.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you should post the exact error messages that you got in the mail.log. We can not help you if you do not post any details abou the problem:

    http://www.howtoforge.com/forums/showthread.php?t=58408

    Btw: ther is no issue with the guide, I use it several times a week to install servers, plain copy & paste of the commands and the resilting setups always work out of the box.
     
  6. biglank

    biglank New Member

    logs show imapd: LOGIN then immediate imapd: LOGOUT

    I can't help but wonder if squirrelmail can't read the /home/vmail directory.

    I get an authenticated login followed by an immediate logout by the imapd daemon???

    I have checked and the welcome message is in the /home/vmail/cllsr.net/chris directory.

    my webpage just shows a blank page after logging in.

    my logs show:
    Jan 1 11:18:27 mail imapd: Connection, ip=[::1]
    Jan 1 11:18:27 mail authdaemond: received auth request, service=imap, authtype=login
    Jan 1 11:18:27 mail authdaemond: authmysql: trying this module
    Jan 1 11:18:27 mail authdaemond: authmysqllib: connected. Versions: header 50524, client 50533, server 50533
    Jan 1 11:18:27 mail authdaemond: SQL query: SELECT email, password, "", 5000, 5000, "/home/vmail", CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), quota, "", "" FROM users WHERE email = '[email protected]'
    Jan 1 11:18:27 mail authdaemond: password matches successfully
    Jan 1 11:18:27 mail authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, [email protected], fullname=<null>, maildir=cllsr.net/chris/, quota=20971520, options=<null>
    Jan 1 11:18:27 mail authdaemond: authmysql: clearpasswd=<null>, passwd=my_ENCRYPT_password
    Jan 1 11:18:27 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, [email protected], fullname=<null>, maildir=cllsr.net/chris/, quota=20971520, options=<null>
    Jan 1 11:18:27 mail authdaemond: Authenticated: clearpasswd=my_password, passwd=my_ENCRYPT_password
    Jan 1 11:18:27 mail imapd: LOGIN, [email protected], ip=[::1], port=[37591], protocol=IMAP
    Jan 1 11:18:27 mail imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=30, sent=392, time=0


    I have searched all my config files against this how-to and am not finding any discrepencies.
    I have an error in the apache2 access.log:
    192.168.100.172 - - [01/Jan/2014:11:17:06 -0600] "GET / HTTP/1.1" 200 474 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:11 -0600] "GET /webmail HTTP/1.1" 301 504 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:11 -0600] "GET /webmail/ HTTP/1.1" 302 309 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:11 -0600] "GET /webmail/src/login.php HTTP/1.1" 200 1906 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:11 -0600] "GET /webmail/images/wayout.png HTTP/1.1" 200 28439 "http://192.168.100.10/webmail/src/login.php" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:27 -0600] "POST /webmail/src/redirect.php HTTP/1.1" 302 2111 "http://192.168.100.10/webmail/src/login.php" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
    192.168.100.172 - - [01/Jan/2014:11:18:27 -0600] "GET /webmail/src/webmail.php HTTP/1.1" 500 681 "http://192.168.100.10/webmail/src/login.php" "Mozilla/5

    The last GET shows a "500" error which isn't much help.


    Any help would be appreciated.
     

Share This Page