Author: indian117 Date: To: exim-users Subject: [exim] Unable to open mailbox;
it may be locked by another concurrent session
Mar 5 22:20:14 ns2 tpop3d[1167]: connections_post_select: client [6]name@???(192.168.10.117): finished session
for `name@???' with mysql
Mar 5 22:20:14 ns2 tpop3d[1167]: connections_post_select: client [6]name@???(192.168.10.117): disconnected;
34/157 bytes read/written
/*telnet 127.0.0.1 110*/
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
ns2# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to localhost.test.ru.
Escape character is '^]'.
+OK <686c26ec3d78f24590feef7bdfbe884e@???>
user name@???
+OK Tell me your password.
pass mytest
-ERR Unable to open mailbox; it may be locked by another concurrent session.
Connection closed by foreign host.
In mail-client (The Bat) i've got- login: name@??? pass: mytest
plain authentication
/*tpop3d.conf*/
listen-address: 0.0.0.0
max-children: 1024
log-facility: mail
log-bad-passwords: yes
auth-mysql-enable: yes
auth-mysql-mail-group: mail
auth-mysql-hostname: localhost
auth-mysql-database: exim
auth-mysql-username: sqlmail
auth-mysql-password: mypass
auth-mysql-pass-query: SELECT CONCAT(home, '/Maildir'), CONCAT('{crypt}',crypt),'mail','maildir' FROM users WHERE
id = '$(local_part)' AND mbox_host = '$(domain)' AND active = 'Y'
/*Maildir*/
/home/vmail/domains/test.ru/test
/*output of telnet session*/
Trying 127.0.0.1...
Connected to localhost.test.ru.
Escape character is '^]'.
+OK <8379767be0d1bb7c119b7a5b5b9ccf8d@???>
user name
+OK Tell me your password.
pass mypass
-ERR Lies! Try again!
user name@???
+OK Tell me your password.
pass mypass
-ERR Unable to open mailbox; it may be locked by another concurrent session.
Connection closed by foreign host.
If i delete user mailbox, test passes, writes: "The mailbox is empty".
But if user got mail, then.... =(