ERROR: Connection dropped by IMAP server

Discussion in 'HOWTO-Related Questions' started by marmellata, Jul 19, 2009.

  1. marmellata

    marmellata New Member

    I found some post about that error, anyway still cant solve the problem when I try to log in into squirrelmail.

    log:

    Jul 19 16:45:08 mail imapd: Connection, ip=[::ffff:127.0.0.1]
    Jul 19 16:45:08 mail authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
    Jul 19 16:45:08 mail imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    Jul 19 16:45:08 mail imapd: authentication error: Input/output error

    may someone help me?
     
    Last edited: Jul 19, 2009
  2. marmellata

    marmellata New Member

  3. marmellata

    marmellata New Member

    in /etc/courier/authmysqlrc I have MYSQL_SERVER localhost but I do not have MYSQL_SOCKET.. anyway I checked everything many times and everything is correct! I just got some warnings with pear install DB,
    WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
    WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
    I didnt filled out the transport table but it is meaningless I think.


    can someone help me please?

    thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/courier/authmysqlrc? What's the output of
    Code:
    netstat -tap
    ?
     
  5. marmellata

    marmellata New Member

    Thanks for your answer, I'm out for work now but I will post the output later.. I remember anyway that following the tutorial: Postfix (master) listening on port 25 (smtp) and 10025, and amavisd-new on port 10024 ..was correct.

    Is it true that after I receive the first email then connection should works? is it a possible? is there a way to send locally (from mail server to mail server) a mail so I can check if it is true?

    I'm sorry I have many questions..

    Thanks for your support
     
  6. marmellata

    marmellata New Member

    hi again,
    this is the netstat output:

    mail:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdo:10024 *:* LISTEN 1707/amavisd (maste
    tcp 0 0 localhost.localdo:10025 *:* LISTEN 2310/master
    tcp 0 0 localhost.localdo:mysql *:* LISTEN 1771/mysqld
    tcp 0 0 *:48846 *:* LISTEN 1434/rpc.statd
    tcp 0 0 *:sunrpc *:* LISTEN 1412/portmap
    tcp 0 0 *:ssh *:* LISTEN 1678/sshd
    tcp 0 0 *:smtp *:* LISTEN 2310/master
    tcp 0 0 localhost.localdoma:831 *:* LISTEN 2351/famd
    tcp 0 300 mail.sialpe.com:ssh 192.168.0.2:52388 ESTABLISHED 2569/0
    tcp6 0 0 [::]:imaps [::]:* LISTEN 2219/couriertcpd
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 2237/couriertcpd
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 2225/couriertcpd
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 2207/couriertcpd
    tcp6 0 0 [::]:www [::]:* LISTEN 2407/apache2
    tcp6 0 0 [::]:ssh [::]:* LISTEN 1678/sshd

    In /etc/courier/authmysqlrc I have:

    mySQL_SERVER localhost
    MYSQL_USERNAME mail_admin
    MYSQL_PASSWORD ma5583/
    MYSQL_PORT 0
    MYSQL_DATABASE mail
    MYSQL_USER_TABLE users
    MYSQL_CRYPT_PWFIELD password
    #MYSQL_CLEAR_PWFIELD password
    MYSQL_UID_FIELD 5000
    MYSQL_GID_FIELD 5000
    MYSQL_LOGIN_FIELD email
    MYSQL_HOME_FIELD "/home/vmail"
    MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
    #MYSQL_NAME_FIELD
    MYSQL_QUOTA_FIELD quota
     
  7. falko

    falko Super Moderator ISPConfig Developer

    The MySQL password contains a special character. That might be the problem. Please change it.
     

Share This Page