[Dovecot] Unknown setting: driver
Hi,
the conversion from courier was done without problems, but now I have a problem with my auth config. I followed the sql example included in the latest dovecot source, and put
driver=mysql
in dovecot.conf (outside any section), and now I get:
Error: Error in configuration file /usr/local/etc/dovecot.conf line 50: Unknown setting: driver Fatal: Invalid configuration in /usr/local/etc/dovecot.conf Starting DovecotError: Error in configuration file /usr/local/etc/dovecot.conf line 50: Unknown setting: driver Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
So I'm lost... what's wrong? if I followed the example :o
Then, another question: I had to go back to courier so my users still can work, but I already created the files using the migration script: do I need to rerun the migration script? or what do I need to do when I manage to fix the error above and run dovecot?
Thanks.
Hi,
I followed the sql example included in the latest dovecot source, and put
driver=mysql
in dovecot.conf (outside any section)
copy the sql-settings to an extra file (e.g. "dovecot-sql.conf") and reference this file as passdb and/or userdb:
http://wiki.dovecot.org/Authentication/MultipleDatabases http://wiki.dovecot.org/UserDatabase/Prefetch
On Mon, 2009-10-19 at 16:37 -0500, Rodolfo González González wrote:
the conversion from courier was done without problems, but now I have a problem with my auth config. I followed the sql example included in the latest dovecot source, and put
driver=mysql
in dovecot.conf (outside any section), and now I get:
Why did you think about putting the driver to dovecot.conf? Someone else recently just did the same thing. Is some documentation related to this written badly?
Then, another question: I had to go back to courier so my users still can work, but I already created the files using the migration script: do I need to rerun the migration script? or what do I need to do when I manage to fix the error above and run dovecot?
Run the migration script again with --overwrite parameter.
participants (3)
-
Anton Dollmaier
-
Rodolfo González González
-
Timo Sirainen