[Dovecot] Dovecot & Postgres

Diona Kidd dkidd at modernflow.com
Sat Feb 11 20:12:35 EET 2006


Greetings,

I've been trying to configure Dovecot to work with Postgres following the
directions located at http://wiki.dovecot.org/DovecotPostgresql. I'm
receiving the error:

Starting mail server: dovecotFatal: Error in configuration file
/etc/dovecot/dovecot.conf line 204: Expecting '='

-----------------------------------------------
The line in question (204) is the 'auth default {'

Below is a copy of the relative lines:

default_mail_env = maildir:/home/%u/Maildir
auth default {
        passdb sql {
                args = /usr/local/etc/dovecot-pgsql.conf
        }

        userdb sql {
                args = /usr/local/etc/dovecot-pgsql.conf
        }
}

Can anyone give insight as to what the issue is? Additionally, I did try
downloading the latest version but the 'make' failed with:

../lib-sql/libsql.a(sql-drivers-register.o)(.text+0x9): In function
`sql_drivers_register_all':
/home/dkidd/dovecot-1.0.beta3/src/lib-sql/sql-drivers-register.c:6:
undefined reference to `driver_yes_db'

I've been googling, searching archives, etc. No luck. Any ideas?

Thanks.



More information about the dovecot mailing list