[Dovecot] strange behaviour: connecting to mysql, but no queries after upgrade on ubuntu...
hi all,
I'm having trouble using dovecot with mysql after upgrading to 1.0.beta3 on ubuntu. according to the mysql log, dovecot connects but doesn't issue any queries..
any hints what might be wrong or where I should look?
Cheers,
Nikl
I'm seeing the same behavior under Debian Sid. (First time I've tried it, so I don't know whether the problem is connected to a particular update.)
I can make an imap connection using passwd-file authentication. When I switch to mysql, the mysql log shows a connection when dovecot starts but no further activity. The reply to the imap client is NO Temporary authentication failure.
In the mail.log, I see:
Jun 16 06:25:57 server dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Ilip=192.168.1.2^Irip=192.168.1.3^Iresp=AGd1ZXN0QHNhZHQuY29tAGZvbw== Jun 16 06:25:57 server dovecot: child 4951 (auth-worker) killed with signal 11 Jun 16 06:25:57 server dovecot: auth(default): client out: FAIL^I1^Iuser=foo@sample.com^Itemp Jun 16 06:25:57 server dovecot: imap-login: Aborted login: user=<foo@sample.com>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.3
Any clues?
On 2006-06-16 17:07:11 -0400, Don Strayer wrote:
Jun 16 06:25:57 server dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Ilip=192.168.1.2^Irip=192.168.1.3^Iresp=AGd1ZXN0QHNhZHQuY29tAGZvbw== Jun 16 06:25:57 server dovecot: child 4951 (auth-worker) killed with signal 11 Jun 16 06:25:57 server dovecot: auth(default): client out: FAIL^I1^Iuser=foo@sample.com^Itemp Jun 16 06:25:57 server dovecot: imap-login: Aborted login: user=<foo@sample.com>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.3 ^I are normally tabs ... why do you have tabs in your stuff?
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Sat, Jun 17, 2006 at 01:53:41AM +0200, Marcus Rueckert wrote:
On 2006-06-16 17:07:11 -0400, Don Strayer wrote:
Jun 16 06:25:57 server dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Ilip=192.168.1.2^Irip=192.168.1.3^Iresp=AGd1ZXN0QHNhZHQuY29tAGZvbw== Jun 16 06:25:57 server dovecot: child 4951 (auth-worker) killed with signal 11 Jun 16 06:25:57 server dovecot: auth(default): client out: FAIL^I1^Iuser=foo@sample.com^Itemp Jun 16 06:25:57 server dovecot: imap-login: Aborted login: user=<foo@sample.com>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.3 ^I are normally tabs ... why do you have tabs in your stuff?
darix
I don't know. I haven't tinkered with login_log_format_elements or anything related in dovecot.conf.
By the way, that appears in the log as two characters, "^" and "I", not Control-I.
Here's my /etc/dovecot/dovecot.conf with all the comments stripped out:
protocols = imap imaps ssl_disable = yes disable_plaintext_auth = no log_timestamp = "%Y-%m-%d %H:%M:%S " mail_extra_groups = mail default_mail_env = maildir:/var/mail/%d/%n
protocol imap { }
protocol pop3 { }
auth_verbose = yes auth_debug = yes auth_debug_passwords = yes
auth default { mechanisms = plain login
passdb sql { args = /etc/dovecot/dovecot-mysql.conf }
userdb static { args = uid=5000 gid=5000 home=/var/mail/%d/%n }
user = root }
plugin { }
Here's my /etc/dovecot/dovecot-mysql.conf:
driver = mysql connect = host=localhost port=3306 user=dovecot password=xxxx dbname=maildb default_pass_scheme = PLAIN password_query = SELECT password FROM users WHERE id = '%u'
hi,
I'm seeing the same behavior under Debian Sid. (First time I've tried it, so I don't know whether the problem is connected to a particular update.)
on the ubuntu-box where I had this problem, it has been fixed:
https://launchpad.net/distros/ubuntu/+source/dovecot/+bug/49601
on debian I haven't had this error ...
cheers,
Nikl
On Fri, 2006-06-16 at 17:07 -0400, Don Strayer wrote:
Jun 16 06:25:57 server dovecot: child 4951 (auth-worker) killed with signal 11
This patch will probably help you:
http://dovecot.org/list/dovecot-cvs/2006-June/005793.html
I'll also release a new Dovecot version soon.
On Sat, Jun 17, 2006 at 06:25:03PM +0300, Timo Sirainen wrote:
On Fri, 2006-06-16 at 17:07 -0400, Don Strayer wrote:
Jun 16 06:25:57 server dovecot: child 4951 (auth-worker) killed with signal 11
This patch will probably help you:
http://dovecot.org/list/dovecot-cvs/2006-June/005793.html
I'll also release a new Dovecot version soon.
The latest update to dovecot-common in Debian Sid (1.0.beta8-4) appears to fix the problem.
Many thanks for a fine piece of software.
participants (4)
-
dstrayer@sadt.com
-
Marcus Rueckert
-
Nikolaus Schlemm
-
Timo Sirainen