Gary Chodos
2011-Apr-17 15:41 UTC
[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 at
example.org>, ...
Timo Sirainen
2011-Apr-20 15:19 UTC
[Dovecot] logs show two connections to database even though using static driver
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?
Apparently Analagous Threads
- lmtp logging incomplete (does not tell what mailbox mail is actually being saved to!)
- INBOX empty after dsync
- Redundant Database, Pgsql ?
- Dovecot pgsqlauthentication database reconnection/failover problem
- dovecot: auth(default): Fatal: Unknown database driver 'mysql'