View Single Post
  #1  
Old 22nd March 2013, 12:06
dayharder dayharder is offline
Junior Member
 
Join Date: Mar 2013
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default ISP Config 3,dovecot,centos 6.4 squirel mail cannot login

Please Can help with this error "ERROR: Connection dropped by IMAP server."
i follow this tutorial
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

MY MAIL LOG
Code:
Mar 22 17:50:11 srv1 postfix/smtpd[5236]: fatal: no SASL authentication mechanisms
Mar 22 17:50:12 srv1 postfix/master[4808]: warning: process /usr/libexec/postfix/smtpd pid 5236 exit status 1
Mar 22 17:50:12 srv1 postfix/master[4808]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 22 17:50:31 srv1 dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=5235, input bytes=0
Mar 22 17:50:44 srv1 dovecot: auth: Error: Can't open configuration file /etc/dovecot-sql.conf: No such file or directory
Mar 22 17:50:44 srv1 dovecot: log: Error: service(auth): child 5263 returned error 89 (Fatal failure)
Mar 22 17:50:44 srv1 dovecot: master: Error: service(auth): command startup failed, throttling
Mar 22 17:51:14 srv1 dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=5235, input bytes=0
Mar 22 17:51:14 srv1 dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=5264, input bytes=0
Mar 22 17:51:44 srv1 dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=5235, input bytes=0
Mar 22 17:51:44 srv1 dovecot: auth: Error: Can't open configuration file /etc/dovecot-sql.conf: No such file or directory
Mar 22 17:51:44 srv1 dovecot: log: Error: service(auth): child 5284 returned error 89 (Fatal failure)
Mar 22 17:51:44 srv1 dovecot: master: Error: service(auth): command startup failed, throttling
Mar 22 17:51:59 srv1 dovecot: master: Warning: Killed with signal 15 (by pid=5290 uid=0 code=kill)
Mar 22 17:51:59 srv1 dovecot: imap-login: Disconnected: Shutting down (no auth attempts): rip=::1, lip=::1, secured
Mar 22 17:52:00 srv1 dovecot: pop3-login: Error: auth: connect(login) failed: Connection refused
Mar 22 17:52:02 srv1 dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
Mar 22 17:52:29 srv1 dovecot: pop3-login: Disconnected: Shutting down (no auth attempts): rip=::1, lip=::1, secured
Mar 22 17:52:47 srv1 dovecot: auth: Error: Can't open configuration file /etc/dovecot-sql.conf: No such file or directory
Mar 22 17:52:47 srv1 dovecot: log: Error: service(auth): child 5343 returned error 89 (Fatal failure)
Mar 22 17:52:47 srv1 dovecot: master: Error: service(auth): command startup failed, throttling
MY DOVECOT-n
Code:
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
passdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve = /var/vmail/%d/%n/.sieve
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
userdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  mail_plugins = sieve quota
}
[root@srv1 ~]# nano maillog
[root@srv1 ~]# nano /var/log/maillog
[root@srv1 ~]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.2.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
passdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve = /var/vmail/%d/%n/.sieve
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
userdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  mail_plugins = sieve quota
}
MY Netstat-tap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:pop3                      *:*                         LISTEN      5319/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      5319/dovecot
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1307/rpcbind
tcp        0      0 *:ftp                       *:*                         LISTEN      4851/pure-ftpd (SER
tcp        0      0 srv1.angsonly.web.id:domain *:*                         LISTEN      1284/named
tcp        0      0 localhost:domain            *:*                         LISTEN      1284/named
tcp        0      0 *:ssh                       *:*                         LISTEN      4567/sshd
tcp        0      0 localhost:ipp               *:*                         LISTEN      4445/cupsd
tcp        0      0 *:smtp                      *:*                         LISTEN      4808/master
tcp        0      0 localhost:rndc              *:*                         LISTEN      1284/named
tcp        0      0 *:imaps                     *:*                         LISTEN      5319/dovecot
tcp        0      0 *:40897                     *:*                         LISTEN      1325/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      5319/dovecot
tcp        0      0 localhost:10025             *:*                         LISTEN      4808/master
tcp        0      0 *:mysql                     *:*                         LISTEN      4705/mysqld
tcp        0    484 srv1.angsonly.web.id:ssh    27.111.43.1:61079           ESTABLISHED 5143/sshd
tcp        0      0 *:pop3                      *:*                         LISTEN      5319/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      5319/dovecot
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1307/rpcbind
tcp        0      0 *:webcache                  *:*                         LISTEN      4841/httpd
tcp        0      0 *:http                      *:*                         LISTEN      4841/httpd
tcp        0      0 *:tproxy                    *:*                         LISTEN      4841/httpd
tcp        0      0 *:37393                     *:*                         LISTEN      1325/rpc.statd
tcp        0      0 *:ftp                       *:*                         LISTEN      4851/pure-ftpd (SER
tcp        0      0 *:domain                    *:*                         LISTEN      1284/named
tcp        0      0 *:ssh                       *:*                         LISTEN      4567/sshd
tcp        0      0 localhost:ipp               *:*                         LISTEN      4445/cupsd
tcp        0      0 *:smtp                      *:*                         LISTEN      4808/master
tcp        0      0 localhost:rndc              *:*                         LISTEN      1284/named
tcp        0      0 *:https                     *:*                         LISTEN      4841/httpd
tcp        0      0 *:imaps                     *:*                         LISTEN      5319/dovecot
tcp        0      0 *:pop3s                     *:*                         LISTEN      5319/dovecot
tcp        1      0 localhost:pop3              localhost:54043             CLOSE_WAIT  5681/dovecot/pop3-l
tcp        0      0 localhost:54043             localhost:pop3              FIN_WAIT2   -
tcp        0      0 localhost:35794             localhost:http              TIME_WAIT   -
tcp        0      0 localhost:50344             localhost:ftp               TIME_WAIT   -
tcp        0      0 localhost:56307             localhost:imap              TIME_WAIT   -
tcp        0      0 localhost:34670             localhost:smtp              TIME_WAIT   -
please help me with the problem, sory if my english not good
Reply With Quote
Sponsored Links