[Dovecot] logs show two connections to database even though using static driver
hi,
im using:
passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext }
userdb { driver = static args = uid=vmail gid=vmail home=/home/vmail/%d/ mail=mdbox:/home/vmail/%d/%n }
this works fine on a test machine but i still see *2* instead of 1 connections to the pgsql db before a successful login is logged.. how can i avoid these extra connections?:
Apr 17 11:34:49 merlin dovecot: auth: pgsql(localhost): Connected to database users Apr 17 11:34:50 merlin dovecot: auth: pgsql(localhost): Connected to database users Apr 17 11:34:50 merlin dovecot: imap-login: Login: user=<gary@example.org>, ...
On Sun, 2011-04-17 at 11:41 -0400, Gary Chodos wrote:
passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext }
this works fine on a test machine but i still see *2* instead of 1 connections to the pgsql db before a successful login is logged.. how can i avoid these extra connections?:
What Dovecot version? What is in dovecot-sql.conf.ext's connect setting?
On Wed, Apr 20, 2011 at 11:19 AM, Timo Sirainen <tss@iki.fi> wrote:
On Sun, 2011-04-17 at 11:41 -0400, Gary Chodos wrote:
passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext }
this works fine on a test machine but i still see *2* instead of 1 connections to the pgsql db before a successful login is logged.. how can i avoid these extra connections?:
What Dovecot version? What is in dovecot-sql.conf.ext's connect setting?
It's 2.0.11 but I cannot reproduce the problem after returning to this issue today... sorry for the noise.
participants (2)
-
Gary Chodos
-
Timo Sirainen