HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ISP Config 3,dovecot,centos 6.4 squirel mail cannot login (http://www.howtoforge.com/forums/showthread.php?t=61078)

dayharder 22nd March 2013 12:06

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

dakotrade 22nd March 2013 19:12

1. Install and configure mailman service.
2. Re-update ispconfig 3. (manual update)

Manual update instructions:
cd /tmp
wget http://www.ispconfig.org/downloads/I...-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php

Hairy 23rd March 2013 20:14

The reason that it doesn't work is because the installation guide is written incorrectly.

If you type the 2 lines that I describe in this thread:
http://www.howtoforge.com/forums/showthread.php?t=61074

Then, your dovecot will work, hence allowing you to sign into your email account using Squirrelmail (assuming you have made a valid email address).

Also note that the installation guide incorrectly shows how to setup Courier in the pictures for squirrelmail, but you really should be selecting the dovecot option in squirrelmail.

Also note that if you are following this installation guide, there will be numerous other things that don't work in your 'perfect server.'

Here are some links that tell how to fix some more of the errors that you will encounter as well:
http://www.howtoforge.com/forums/showthread.php?t=61091
http://www.howtoforge.com/forums/showthread.php?t=61088

And last, but the only one I can't figure out yet is this one:
http://www.howtoforge.com/forums/showthread.php?t=61082

Alas, also note that on step number 16 Install PureFTPd, you should install the openssl, then install the pure-ftpd. I have no idea why this certificate is installed in /etc/ssl/private/, but it will never be used by your server. Your server will use the one that is automatically created for you when you installed pure-ftpd. It is in the directory /etc/pki/pure-ftpd.

dayharder 25th March 2013 03:44

many thanks
 
thank a lot guys thats realy work


All times are GMT +2. The time now is 14:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.