Topic: [SOLVED] dovecot-ldap + ADS 2
==== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version: iRedMail-0.7.3
- Linux/BSD distribution name and version: CentOS 6.0
====
Hello.
I have next problem - when I'm trying to connect to dovecot with telnet I get next:
telnet localhost 143
. login user@vdomain.tld USERPASS
* OK Waiting for authentication process to respond..
. NO [UNAVAILABLE] Temporary authentication failure.
* BYE Disconnected for inactivity.
in /var/log/dovecot.log :
Nov 29 12:46:29 auth: Error: mysql(127.0.0.1): Connect failed to database (vmail): Access denied for user 'vmail'@'localhost' (using password: YES) - waiting for 1 seconds before retry
...
Nov 29 12:47:00 auth: Error: mysql(127.0.0.1): Connect failed to database (vmail): Access denied for user 'vmail'@'localhost' (using password: YES) - waiting for 125 seconds before retry
Nov 29 12:47:13 auth: Error: mysql: Query timed out (no free connections for 60 secs): SELECT CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='www@vdomain.tld' AND mailbox.domain='vdomain.tld' AND mailbox.enablelda=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Nov 29 12:47:13 auth: Error: sql(www@vdomain.tld): User query failed: Not connected to database
Nov 29 12:47:13 auth: Error: auth worker: Aborted request: Lookup timed out
Nov 29 12:47:13 auth: Error: auth worker: Aborted request: Lookup timed out
Nov 29 12:47:13 auth: Error: mysql: Query timed out (no free connections for 60 secs): SELECT CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='www@vdomain.tld' AND mailbox.domain='vdomain.tld' AND mailbox.enablelda=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Nov 29 12:47:13 auth: Error: sql(www@vdomain.tld): User query failed: Not connected to database
Nov 29 12:47:13 auth: Error: mysql(127.0.0.1): Connect failed to database (vmail): Access denied for user 'vmail'@'localhost' (using password: YES) - waiting for 1 seconds before retry
...
Nov 29 12:47:29 auth: Error: mysql: Query timed out (no free connections for 60 secs): SELECT password FROM mailbox WHERE username='user@vdomain.tld' AND active='1'
Nov 29 12:47:29 auth: Error: sql(user@vdomain.tld,127.0.0.1): Password query failed: Not connected to database
Nov 29 12:47:44 auth: Error: mysql(127.0.0.1): Connect failed to database (vmail): Access denied for user 'vmail'@'localhost' (using password: YES) - waiting for 125 seconds before retry
Nov 29 12:49:18 imap-login: Info: Disconnected: Inactivity (auth failed, 1 attempts): user=<user@vdomain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov 29 12:49:50 auth: Error: mysql(127.0.0.1): Connect failed to database (vmail): Access denied for user 'vmail'@'localhost' (using password: YES) - waiting for 625 seconds before retry
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| iredadmin |
| mysql |
| roundcubemail |
| test |
+--------------------+
There in no DB vmail...
What should I do to resolv it?
Thanks.==== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.