Il 21/02/2013 16:34, Timo Sirainen ha scritto:> Please test and report any bugs found!
Hi,
I'm running dovecot 2.2b2 , for the first time, with vpopmail-auth and
works fine.
But I found this bug, also present in 2.1.15. When I enable dict quota
with mysql and in dovecot DB there is no entry for the user, dovecot
waits 3 minutes and 30 seconds before create the entry and close telnet
session:
Feb 22 11:45:26 demo-vpop dovecot: pop3-login: Login:
user=<test at alessio.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=18132, secured, session=<6R6m403WlAB/AAAB>
Feb 22 11:45:32 demo-vpop dovecot: pop3(test at alessio.com): Disconnected:
Logged out top=0/0, retr=0/0, del=1/21, size=9828
Feb 22 11:45:32 demo-vpop dovecot: dict: mysql(localhost): Connected to
database dovecot
Feb 22 11:46:02 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:46:32 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:47:02 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:47:32 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:48:02 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:48:32 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 11:49:02 demo-vpop dovecot: pop3(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
# telnet 0 110
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
+OK Dovecot ready.
user test at alessio.com
+OK
pass ciao
+OK Logged in.
[...]
21 468
.
dele 21
+OK Marked to be deleted.
quit
+OK Logging out, messages deleted.
[ here is waiting for logout 3 minutes]
Connection closed by foreign host.
LDA as the same problem:
Feb 22 12:09:00 demo-vpop dovecot: master: Dovecot v2.2.beta2 starting
up (core dumps disabled)
Feb 22 12:09:02 demo-vpop dovecot: lda(test at alessio.com):
msgid=<20130222110902.20244.qmail at demo-vpop.alessio.com>: saved mail to
INBOX
Feb 22 12:09:02 demo-vpop dovecot: dict: mysql(localhost): Connected to
database dovecot
Feb 22 12:09:32 demo-vpop dovecot: lda(test at alessio.com): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 12:10:02 demo-vpop dovecot: lda(ale at alessio.it): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 seconds
Feb 22 12:10:32 demo-vpop dovecot: lda(ale at alessio.it): Error:
read(/usr/local/dovecot-2.2/var/run/dovecot/dict) failed: Timeout after
30 second
Here is my configuration:
# dovecot -n
# 2.2.beta2: /usr/local/dovecot-2.2/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6
default_login_user = dovecot
dict {
quota =
mysql:/usr/local/dovecot-2.2/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_gid = 89
first_valid_uid = 89
last_valid_gid = 89
last_valid_uid = 89
mail_location = maildir:~/Maildir
mail_plugins = quota
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
namespace inbox {
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix }
passdb {
driver = vpopmail
}
plugin {
quota = maildir:User quota
quota2 = dict:User dict::proxy::quota
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
service auth {
unix_listener auth-userdb {
group = vchkpw
mode = 0660
user = vpopmail
}
}
service dict {
unix_listener dict {
group = vchkpw
mode = 0600
user = vpopmail
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = quota_template=quota_rule=*:backend=%q
driver = vpopmail
}
protocol imap {
mail_plugins = quota imap_quota
}
I hope can be fixed.
Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it