Dovecot database driver


















 · I’ve been setting up a Postfix/Dovecot solution on a linux Fedora 9 machine and ran into this problem. A little snooping around led to this solution: Dovecot requires the dovecot-mysql packag. On CentOS 6 is necessary to install not only the dovecot package, but also the additional modules, in this case the package dovecot-pgsql is also needed for postgresql support. The right syntax for the driver line in /etc/dovecot/conf.d/www.doorway.ru is: driver = sqlReviews: 2. If you’re using Dovecot’s deliver you’ll still need to have the user_query working. See Prefetch User Database for example configuration. High availability ¶ You can add multiple host parameters to the SQL connect string. Dovecot will do round robin load balancing between them. If one of them goes down, the others will handle the traffic.


Run: /path/to/v/dovecot --build-options | tail -n4 Shows which SQL drivers are available, if any. And if userdb/passdb can use sql dbs. Regards. On CentOS 6 is necessary to install not only the dovecot package, but also the additional modules, in this case the package dovecot-pgsql is also needed for postgresql support. The right syntax for the driver line in /etc/dovecot/conf.d/www.doorway.ru is: driver = sql. You have misconfigured passdb and userdb sections of the dovecot config: Place. driver = sql. instead of. driver = mysql. Share. Improve this answer. Follow this answer to receive notifications. edited Sep 18 '16 at


make mysql ready, and create database postfix (or whatever the name you want), passdb { driver = sql args = /etc/dovecot/www.doorway.ru } userdb. Be aware that if you already have aliasdomains and want to switch to the dovecot 's sql driver, you must populate the database adding a record for each. SQL can be used for both passdb and userdb lookups. If the args parameter in passdb sql and userdb sql contain the exact same filename, only one SQL connection.

0コメント

  • 1000 / 1000