[Dovecot] dovecot-sql.conf - Unknown setting: driver

Peer Heinlein p.heinlein at heinlein-support.de
Sat Apr 27 21:00:53 EEST 2013


Am 27.04.2013 19:54, schrieb Jeff Lacki:


> doveconf: Fatal: Error in configuration file /opt/dovecot221/etc/dovecot/conf.d/dovecot-sql.conf line 2: Unknown setting: driver

"driver =" doesn't belong to the normal dovecot configuration. It should
be located in a seperate file called dovecot-sql.conf.ext which is
referred (and not included!) by the passdb and userdb-setting:

passdb {
  driver = sql

  # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext
  args = /etc/dovecot/dovecot-sql.conf.ext
}

> dovecot-sql.conf:

Per Default /etc/dovecot/conf.d/*.conf is included into the main config,
so this is why those files should be named as "*.conf.ext" and not as
"*.conf"

Place it outside conf.d or rename it.


Peer


-- 
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

http://www.heinlein-support.de

Tel: 030 / 405051-42
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin


More information about the dovecot mailing list