[Dovecot] logs show two connections to database even though using static driver

Gary Chodos gchodos at gmail.com
Sun Apr 17 18:41:27 EEST 2011


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>, ...


More information about the dovecot mailing list